Distro patch check
distro_patch_checkChecks Ubuntu or Debian package versions against distro security data via OSV.dev to detect known vulnerabilities, including backported fixes that leave upstream versions unchanged.
Instructions
Check an Ubuntu or Debian package version against the distro's own security data (via OSV.dev), which counts fixes the distro backports without changing the upstream version. Use it when Shodan lists distro_packages (e.g. OpenSSH_8.9p1 Ubuntu-3ubuntu0.6 gives package 'openssh', package_version '8.9p1-3ubuntu0.6'), or when the user gives an installed package version. Pass the version check's affected_cve_ids as cve_ids. release (e.g. '22.04', '12') is found automatically when possible. No key needed.
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": {
"package": "<package>",
"package_version": "<package_version>",
"distro": "<distro>"
},
"name": "distro_patch_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distro | Yes | The distribution. | |
| cve_ids | No | CVE IDs to check, usually the version check's affected_cve_ids. | |
| package | Yes | The source package name, e.g. 'openssh' or 'nginx'. | |
| release | No | The distro release, e.g. '22.04' or '12'. Found automatically when possible if left out. | |
| package_version | Yes | The installed package version with its distro revision, e.g. '8.9p1-3ubuntu0.6'. | |
| 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. |