dependency_auditor__audit_npm
Scan npm dependencies for known CVEs using the OSV database. Reads lock files for exact versions, falling back to package.json ranges.
Instructions
Audit npm dependencies for known CVEs using the OSV database. Reads exact versions from package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock (v1 and berry) or bun.lock, falling back to package.json ranges
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Path to the directory containing package.json | |
| exploitData | No | Add CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only) | |
| includeDevDeps | No | Include devDependencies in the audit (default: false) |