Am I affected?
am_i_affectedChecks whether given software versions, lockfiles, or CycloneDX SBOMs are affected by a specific CVE or lists confirmed CVEs, returning AFFECTED, NOT_AFFECTED, or CANT_CONFIRM.
Instructions
Is my software affected? Give the products and versions you run (typed, or pasted from a banner or Server header), a lockfile (pinned requirements.txt, package-lock.json) 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 requirements*.txt, package-lock.json 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 pinned requirements.txt or a package-lock.json. | |
| software | No | The software you run, one entry per product: 'nginx 1.24.0', a banner such as 'OpenSSH_8.9p1 Ubuntu-3ubuntu0.6', 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. |