BreachSpider
v0.3.4Exact firmware-to-CVE matching for ICS/OT and IT devices, with vendor-cited fixes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
correlate_devices Check devices for CVEs
Find the CVEs that affect specific devices at their exact firmware or software version. Use this for any specific device and firmware. Send vendor, product and version exactly as the inventory says; no CPE is needed. Returns, per device: how it resolved, data coverage, an honest assessment, warnings, needs_review, result_hash (keep it for check_changes), the fix plan, and the top findings in priority order (known-exploited and confirmed first). Each finding gives the affected range with its source, the fix, advisory guidance and vendor advisories: cite the range source and the vendor advisory…
| Parameter | Type | Description |
|---|---|---|
assets * | array | Devices to check: vendor, product, version and an optional neutral asset_id. |
confirmed_only | boolean | Only CVEs confirmed for this version by a version range. |
fix_available_only | boolean | Only CVEs with a fix available. |
known_exploited_only | boolean | Only known-exploited CVEs. |
max_findings | integer | Findings returned per device, highest priority first. |
check_changes Check devices for changes
Cheap repeat check. For devices you already checked with correlate_devices, send the same vendor, product and version plus the result_hash you kept. Returns which devices changed and their new hash; only changed devices need a fresh correlate_devices call. Also send the status_hash and status_facts you kept: then status_changed lists devices whose known-exploited flags, lifecycle or firmware currency changed with the same findings, and reasons names each change. Use this for repeat checks. Never send host names, IP or MAC addresses, user names or site names. If a call fails, the error starts w…
| Parameter | Type | Description |
|---|---|---|
assets * | array | Devices with the result_hash from an earlier correlate_devices call. About 0.2 s per distinct device (200 distinct devices take about 40 s); after a timeout send batches of at most 50. |
get_fix_plan Get a device fix plan
Fix plan for one device: fix groups (which update clears which CVEs) and the fix plan (the single step that clears the known-exploited CVEs, and the one that clears everything fixable). Send vendor, product and version exactly as the inventory says. Says so plainly when the device did not resolve or coverage is partial. Never send host names, IP or MAC addresses, user names or site names. If a call fails, the error starts with what to do and ends with retry_guidance (retryable, retry_after_seconds, action): never retry when retryable is false.
| Parameter | Type | Description |
|---|---|---|
asset * | One device: vendor, product, version. |
lookup_cve Look up a CVE
Look up one CVE by id (for example CVE-2024-9137) and return BreachSpider's record, trimmed: severity, CVSS, known-exploited status, EPSS, fix status, vendor and CISA ICS advisories and links. It is not device specific; to know whether a device is affected, use correlate_devices. If a call fails, the error starts with what to do and ends with retry_guidance (retryable, retry_after_seconds, action): never retry when retryable is false.
| Parameter | Type | Description |
|---|---|---|
cve_id * | string | A CVE id such as CVE-2024-9137. |
check_windows_host Check Windows patch level
Check Windows hosts against Microsoft's own patch data, without storing anything: nothing about the hosts is saved by BreachSpider. Send per host the OS product, edition_id, the full os_build (with the revision number), the architecture and, if known, the installed updates as KB numbers. Returns per host an honest assessment, counts of CVEs confirmed open, cleared and needs review, the top open and needs review findings in priority order (known-exploited first) with the fixed build, KB and Microsoft source, the fix groups (which update clears which CVEs) and a result_hash. Report needs review…
| Parameter | Type | Description |
|---|---|---|
assets * | array | Windows hosts to check, at most 25. |
max_findings | integer | Open and needs review findings returned per host, highest priority first. |
submit_device_batch Submit a device batch job
Queue a batch job that checks a long device list (up to 5,000 devices) for the CVEs affecting each exact version. Returns at once with a job_id; then call get_device_batch with it until the job is finished and read the results page by page. Each result is the same as a correlate_devices result. Use this instead of correlate_devices for hundreds or thousands of devices. The job uses the key's quota for every device when it is queued (devices left unprocessed after a cancel are refunded). Sending the exact same list and max_findings again within 24 hours returns the original job instead of a new…
| Parameter | Type | Description |
|---|---|---|
assets * | array | Devices to check, at most 5,000: vendor, product, version and an optional neutral asset_id. |
max_findings | integer | Findings kept per device, highest priority first. |
get_device_batch Get batch job results
Status and results of a batch job from submit_device_batch. While the job is queued or running it returns progress (done, failed, total); once finished it returns the summary and one page of results in submission order. Each result has the same fields and honesty rules as correlate_devices: report needs_review and partial coverage honestly and never call an empty, unresolved or partial result clean. When next_cursor is not null, call again with cursor=next_cursor for the next page. Devices that failed are listed with an error_code. Results are kept 30 days. If a call fails, the error starts wi…
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job_id returned by submit_device_batch. |
cursor | The next_cursor from the previous page; leave out for the first page. | |
page_size | integer | Devices per page, at most 50. |
search_products Search the product catalog
Find how BreachSpider's catalog names a vendor and its products, for example to check the spelling of a product before correlate_devices. Send the vendor as written and, optionally, part of the product name. Returns up to 3 matching vendors, each with up to 15 matching products and their CVE counts. Only products with at least one CVE are listed: a product that is not listed may still exist, and this is never an answer about whether a device is affected. For that, use correlate_devices with the inventory's own vendor, product and version; it resolves names itself. Needs a customer API key; tri…
| Parameter | Type | Description |
|---|---|---|
vendor * | string | Vendor as written, for example 'Siemens' or 'Schneider'. |
product | Optional part of the product name, for example 'S7-1200'. |