scan_vulnerabilities
Check an npm package version against the OSV advisory database to identify CVEs and security advisories before installing or upgrading.
Instructions
Scan an npm package version against the OSV advisory database (api.osv.dev) for CVEs and security advisories.
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>",
"version": "<version>"
},
"name": "scan_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | npm package name | |
| version | Yes | exact version to scan | |
| ecosystem | No | ecosystem identifier | npm |