Skip to main content

npm Audit Parser

Paste the output of npm audit --json to get a vulnerability summary grouped by severity, with affected packages and fix commands. Runs entirely in your browser.

✓ Severity breakdown ✓ Affected packages listed ✓ Fix commands generated

Frequently Asked Questions

How do I get npm audit JSON output?▼

Run `npm audit --json` in your project directory. This outputs a machine-readable JSON object with all vulnerabilities. Pipe it to a file with `npm audit --json > audit.json` or paste the output directly into this tool.

What do the severity levels mean?▼

npm audit uses four severity levels: critical (CVSS 9.0-10.0, immediate action required), high (7.0-8.9, fix soon), moderate (4.0-6.9, fix when able), low (0.1-3.9, fix at convenience). Critical and high severities are generally the most urgent to address.

What is a direct vs transitive dependency?▼

A direct dependency is a package you explicitly listed in package.json. A transitive (indirect) dependency is a package that one of your dependencies depends on. Many vulnerabilities are in transitive dependencies, which require upgrading the parent package or using npm audit fix --force.

What does 'npm audit fix' do?▼

It automatically updates packages to the minimum version that fixes the vulnerability, as long as the update is semver-compatible (not a major version bump). For fixes requiring major version bumps, you need `npm audit fix --force` — but this may introduce breaking changes.

What is a GHSA advisory number?▼

GHSA stands for GitHub Security Advisory. Each vulnerability gets a GHSA-xxxx-xxxx-xxxx identifier that you can look up at github.com/advisories for full details, affected versions, and patches. npm audit output includes these identifiers for easy cross-referencing.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →