Query Package Vulns
query_package_vulnsFind all known vulnerabilities for an open-source package, optionally at a specific version, via the OSV.dev database. Omit version to get every vuln known for the package. Returns a compact summary array (id, summary, aliases, severity, references). Keyless.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "lodash",
"ecosystem": "npm"
},
"name": "query_package_vulns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, e.g. "lodash", "django", "log4j-core", "serde". | |
| version | No | Optional package version, e.g. "4.17.20". If given, only vulns affecting that version are returned; if omitted, all vulns for the package are returned. | |
| ecosystem | Yes | Package ecosystem. Examples: "npm", "PyPI", "Go", "Maven", "crates.io", "RubyGems", "NuGet". |