Am I affected?
am_i_affectedChecks whether software versions, lockfiles, or CycloneDX SBOMs are affected by known CVEs or a specified CVE, returning AFFECTED, NOT_AFFECTED, or CANT_CONFIRM with the deciding advisory.
Instructions
Is my software affected? Give the products and versions you run (typed, or pasted from a banner or Server header), a lockfile (requirements.txt, poetry.lock, uv.lock, package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, Gemfile.lock, go.mod, go.sum) or a CycloneDX SBOM. With cve_id, answers whether that one CVE (e.g. one in the news) affects each of them; without it, lists the confirmed CVEs for each. Every product gets AFFECTED, NOT_AFFECTED or CANT_CONFIRM with the NVD range, package advisory or distro fix that decided it. Lockfile and SBOM packages are checked in one OSV.dev batch call. 'nginx 1.24.0 -> 1.26.2' also shows what the upgrade fixes.
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": "am_i_affected"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional. The path to one lockfile (any of those above) or CycloneDX JSON file the user named, for files too large to pass as text. Read-only; folders are never searched. | |
| sbom | No | Optional. The text of a CycloneDX JSON SBOM, e.g. from 'syft dir:. -o cyclonedx-json'. | |
| cve_id | No | Optional. One CVE ID, e.g. 'CVE-2024-6387', to ask whether that CVE affects this software. Leave it out to check for every known CVE. | |
| lockfile | No | Optional. The text of a lockfile: a pinned requirements.txt, poetry.lock, uv.lock, package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, Gemfile.lock, go.mod or go.sum. | |
| software | No | The software you run, one entry per product: 'nginx 1.24.0', a banner such as 'OpenSSH_8.9p1 Ubuntu-3ubuntu0.6', an RPM as 'rpm -q' prints it ('openssh-8.7p1-38.el9_4.1.x86_64'), or a header such as 'Server: Apache/2.4.49 (Unix) OpenSSL/1.1.1k'. Add ' -> 1.26.2' to an entry to see what upgrading fixes. Up to 20 products. | |
| investigation_id | No | The investigation_id from investigate_target. Pass it so the result counts toward that investigation's evidence, budget and key facts; without it the lookup runs on its own. |