query_package_vulns
Looks up known vulnerabilities for an open-source package via OSV.dev, optionally filtered by exact version, using ecosystem and package name.
Instructions
List known vulnerabilities for an open-source package from OSV.dev.
Args: ecosystem: Package ecosystem, e.g. "PyPI", "npm", "Go", "Maven", "crates.io". package: Package name as published, e.g. "requests" or "org.apache.logging.log4j:log4j-core". version: Optional exact version. If given, only vulnerabilities affecting that version are returned; otherwise all known ones for the package.
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>",
"package": "<package>"
},
"name": "query_package_vulns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| version | No | ||
| ecosystem | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||