Lion Cipher Lab

Scan your dependencies for known vulnerabilities

Why it matters

Almost none of the code in a modern application is code you wrote. When you run 'npm install' or 'pip install', you pull in a handful of libraries you chose -- and those libraries pull in libraries of their own, which pull in more, until a small project quietly depends on hundreds of packages maintained by strangers. That borrowed code runs with the same privileges as yours, so a security flaw in any one of it becomes a flaw in your app. When such a flaw is discovered, it is written up as a CVE -- a Common Vulnerabilities and Exposures record, the public, numbered entry that describes a…

What you'll learn

Steps in this lab

  1. The uncomfortable truth: most of your code is not yours
  2. The vocabulary: CVE, advisory database, and SCA
  3. Open a terminal and go to your project
  4. Node path: run npm audit and read the report
  5. Python path: run pip-audit and read the report
  6. Fix a finding by upgrading -- then test
  7. Make it automatic and broaden your reach
  8. The honest limits -- and why this habit still wins

Open the full interactive lab →