Open-source package vulnerabilities: package@version to CVEs, severity, fixed versions
package_vulnerabilitiesUse when an agent must check a dependency before installing or upgrading: is this exact package version vulnerable? Input: package, ecosystem (npm, PyPI, Go, Maven, crates.io, NuGet, RubyGems, Packagist...), version. Output: JSON vulnerable yes/no, counts by severity, advisories (GHSA/CVE id, summary, severity, CVSS, CWE, fixed versions, links). Data: OSV.dev. Use instead: package_vulnerabilities_batch for many dependencies; dev_package for maintenance and health. Example: ?package=lodash&ecosystem=npm&version=4.17.15 Price: $0.003 per call, paid in USDC (Base, Monad, Polygon, Arbitrum 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": {
"package": "<package>",
"ecosystem": "<ecosystem>",
"version": "<version>"
},
"name": "package_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Package name as in its registry (Go: module path; Maven: group:artifact) | |
| version | Yes | Exact released version | |
| ecosystem | Yes | Package ecosystem (case-insensitive; pip/python, cargo/rust, composer, gem also accepted) |