Check a dependency for known vulnerabilities
check_dependencyLook up known vulnerabilities for one package version from OSV. Returns advisory id, summary, CVE aliases, severity string, and fixed versions when the advisory lists them. Ecosystems: packagist, npm, pypi, go, crates.io, maven, rubygems, nuget. Omit ecosystem and a vendor/package name uses Packagist, otherwise npm. An empty list means OSV returned none, and that successful lookup is charged. This is not a full audit. The first 5 successful calls each UTC day from one network address are free and need no key. not_found and fetch_failed are not charged and do not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit on success. Key: https://firm.bestsmartgoods.com/signup
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": {
"name": "<name>",
"version": "<version>"
},
"name": "check_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, for example guzzlehttp/guzzle or lodash. | |
| version | Yes | The exact version to check, for example 6.5.0. | |
| ecosystem | No | OSV ecosystem. Omit it and a vendor/package name uses Packagist, otherwise npm. |