npm-guardian ๐Ÿ›ก๏ธ

Vet an npm package for supply-chain attacks before you run npm install.
MCP serverx402 pay-per-callread-onlyUSDC ยท Basedeep tarball scanknown CVEs ยท OSV

Give it a package name, get a SAFE / SUSPICIOUS / DANGEROUS verdict with an explained risk score โ€” combining published CVE/GHSA advisories with behavioural red flags that plain CVE scanners miss.

What it catches

๐Ÿ›ก๏ธ Known CVEscross-checks the exact version against published CVE/GHSA advisories via OSV.dev, with the precise fixed version to upgrade to
๐ŸŽฏ Typosquattingnames 1โ€“2 edits from popular packages (lodahsโ†’lodash, the 2026 easy-day-jsโ†’dayjs campaign)
๐Ÿ’€ Install scriptspostinstall hooks piping remote downloads into a shell, spawning processes, eval, base64 droppers
๐Ÿ”‘ Exfiltrationscripts reading AWS/GITHUB/NPM_TOKEN/PRIVATE_KEY or touching ~/.ssh, ~/.aws, .npmrc, wallet.dat
๐Ÿ†• Low trustfreshly-published, no maintainers, no repo, deprecated, dependency-confusion

Free HTTP API

GET /audit?name=express
GET /audit?name=expres        # โ†’ SUSPICIOUS, typosquat of "express"
GET /audit_many?names=react,axios,lodash

Try it: /audit?name=express ยท /audit?name=expres

MCP server (free)

{
  "mcpServers": {
    "npm-guardian": { "command": "npx", "args": ["-y", "npm-guardian-mcp"] }
  }
}

Or connect over HTTP at POST /mcp. Tools: audit_npm_package, audit_many.

Unlock /pro โ€” two ways to pay

The deep /pro/* audit has two payment lanes that coexist โ€” pick whichever fits you, both unlock the same deep tarball scan.

๐Ÿ’ณ Card (Stripe)For humans/teams. Buy a prepaid API key at /pro/checkout, then send Authorization: Bearer <key> (or set NPM_GUARDIAN_KEY in your MCP config).
๐Ÿช™ x402 (USDC)For AI agents with a wallet. Pays $0.02 USDC per call automatically โ€” no sign-up, no key. Settles on-chain on Base.
GET /pro/audit?name=<pkg>        # 402 (shows BOTH lanes) โ†’ pay โ†’ result
GET /pro/audit_many?names=...    # up to 50 packages