npm: Audit Dependencies
npm_audit_dependenciesCheck exact package versions against npm's security advisories and return only packages with known vulnerabilities. No npm token needed.
Instructions
Check a set of package versions against npm's security advisories — the same data npm audit uses, queried directly. Takes a flat map of package name to the versions you have installed, and returns only the packages with advisories against them. Needs no npm token, so it works on an otherwise unconfigured server. The references field is stripped from each advisory: it is about 1.5 KB of markdown links apiece, and url already points at the write-up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dependencies | Yes | Installed versions per package, e.g. {"lodash": ["4.17.20"], "minimist": ["1.2.0", "0.0.8"]}. Exact versions, not ranges — an advisory match is computed against the version you actually have. |