Distro patch check
distro_patch_checkCheck an installed Linux distro package version against the distro's own security data via OSV.dev to catch backported fixes and confirm whether reported CVEs actually apply.
Instructions
Check a distro package version (Ubuntu, Debian, Red Hat Enterprise Linux, AlmaLinux, Rocky Linux, SUSE, openSUSE or Alpine) 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. Red Hat covers RHEL; use AlmaLinux or Rocky Linux for those rebuilds. | |
| 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', '12', '9' (RHEL), '15 SP6' (SLES), '15.6' (Leap) or '3.20' (Alpine). Found from the package version when possible; Alpine always needs it. | |
| package_version | Yes | The installed package version with its distro revision, e.g. '8.9p1-3ubuntu0.6', '8.7p1-38.el9_4.1' or '9.6_p1-r0'. | |
| 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. |