package_advisories
Free tier: 25 calls/day per IP with header X-Free-Call: 1 (or ?free=1), then pay per call. Check a package before installing it: known vulnerabilities for one npm, PyPI, cargo, Go or Maven package version (OSV.dev), fixed-in version, latest version and release date, licence, deprecated flag, and a safe, caution or avoid verdict with reasons. Version defaults to latest. Price $0.005 USDC per call via x402. Example output: {"ecosystem":"npm","name":"lodash","version":"4.17.20","version_checked":"requested","verdict":"avoid","reasons":["5 known advisories affect this version (worst: high)","a newer version exists"],"vulnerabilities":{"count":5,"by_severity":{"HIGH":2,"MODERATE":3},"items":[{"id":"GHSA-29mw-wpgm-hmr9","
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>"
},
"name": "package_advisories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free | No | Use the shared free allowance (25 successful calls per IP per UTC day across eligible tools). Defaults to false. | |
| name | Yes | Package name, e.g. lodash or requests (maven: group:artifact) | |
| version | No | Optional. Defaults to the latest version | |
| ecosystem | Yes | Package ecosystem |