Dependency vulnerability batch check: up to 20 npm, PyPI, Go, Cargo packages in one call (OSV.dev)
package_vulnerabilities_batchUse when an agent must scan a project's dependencies before install, upgrade or merge. Input: packages, up to 20 ecosystem:name@version, comma-separated (npm, pypi, go, cargo/crates.io, maven, nuget...). Output: JSON summary (vulnerable count, critical/high/moderate/low), per package vulnerable yes/no, counts, top advisories with CVE, severity, fixed versions, osv.dev links. Data: OSV.dev, CC BY 4.0. Example: ?packages=npm:lodash@4.17.15,pypi:django@3.2.0 Price: $0.0045 USDC (Base or Solana) via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packages": "<packages>"
},
"name": "package_vulnerabilities_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | 1-20 packages as ecosystem:name@version, comma-separated (npm:lodash@4.17.15, pypi:django@3.2.0, go:golang.org/x/net@0.17.0, cargo:time@0.1.45) | |
| ecosystem | No | Default ecosystem for items written as name@version |