Check npm package vulnerabilities
check_package_vulnerabilitiesCheck a specific npm package version for known security vulnerabilities via OSV.dev, including CVEs and GitHub advisories. Returns severity-sorted findings with fixed versions and reference links.
Instructions
Check a specific npm package version for known security vulnerabilities using the OSV.dev database (includes GitHub Security Advisories and CVEs). If no version is given the latest published version is checked. Returns advisories sorted by severity with CVE aliases, fixed versions and links.
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_name": "<package_name>"
},
"name": "check_package_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Exact version to check, e.g. "4.17.15". Defaults to the latest published version. | |
| package_name | Yes | npm package name, e.g. "lodash" or "@angular/core". |