List known vulnerabilities of a package version
vulnsKnown vulnerabilities of one package version in the OSV database: npm, PyPI, crates.io, Go or Maven. Each advisory has its id, CVE aliases, summary, severity, fixed versions and a link. The count is the full number; up to 20 are listed. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": {
"ecosystem": "<ecosystem>",
"name": "<name>",
"version": "<version>"
},
"name": "vulns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name | |
| version | Yes | Exact version, e.g. 4.17.20 | |
| ecosystem | Yes | npm, PyPI, crates.io, Go or Maven |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | ||
| count | No | ||
| source | No | ||
| version | No | ||
| checkedAt | No | ||
| ecosystem | No | ||
| vulnerabilities | No |