Skip to content
Bugsieve
Security guides

How to read npm audit output

Updated October 13, 2026

npm audit checks your installed packages against known vulnerabilities. On a real project it can print hundreds of lines. Knowing how to read it saves hours.

The lines that matter

  • Package and range: which package and which versions are affected.
  • Severity: low, moderate, high or critical. This is how bad the flaw could be, not how likely it is to hit you.
  • Path: how the package got into your project. A path through other packages means a transitive dependency.
  • Fix available: whether upgrading helps. "Fix available via npm audit fix --force" often means a breaking major upgrade, so read before running it.

What to fix first

Many alerts are in development tools that never ship to users, or in code paths you do not call. Start with runtime dependencies and with flaws that are known to be exploited. Check a CVE with the CVE lookup or see CISA KEV.

Getting a ranked list

Bugsieve scans the same lock file and sorts by exploitation, then severity. See scanning npm dependencies.

More guides