Package vulnerability check: known CVEs and advisories for npm, PyPI, Go, Maven, Cargo and more
package_vulnerabilitiesCheck dependencies for known vulnerabilities before installing or shipping: up to 20 packages (npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, Packagist and more, by name and version or purl) against the OSV.dev database. Returns each advisory with CVE IDs, severity and CVSS score, fixed versions, the smallest safe upgrade, and links. Not charged for invalid input or if OSV.dev can't be reached. Paid via x402; see list_prices.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "package_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | For a single package: its name. | |
| purl | No | Or a package URL, e.g. pkg:npm/lodash@4.17.15. | |
| version | No | For a single package: one exact version (no ranges). | |
| packages | No | Up to 20 packages: {"ecosystem": "npm", "name": "lodash", "version": "4.17.15"} or {"purl": "pkg:npm/lodash@4.17.15"}. | |
| ecosystem | No | For a single package: npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, Packagist, Pub, Hex... |