Known vulnerabilities of a package or package version
get_package_vulnerabilitiesKnown vulnerabilities (OSV.dev and NVD advisories) of an open-source package, or of one version of it: severity, whether each is exploited in the wild (CISA KEV) and its EPSS score, the version that fixes them and the upgrade command. Works without an API token. Packages in AIssue's public catalog also get the newest version with no known advisory and their licence; any other npm, PyPI, Go, Cargo, RubyGems, Packagist, Maven, NuGet, Pub, Hex or Swift package is looked up live in OSV.dev. Runtimes and servers (Java, Node.js, Python, NGINX...): catalog only.
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>",
"name": "<name>"
},
"name": "get_package_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name as in the registry (e.g. "lodash", "django", "github.com/gin-gonic/gin", "org.apache.logging.log4j:log4j-core") | |
| version | No | Exact version (e.g. "4.17.20"). Omit for the whole package. | |
| ecosystem | Yes | npm, pypi, go, cargo, rubygems, packagist, maven, nuget, pub, hex, swift, or runtime (Java, Node.js, Python, NGINX, PostgreSQL...) |