check_package_vulnerability
Check whether a software package or infrastructure product version has known CVEs or supply chain compromises. Use this before adding, updating, or recommending dependencies.
Instructions
Check whether a software package or infrastructure product version has known CVE vulnerabilities or a confirmed supply chain compromise. Call this before adding, updating, or recommending any npm, PyPI, or infrastructure dependency, including mid-conversation when a developer asks about installing or upgrading a package. outsideCoverage=true means Attestd has no data for that product; treat as unknown risk, not safe. Covers infrastructure products (nginx, PostgreSQL, Redis, Docker, Kubernetes, etc.) and PyPI/npm packages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | Package or product slug, e.g. "nginx", "runc", "@bitwarden/cli", "litellm" | |
| version | Yes | Exact version string, e.g. "1.20.0" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message when the tool returns isError. | |
| cveIds | No | CVE IDs contributing to the risk assessment. | |
| maxEpss | No | Highest EPSS probability across matching CVEs. Omitted or null when unavailable. | |
| message | No | Explanation when outsideCoverage is true. | |
| riskState | No | Risk band: "critical", "high", "elevated", "low", "none", or null when outside coverage. | |
| typosquat | No | Package name integrity signal when the name is a typosquat or AI-hallucinated package. | |
| confidence | No | Synthesis confidence from 0.0 to 1.0. | |
| riskFactors | No | Risk factor vocabulary driving riskState. | |
| fixedVersion | No | Earliest clean version to recommend. Omitted or null when unknown. | |
| patchAvailable | No | True when a fixed version with no critical/high CVEs is known. | |
| outsideCoverage | No | True when Attestd has no CVE data for this product. Unknown risk, not safe. | |
| activelyExploited | No | True when the version appears in the CISA KEV catalog. | |
| remoteExploitable | No | True when any matching CVE is remotely exploitable. | |
| authenticationRequired | No | True only when all matching CVEs require authentication. | |
| supplyChainCompromised | No | True when a malicious PyPI or npm publish was detected. | |
| supplyChainDescription | No | Human-readable supply-chain event description when present. |