Check dependencies against the vulnerability record
check_dependenciesWhich of these package versions have a known vulnerability. Give packages directly (ecosystem, name, version), or paste a lockfile or SBOM as manifest and it is read for you: package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, Pipfile.lock, go.mod, go.sum, Cargo.lock, Gemfile.lock, composer.lock, packages.lock.json, gradle.lockfile, cyclonedx, spdx, purls. Each version is checked against OSV.dev, which aggregates GitHub's reviewed advisories, the Go and PyPI databases, RustSec and OpenSSF's malicious-package reports across npm, PyPI, Go, Maven, crates.io, NuGet, RubyGems, Packagist and more. Every hit comes back with its severity, the CVEs it is known by, the versions that fix it, whether CISA lists it as exploited with the federal due date, and FIRST's EPSS estimate. Exploited packages come first, then malicious packages, then severity. A version with no hit is a version no advisory in those databases covers; that is not a statement that it is safe. Only resolved versions are read: a file of ranges (package.json, Pipfile, pom.xml) cannot be checked, so pass the lockfile beside it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many affected packages to return. The counts cover all of them. | |
| filename | No | The manifest's filename, when you have it. Without it the format is read from the content. | |
| kev_only | No | true: only advisories CISA lists as exploited. | |
| manifest | No | The contents of a lockfile or SBOM. Use this or packages. | |
| packages | No | The packages to check, as installed. Use this or manifest. | |
| severity_min | No | Only this severity and above. Malicious packages and anything CISA lists as exploited are always returned. |