Package Vulnerability Check
package_checkCheck a package against the OSV.dev advisories (GitHub, Go, PyPA, RustSec) and the OpenSSF malicious package list, with the fixed version and endoflife.date dates. For severity, pass the CVE aliases to the cve_triage_bulk tool.
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": "package_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name as the dependency file writes it, e.g. lodash, @babel/core, org.apache.logging.log4j:log4j-core, golang.org/x/net | |
| limit | No | Results per page | |
| offset | No | Results to skip; pass next_offset of the previous page | |
| version | No | Exact version, e.g. 4.17.20; without it every result is listed | |
| ecosystem | Yes | npm, PyPI, Maven, Go, NuGet, RubyGems, crates.io, Packagist or SwiftURL. Case does not matter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eol | Yes | Support dates from endoflife.date. null when the package maps to no endoflife.date product. Then the dates are unknown. | |
| limit | Yes | Most items in results: the limit argument, 20 by default. | |
| total | Yes | Listed results, before paging. malicious is not counted. | |
| offset | Yes | Items skipped: the offset argument, 0 by default. | |
| credits | Yes | ||
| results | Yes | One vulnerability each, newest first. | |
| malicious | Yes | The OpenSSF report that the package is malware. null when there is none, or none that may affect the version. | |
| attribution | Yes | Each source and license of the listed results, of malicious and of eol, once. | |
| data_source | Yes | ||
| next_offset | Yes | offset plus this page's items; total on the last page. | |
| fixed_version | No | Present only with a version. The upgrade target: the highest fixed version of the listed results, so no listed result affects it. null when a listed result has no fixed version, no result is listed, or an advisory still affects or may affect that version. | |
| has_advisory_data | Yes | true when an advisory of any source names the package. false does not mean that the package does not exist. |