# BreachSpider integration API: reference for agents and developers Base URL: https://breachspider.com Auth: header `Authorization: Bearer ` (keys from /developers/billing). OpenAPI 3.1 spec: https://breachspider.com/docs/integrations/breachspider-integration-openapi.json ## Rules - Integration testing access: 30 days; 5,000 device checks; 200 devices per request (25 Windows hosts); 30 requests a minute per account; 2,000 list requests a day (CVE search, new CVEs, known-exploited) that never use device checks; 1,000 CVE and catalog lookups a day; 2 keys. Checking the same device and firmware again within 24 hours is free (Windows hosts are charged each time; use Check Windows Hosts for Changes): it is refunded after the check, so a request still needs enough checks left to cover every device in it. Page links (_links.next) keep your filters and sort. Partner licences and customer plans have their own limits. - Never send IP or MAC addresses, host names, serial numbers, email addresses, user names or site names. Use neutral ids such as PLC-01. Such values are refused (422) and nothing is stored. - An empty, unresolved or needs-review result is never 'clean'. Always repeat needs_review, coverage and warnings with the findings, and the assessment sentence of each device result. - Example responses are shortened: long lists show one item and deep levels may be empty. - The documentation pages, this file and /llms.txt accept any HTTP client, including Python's default urllib agent. - Errors: JSON envelope {api, error:{code, message, retryable, retry_after_seconds, action}}. Never retry when retryable is false; when true, wait retry_after_seconds. - Write actions (Create Environment, Add Asset) need a read-write key and only ever touch your own account. ## Check Devices (operationId checkDevices) `POST /api/v1/assets/correlate-cves` Match devices (vendor, product, firmware version) to the CVEs that affect that exact version, with the affected range, its source, the fix and the vendor advisory. Up to 200 devices per request. Keep each result's result_hash, status_hash and status_facts for Check Devices for Changes. Never send IP or MAC addresses, host names, serial numbers, email addresses, user names or site names: use a neutral asset_id such as PLC-01. An empty or needs-review result is never 'clean': report needs_review, coverage and warnings. Access: any key. Cost: 1 device check per distinct device. Example request body: ```json { "assets": [ { "asset_id": "SW-01", "vendor": "Moxa", "product": "EDS-518A", "version": "V3.5" }, { "asset_id": "PLC-01", "vendor": "Siemens", "product": "SIMATIC S7-1200", "version": "4.5" } ] } ``` Request body schema: ```json { "properties": { "assets": { "items": { "properties": { "asset_id": { "type": "string" }, "vendor": { "type": "string" }, "product": { "type": "string" }, "version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "firmware_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "product_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "part_number": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ] } }, "type": "object", "required": [ "asset_id", "vendor", "product" ] }, "type": "array" }, "options": { "properties": { "min_confidence": { "type": "string", "default": "MEDIUM" }, "include_capec": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ] }, "cve_page": { "type": "integer", "default": 1 }, "cve_page_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "sort": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "priority" }, "confirmed_only": { "type": "boolean", "default": false }, "known_exploited_only": { "type": "boolean", "default": false }, "fix_available_only": { "type": "boolean", "default": false } }, "type": "object" } }, "type": "object", "required": [ "assets" ] } ``` Example response (200): ```json { "_links": { "self": "/api/v1/assets/correlate-cves" }, "api": { "processing_ms": 584, "request_id": "bs-req-2d16bb9c34ae", "timestamp": "2026-12-03T01:32:15.286843Z", "version": "1.0.0" }, "data": { "fix_summary": [ { "asset_ids": [ "SW-01" ], "counts": { "assets": 1, "confirmed": 3, "cves": 3, "exploit_available": 0, "known_exploited": 0 }, "derived": false, "fix": "upgrade to security patch 3.11.2 (from Moxa Technical Support)", "fix_type": "version", "highest_score": { "bcs": 6.84, "cvss": 9.4 }, "product": "EDS-518A", "rank": 1, "source": "manual_curation" } ], "results": [ { "asset_id": "SW-01", "candidates": [], "correlated_at": "2026-12-03T01:32:14.878281+00:00", "cves": [ { "applicability": "CONFIRMED_AFFECTED", "applicability_reason": "confirmed (affected 1.0 to 3.11)", "bsid": "BS-2024-GLOBAL-046494-C", "cve_id": "CVE-2024-9137", "description": "The affected product lacks an authentication check when sending commands to the ...", "match_tier": "RANGE", "priority_rank": 1, "priority_reason": "confirmed (affected 1.0 to 3.11), fix: upgrade to security patch 3.11.2 (from Mo...", "remediation_class": "UNKNOWN", "title": "The affected product lacks an authentication check when sending commands to the ..." } ], "cves_page": { "has_more": false, "page": 1, "page_size": 250, "total": 3, "total_unfiltered": 3 }, "fix_groups": [ { "derived": false, "fix": "upgrade to security patch 3.11.2 (from Moxa Technical Support)", "fix_type": "version", "group_rank": 1, "source": "manual_curation" } ], "fix_plan": { "to_clear_all_fixable": { "derived": false, "fix": "upgrade to security patch 3.11.2 (from Moxa Technical Support)", "source": "manual_curation" }, "to_clear_known_exploited": null }, "needs_review": false, "resolution": { "confidence": 94, "confidence_band": "HIGH", "coverage": "covered", "cpe": { "product": "eds-518a", "vendor": "moxa" }, "match_basis": [ "cpe_alias" ], "product": { "id": 178012, "name": "EDS-518A", "slug": "eds-518a" }, "status": "resolved", "vendor": { "id": 11418, "name": "Moxa", "slug": "moxa" } }, "result_hash": "sha256:8f260f73975959a9752429b3c6293c46d92112dce7044edd6eb209624f1f74ff", "status_facts": { "firmware_currency": null, "known_exploited": [], "lifecycle": null, "v": 1 }, "status_hash": "sha256:c466359111e8428a2043b463ff52195e64ccfd969e8c33382790435d4db29ba4", "submitted": { "firmware_version": null, "part_number": null, "product": "EDS-518A", "product_type": null, "vendor": "Moxa", "version": "V3.5" }, "warnings": [], "assessment": "3 confirmed, 0 possible (check the exact model or version), 0 likely not affected." } ], "summary": { "by_coverage": { "covered": 2, "no_cpe_data": 0, "null": 0, "partial": 0 }, "by_status": { "ambiguous": 0, "resolved": 2, "unresolved": 0 }, "total": 2 } }, "meta": { "billing": { "balance": { "has_plan": true, "next_package_expiry": null, "package_checks": 0.0, "period_end": "2027-01-02T01:32:13.958713+00:00", "period_start": "2026-12-03", "plan_device_checks": 5000, "plan_remaining_checks": 4998.0, "plan_used_checks": 2.0, "total_remaining_checks": 4998.0, "unlimited": false }, "device_checks_charged": 2, "free": { "duplicates_in_request": 0, "repeat_within_24h": 0, "unidentified": 0 } }, "cve_paging": { "note": "Per-asset CVE pages; see each result's cves_page. result_hash covers all CVEs.", "page": 1, "page_size": 250 }, "enrichment_version": "2.1", "filters": { "confirmed_only": false, "fix_available_only": false, "known_exploited_only": false }, "matcher": "stateless; same version-range rules as stored matching, without the stored produ...", "sage_model": "SAGE-v1", "sort": "priority", "source": "breachspider-correlate" } } ``` ## Check Devices for Changes (operationId checkDeviceChanges) `POST /api/v1/assets/correlate-cves/check` Re-check devices you already have a result_hash for. Send result_hash, status_hash and status_facts from the last result; each device comes back changed or unchanged, with the new result when it changed. Up to 200 devices per request (about 0.2 s per distinct device). Access: any key. Cost: a tenth of a device check per device. Example request body: ```json { "assets": [ { "asset_id": "SW-01", "vendor": "Moxa", "product": "EDS-518A", "version": "V3.5", "result_hash": "sha256:8f260f73975959a9752429b3c6293c46d92112dce7044edd6eb209624f1f74ff", "status_hash": "sha256:b4493370748f548481f91aab3a111c2f3d75f44da9e7f89362c877d2c3efa3e1", "status_facts": { "v": 1, "known_exploited": [], "lifecycle": null, "firmware_currency": null } } ] } ``` Request body schema: ```json { "properties": { "assets": { "items": { "properties": { "asset_id": { "type": "string" }, "vendor": { "type": "string" }, "product": { "type": "string" }, "version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "firmware_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "product_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "part_number": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ] }, "result_hash": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "status_hash": { "anyOf": [ { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" }, { "type": "null" } ], "description": "status_hash from the earlier correlate-cves result. When sent, the response also reports status_changed." }, "status_facts": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "description": "status_facts from the earlier result (optional). With it, each status change is named in reasons[]." } }, "type": "object", "required": [ "asset_id", "vendor", "product" ] }, "type": "array" }, "options": { "properties": { "min_confidence": { "type": "string", "default": "MEDIUM" } }, "type": "object" } }, "type": "object", "required": [ "assets" ] } ``` Example response (200): ```json { "_links": { "self": "/api/v1/assets/correlate-cves/check" }, "api": { "processing_ms": 449, "request_id": "bs-req-6951be3301df", "timestamp": "2026-12-03T01:32:27.776756Z", "version": "1.0.0" }, "data": { "changed": [], "results": [ { "asset_id": "SW-01", "changed": false, "current_hash": "sha256:8f260f73975959a9752429b3c6293c46d92112dce7044edd6eb209624f1f74ff", "current_status_facts": { "firmware_currency": null, "known_exploited": [], "lifecycle": null, "v": 1 }, "current_status_hash": "sha256:c466359111e8428a2043b463ff52195e64ccfd969e8c33382790435d4db29ba4", "findings_changed": false, "reason": "identity and cve/tier set unchanged", "reasons": [], "status_changed": false }, { "asset_id": "PLC-01", "changed": false, "current_hash": "sha256:3cf09b356817ee7cdfed9c6e5f93ba276ce17f140d74abe5c76e1afda0434412", "current_status_facts": { "firmware_currency": null, "known_exploited": [], "lifecycle": null, "v": 1 }, "current_status_hash": "sha256:c466359111e8428a2043b463ff52195e64ccfd969e8c33382790435d4db29ba4", "findings_changed": false, "reason": "identity and cve/tier set unchanged", "reasons": [], "status_changed": false } ], "status_changed": [] }, "meta": { "billing": { "balance": { "has_plan": true, "next_package_expiry": null, "package_checks": 0.0, "period_end": "2027-01-02T01:32:13.958713+00:00", "period_start": "2026-12-03", "plan_device_checks": 5000, "plan_remaining_checks": 4996.8, "plan_used_checks": 3.2, "total_remaining_checks": 4996.8, "unlimited": false }, "device_checks_charged": 0.2, "retry": false }, "mode": "staleness-check", "source": "breachspider-correlate" } } ``` ## Search Products (operationId searchProducts) `GET /api/v1/catalog/products` Find products of one vendor (vendor_id from Search Vendors). Access: any key. Cost: 1 lookup. Parameters: - vendor_id (query, integer, required): Required. Numeric vendor ID to filter products by. Get vendor IDs from /api/v1/catalog/vendors. - q (query, string, default=) - group_firmware (query, boolean, default=False): Optional. true folds an 'X Firmware' product under 'X' (as firmware_entry) so the pair takes one of the 15 results. Display only; both stay separate catalog products. Example response (200): ```json { "api": { "processing_ms": 8, "request_id": "bs-req-09663d5b1e24", "timestamp": "2026-12-03T01:32:15.844003Z", "version": "1.0.0" }, "data": [ { "cve_count": 16, "id": 32502, "name": "EDS-405A" }, { "cve_count": 16, "id": 32500, "name": "EDS-405A Firmware" } ], "meta": { "count": 15, "limit": 15, "query": "EDS", "vendor_id": 11418 } } ``` ## Search Vendors (operationId searchVendors) `GET /api/v1/catalog/vendors` Find a vendor in the BreachSpider catalog; use its id with Search Products. Access: any key. Cost: 1 lookup. Parameters: - q (query, string, default=) Example response (200): ```json { "api": { "processing_ms": 11, "request_id": "bs-req-67ebe34cd440", "timestamp": "2026-12-03T01:32:15.805508Z", "version": "1.0.0" }, "data": [ { "cve_product_count": 995, "id": 11418, "name": "Moxa", "slug": "moxa" } ], "meta": { "count": 1, "limit": 10, "query": "Moxa" } } ``` ## Search CVEs (operationId searchCves) `GET /api/v1/cves` Search and filter CVEs (vendor, protocol, severity, CVSS, known-exploited, exploit, patch status, dates). For a New CVE trigger use sort_by=date and keep the CVE ids you have seen. Access: any key. Cost: 1 list request. Parameters: - q (query, string): Full-text search - vendor (query, string): Vendor slug or name - protocol (query, string): Protocol name - cvss_min (query, number) - cvss_max (query, number) - severity (query, string) - kev (query, boolean) - unpatched (query, boolean) - has_exploit (query, boolean) - patch_status (query, string): patched|unpatched|partial|unknown - date_from (query, string): ISO date YYYY-MM-DD - date_to (query, string): ISO date YYYY-MM-DD - sort_by (query, string): date|cvss|epss - ranked (query, boolean, default=False): Rank by watchlist relevance (auth required) - page (query, integer, minimum=1, default=1) - per_page (query, integer, minimum=1, maximum=100, default=20) Example response (200): ```json { "_links": { "first": "/api/v1/cves?page=1&per_page=5", "last": "/api/v1/cves?page=114&per_page=5", "next": "/api/v1/cves?page=2&per_page=5", "prev": null, "self": "/api/v1/cves?page=1&per_page=5" }, "api": { "processing_ms": 244, "request_id": "bs-req-7c4724e63649", "timestamp": "2026-12-03T01:32:15.625688Z", "version": "1.0.0" }, "data": [ { "_links": { "html": "https://breachspider.com/ics-cve/CVE-2025-32433", "self": "/api/v1/cves/CVE-2025-32433" }, "bcs_score": null, "bsid": "BS-2025-GLOBAL-254014-C", "cve_id": "CVE-2025-32433", "cvss_score": 10.0, "epss_percentile": 0.99927, "epss_score": 0.98924, "epss_top_10_pct": true, "exploit_maturity": "POC", "has_public_exploit": false, "ics_relevant": true, "kev_flagged": true, "patch_status": "unknown", "poc_available": true, "primary_product": "Cloud Native Broadband Network Gateway", "primary_vendor": "Cisco", "published_at": "2025-04-16T22:15:14+00:00", "severity": "CRITICAL", "title": "Erlang/OTP is a set of libraries for the Erlang programming language. Prior to versions OTP-27.3.3, OTP-26.2.5.11, and O", "vendor_count": 6 }, { "_links": { "html": "https://breachspider.com/ics-cve/CVE-2021-44228", "self": "/api/v1/cves/CVE-2021-44228" }, "bcs_score": null, "bsid": "BS-2021-GLOBAL-298547-C", "cve_id": "CVE-2021-44228", "cvss_score": 10.0, "epss_percentile": 1.0, "epss_score": 0.99999, "epss_top_10_pct": true, "exploit_maturity": "FUNCTIONAL", "has_public_exploit": true, "ics_relevant": true, "kev_flagged": true, "patch_status": "unknown", "poc_available": true, "primary_product": "Advanced Malware Protection Virtual Private Cloud Appliance", "primary_vendor": "Cisco", "published_at": "2021-12-10T10:15:09+00:00", "severity": "CRITICAL", "title": "Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in con", "vendor_count": 17 } ], "filters_applied": { "severity": "CRITICAL", "vendor": "Siemens" }, "meta": { "corpus_size": 436028, "data_freshness": "live", "enrichment_version": "2.1", "sage_visible": false, "tier": "api_integration" }, "pagination": { "count": 5, "has_next": true, "has_prev": false, "page": 1, "pages": 114, "per_page": 5, "total": 566 } } ``` ## List Known-Exploited CVEs (operationId listKnownExploited) `GET /api/v1/cves/kev` The CISA Known Exploited Vulnerabilities catalog with BreachSpider enrichment. For a New Known-Exploited CVE trigger use sort=date_added (newest additions first) and compare kev_added_at; one page per poll is enough unless more than per_page CVEs were added since the last poll. Without sort the order is CVSS, highest first. Access: any key. Cost: 1 list request. Parameters: - page (query, integer, minimum=1, default=1) - per_page (query, integer, minimum=1, maximum=100, default=20) - sort (query, string): cvss (default) or date_added (newest additions first) Example response (200): ```json { "_links": { "first": "/api/v1/cves/kev?page=1&per_page=5", "last": "/api/v1/cves/kev?page=362&per_page=5", "next": "/api/v1/cves/kev?page=2&per_page=5", "prev": null, "self": "/api/v1/cves/kev?page=1&per_page=5" }, "api": { "processing_ms": 81, "request_id": "bs-req-703e989837b1", "timestamp": "2026-12-03T01:32:15.764631Z", "version": "1.0.0" }, "data": [ { "bcs_score": null, "bsid": null, "cve_id": "CVE-2026-125160", "cvss_score": 5.3, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "cvss_version": "3.1", "description": "Files uploaded through FileUpload or ImageUpload elements are stored in an unguessable sub-folder that remains the same for the whole form session. If storing an uploaded file failed, for example because of a file name exceeding the file system's length limit, the raw error message was shown to the frontend user disclosing the storage path including the unguessable folder name and the server's temporary upload directory. With this information, attackers could determine the public URL of files they upload through the form.\n\nIf a form allows uploading files that browsers can execute, such as HTML documents, this could lead to Cross-Site Scripting on web servers that do not apply the Content-Security-Policy recommended by TYPO3 to the form upload target folder. This vulnerability is known to be actively exploited.", "device_type": null, "epss_percentile": null, "epss_score": null, "has_public_exploit": false, "ics_relevance_score": null, "kev_added_at": "2026-11-30", "kev_flagged": true, "patch_status": "unknown", "poc_available": false, "primary_product": null, "primary_vendor": null, "products": [], "protocols": [], "published_at": "2026-11-17T11:17:25+00:00", "sage": { "_blurred": true, "executive_summary": "A unscored severity vulnerability (CVE-2026-125160) affects the target system. Files uploaded through FileUpload or Imag... [Upgrade to view full AI analysis]" }, "severity": "MEDIUM", "title": "Files uploaded through FileUpload or ImageUpload elements are stored in an unguessable sub-folder that remains the same ", "url": "https://breachspider.com/cve/CVE-2026-125160", "vendor_count": null, "vendors": [] }, { "bcs_score": null, "bsid": null, "cve_id": "CVE-2026-61500", "cvss_score": 9.8, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "cvss_version": "3.1", "description": "Rejetto HFS 3.0.0 through 3.2.0 derives its session-cookie signing key from the non-cryptographic Math.random() generator and discloses outputs of the same generator to unauthenticated clients during login. A remote attacker can collect a small number of login responses, reconstruct the generator's state, recover the signing key, and forge a valid administrator session cookie, leading to full administrative access and remote code execution via the server_code configuration feature.", "device_type": null, "epss_percentile": null, "epss_score": null, "has_public_exploit": false, "ics_relevance_score": null, "kev_added_at": "2026-11-30", "kev_flagged": true, "patch_status": "unknown", "poc_available": false, "primary_product": null, "primary_vendor": null, "products": [], "protocols": [], "published_at": "2026-07-13T18:16:29+00:00", "sage": { "_blurred": true, "executive_summary": "A critical severity vulnerability (CVE-2026-61500) affects the target system. Rejetto HFS 3.0.0 through 3.2.0 derives it... [Upgrade to view full AI analysis]" }, "severity": "CRITICAL", "title": "Rejetto HFS 3.0.0 through 3.2.0 derives its session-cookie signing key from the non-cryptographic Math.random() generato", "url": "https://breachspider.com/cve/CVE-2026-61500", "vendor_count": null, "vendors": [] } ], "filters_applied": { "kev_only": true, "sort": "date_added", "source": "CISA-KEV" }, "meta": { "catalog_url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "corpus_size": 1810, "kev_program_launched": "2021-11-03", "source": "CISA Known Exploited Vulnerabilities Catalog" }, "pagination": { "count": 5, "has_next": true, "has_prev": false, "page": 1, "pages": 362, "per_page": 5, "total": 1810 } } ``` ## Get CVE (operationId getCve) `GET /api/v1/cves/{cve_id}` One CVE with severity, CVSS, EPSS, known-exploited status, affected products and references. Access: any key. Cost: 1 lookup. Parameters: - cve_id (path, string, required) Example response (200): ```json { "_links": { "html": "https://breachspider.com/ics-cve/CVE-2024-9137", "pdf": "/api/v1/ics-cve/CVE-2024-9137/pdf", "self": "/api/v1/cves/CVE-2024-9137" }, "api": { "processing_ms": 17, "request_id": "bs-req-457b0bd706eb", "timestamp": "2026-12-03T01:32:15.354418Z", "version": "1.0.0" }, "data": { "_links": { "html": "https://breachspider.com/ics-cve/CVE-2024-9137", "pdf": "/api/v1/ics-cve/CVE-2024-9137/pdf", "self": "/api/v1/cves/CVE-2024-9137" }, "affected": { "device_types": [ "Industrial Firewall" ], "ics_relevance_score": 0.7, "ics_relevant": true, "primary_product": null, "primary_vendor": null, "products": [], "protocols": [], "vendor_count": 1, "vendors": [ "Moxa" ] }, "bsid": "BS-2024-GLOBAL-046494-C", "capec": [ { "capec_id": 12, "name": "Choosing Message Identifier", "slug": "capec-12", "typical_severity": "High", "via_cwe": [ 306 ] }, { "capec_id": 36, "name": "Using Unpublished Interfaces or Functionality", "slug": "capec-36", "typical_severity": "High", "via_cwe": [ 306 ] } ], "classification": { "attack_complexity": "LOW", "attack_vector": "NETWORK", "category": null, "cwes": [ { "id": 306, "url": "https://cwe.mitre.org/data/definitions/306.html" } ], "layer": null, "privileges_required": "NONE", "scope": "UNCHANGED", "user_interaction": "NONE" }, "cve_id": "CVE-2024-9137", "description": "The affected product lacks an authentication check when sending commands to the server via the Moxa service. This vulnerability allows an attacker to execute specified commands, potentially leading to unauthorized downloads or uploads of configuration files and system compromise.", "exploitation": { "actively_exploited": false, "exploit_maturity": "NONE", "has_public_exploit": false, "kev_added_at": null, "kev_flagged": false, "poc_available": false }, "patch": { "fixed_in": { "product": "EDS-518A Series", "version": "3.11.2" }, "note": "Fixed in 3.11.2 for EDS-518A Series. Fixes for other affected products, if any, are in the vendor advisories. Send your device's vendor, product and version to POST /api/v1/assets/correlate-cves to confirm for your product.", "patch_available": true, "patch_notes": null, "patch_url": null, "patch_version": null, "status": "varies_by_product" }, "references": { "breachspider_url": "https://breachspider.com/ics-cve/CVE-2024-9137", "cisa_ics_advisories": [], "cisa_url": null, "cited_exclusive": null, "cve_org_url": "https://www.cve.org/CVERecord?id=CVE-2024-9137", "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9137", "other_references": [], "other_references_total": 0, "vendor_advisories": [ { "source": "vendor_cna", "title": null, "url": "https://www.moxa.com/en/support/product-support/security-advisory/mpsa-241154-missing-authentication-and-os-command-injection-vulnerabilities-in-routers-and-network-security-appliances" }, { "source": "vendor_cna", "title": null, "url": "https://www.moxa.com/en/support/product-support/security-advisory/mpsa-241156-cve-2024-9137-missing-authentication-vulnerability-in-ethernet-switches" } ] }, "sage": { "_upgrade_required": true, "_upgrade_url": "https://breachspider.com/upgrade", "confidence_score": null, "confidence_tier": null, "executive_summary": "CVE-2024-9137 affects Moxa products due to a lack of authentication checks when sending commands to the server via the M... [Upgrade to view full AI analysis]", "ics_context": null, "model": "SAGE-v1", "remediation_guidance": null, "tier": "blurred" }, "scoring": { "bcs": null, "cvss": { "attack_complexity": "LOW", "attack_vector": "NETWORK", "availability_impact": "HIGH", "confidentiality_impact": "LOW", "integrity_impact": "HIGH", "privileges_required": "NONE", "scope": "UNCHANGED", "score": 9.4, "severity": "CRITICAL", "user_interaction": "NONE", "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H", "version": "3.1" }, "epss": { "interpretation": "Below median exploitation probability", "percentile": 0.44489, "score": 0.00501 } }, "temporal": { "enriched_at": "2026-05-22T15:36:48.504598+00:00", "kev_added_at": null, "modified_at": "2026-06-17T08:24:01+00:00", "published_at": "2024-10-14T09:15:04+00:00" }, "title": "The affected product lacks an authentication check when sending commands to the server via the Moxa service. This vulner", "watchlist_match": false }, "meta": { "capec_source": { "catalog": "MITRE CAPEC", "mapping": "CWE-to-CAPEC per MITRE", "version": "3.9" }, "enrichment_version": "2.1", "sage_model": "SAGE-v1", "source": "breachspider-enriched" } } ``` ## List Environments (operationId listEnvironments) `GET /api/v1/environments` The account's own environments with asset, CVE, critical and known-exploited counts and a risk score. Access: any key. Cost: free. Example response (200): ```json { "environments": [ { "asset_count": 0, "client_id": null, "client_name": null, "client_org_id": null, "color": "#6366F1", "created_at": "2026-12-03T01:32:14.597467+00:00", "critical_count": 0, "cve_count": 0, "description": null, "id": 3469, "kev_count": 0, "location_id": null, "location_name": null, "name": "Plant A", "risk_score": 0, "slug": "plant-a" } ], "total": 1 } ``` ## Create Environment (operationId createEnvironment) `POST /api/v1/environments` Create an environment in the account's own organization. Needs a read-write key. client_id and location_id are refused for integration accounts. Access: read-write key. Cost: free. Example request body: ```json { "name": "Plant A" } ``` Request body schema: ```json { "properties": { "name": { "type": "string" }, "color": { "type": "string", "default": "#6366F1" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "client_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "location_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] } }, "type": "object", "required": [ "name" ] } ``` Example response (201): ```json { "color": "#6366F1", "id": 3469, "message": "Environment created", "name": "Plant A", "slug": "plant-a" } ``` ## Add Asset to Environment (operationId addAsset) `POST /api/v1/environments/{env_id}/assets/manual` Add a device to one of the account's own environments; it is matched to CVEs from vendor_name, model and version. Needs a read-write key. asset_type is one of PLC, HMI, RTU, Engineering Workstation, Historian, Firewall, Switch, Sensor, Gateway, Server, Other. ip_address, serial_number and an identifying asset_name (host name, address) are refused with 422 FORBIDDEN_FIELD. Access: read-write key. Cost: free. Parameters: - env_id (path, integer, required) Example request body: ```json { "asset_type": "Switch", "asset_name": "SW-01", "vendor_name": "Moxa", "model": "EDS-518A", "version": "V3.5" } ``` Request body schema: ```json { "properties": { "vendor_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "product_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "vendor_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "asset_type": { "type": "string" }, "asset_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "model": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "firmware_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "serial_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "quantity": { "type": "integer", "default": 1 }, "site_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "zone": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "ip_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "nerc_cip_class": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "iec_62443_sl": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "notes": { "anyOf": [ { "type": "string" }, { "type": "null" } ] } }, "type": "object", "required": [ "asset_type" ] } ``` Example response (201): ```json { "asset_name": "SW-01", "id": 90618, "message": "Asset added" } ``` ## Check Windows Hosts (operationId checkWindowsHosts) `POST /api/v2/assets/check-windows` Check Windows hosts (OS product, edition, build, architecture, installation type) against Microsoft's own patch data. Stores nothing. Up to 25 hosts per request. Never send host names, domain names, IP or MAC addresses, user names or serial numbers. Access: any key. Cost: 1 device check per host, repeats included. Example request body: ```json { "windows_hosts": [ { "asset_id": "WIN-01", "os_product": "Windows Server 2019 Standard", "edition_id": "ServerStandard", "os_build": "10.0.17763.6189", "architecture": "x64", "installation_type": "Server", "collected_at": "2026-12-01T10:00:00Z" } ] } ``` Request body schema: ```json { "type": "object", "required": [ "windows_hosts" ], "properties": { "windows_hosts": { "type": "array", "maxItems": 25, "items": { "type": "object", "required": [ "asset_id", "os_product", "os_build" ], "additionalProperties": true, "properties": { "asset_id": { "type": "string", "description": "Neutral id such as WIN-01. Never a host name." }, "os_product": { "type": "string", "example": "Windows Server 2019 Standard" }, "edition_id": { "type": "string", "example": "ServerStandard" }, "os_build": { "type": "string", "example": "10.0.17763.6189" }, "architecture": { "type": "string", "example": "x64" }, "installation_type": { "type": "string", "example": "Server" }, "collected_at": { "type": "string", "format": "date-time" }, "installed_kbs": { "type": "array", "items": { "type": "string" }, "description": "Installed KB numbers" }, "result_hash": { "type": "string", "description": "Changes endpoint only: from the last result" } } } }, "options": { "properties": { "include_cleared": { "type": "boolean", "default": true }, "sort": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "priority" }, "confirmed_only": { "type": "boolean", "default": false }, "known_exploited_only": { "type": "boolean", "default": false }, "fix_available_only": { "type": "boolean", "default": false }, "cve_page": { "type": "integer", "default": 1 }, "cve_page_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] } }, "additionalProperties": false, "type": "object" } } } ``` Example response (200): ```json { "data": { "assets": [ { "asset_id": "WIN-01", "candidate_products": null, "counts": { "cleared": 3205, "confirmed_open": 3938, "needs_review": 3 }, "cves": [ { "cve_id": "CVE-2025-59287", "fix": { "action": "install KB5131085 (latest cumulative, build 10.0.17763.9487)", "available": true, "derived": false, "source": "microsoft" }, "fixed_build": "10.0.17763.7922", "kb": "KB5070883", "known_exploited": true, "note": null, "priority_rank": 1, "priority_reason": "confirmed open (build below 10.0.17763.7922), known-exploited, proof-of-concept available, fix: install KB5131085 (latest cumulative, build 10.0.17763.9487)", "references": { "cisa_ics_advisories": [ { "advisory_id": "ICSA-25-352-02", "published": "2025-12-09", "title": "Schneider Electric EcoStruxure Foxboro DCS Advisor", "url": "https://www.cisa.gov/news-events/ics-advisories/icsa-25-352-02" } ], "cve_org_url": "https://www.cve.org/CVERecord?id=CVE-2025-59287", "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59287", "other_references": [ { "provided_by": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit" ], "url": "https://hawktrace.com/blog/CVE-2025-59287" } ], "other_references_total": 6, "vendor_advisories": [ { "source": "nvd_vendor_advisory", "title": null, "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59287" } ] }, "severity": "Critical", "source": "https://api.msrc.microsoft.com/cvrf/v3.0/cvrf/2025-Oct", "status": "confirmed open" } ], "fix_groups": [ { "counts": { "confirmed": 3938, "exploit_available": 69, "known_exploited": 43, "total": 3938 }, "cve_ids": [ "CVE-2025-59287" ], "derived": false, "fix": "install KB5131085 (latest cumulative, build 10.0.17763.9487)", "fix_type": "kb", "group_rank": 1, "highest_score": { "bcs": 10.0, "cvss": 9.9 }, "kb": "KB5131085", "kbs_covered": [ "KB5043050" ], "source": "microsoft" } ], "labels": [], "map_note": null, "microsoft_product": "Windows Server 2019", "patch_resolved": true, "result_hash": "sha256:5671f31376637105dd564445d5ed1750112a52e87bd05317b8ea8bf73fedf0ed", "warnings": [] } ], "fix_summary": [ { "asset_ids": [ "WIN-01" ], "counts": { "assets": 1, "confirmed": 3938, "cves": 3938, "exploit_available": 69, "known_exploited": 43 }, "derived": false, "fix": "install KB5131085 (latest cumulative, build 10.0.17763.9487)", "fix_type": "kb", "highest_score": { "bcs": 10.0, "cvss": 9.9 }, "product": "Windows Server 2019", "rank": 1, "source": "microsoft" } ], "rejected": [] }, "meta": { "api_version": "2", "billing": { "balance": { "has_plan": true, "next_package_expiry": null, "package_checks": 0.0, "period_end": "2027-01-02T01:32:13.958713+00:00", "period_start": "2026-12-03", "plan_device_checks": 5000, "plan_remaining_checks": 4997.0, "plan_used_checks": 3.0, "total_remaining_checks": 4997.0, "unlimited": false }, "device_checks_charged": 1, "retry": false }, "filters": { "confirmed_only": false, "fix_available_only": false, "known_exploited_only": false }, "microsoft_data_as_of": "2026-12-01T01:37:15+00:00", "sort": "priority", "stored": false, "took_ms": 11060 } } ``` ## Check Windows Hosts for Changes (operationId checkWindowsChanges) `POST /api/v2/assets/check-windows/changes` Re-check Windows hosts you already have a result_hash for; each host comes back changed or unchanged. Access: any key. Cost: a tenth of a device check per host. Example request body: ```json { "windows_hosts": [ { "asset_id": "WIN-01", "os_product": "Windows Server 2019 Standard", "edition_id": "ServerStandard", "os_build": "10.0.17763.6189", "architecture": "x64", "installation_type": "Server", "collected_at": "2026-12-01T10:00:00Z", "result_hash": "sha256:5671f31376637105dd564445d5ed1750112a52e87bd05317b8ea8bf73fedf0ed" } ] } ``` Request body schema: ```json { "type": "object", "required": [ "windows_hosts" ], "properties": { "windows_hosts": { "type": "array", "maxItems": 25, "items": { "type": "object", "required": [ "asset_id", "os_product", "os_build" ], "additionalProperties": true, "properties": { "asset_id": { "type": "string", "description": "Neutral id such as WIN-01. Never a host name." }, "os_product": { "type": "string", "example": "Windows Server 2019 Standard" }, "edition_id": { "type": "string", "example": "ServerStandard" }, "os_build": { "type": "string", "example": "10.0.17763.6189" }, "architecture": { "type": "string", "example": "x64" }, "installation_type": { "type": "string", "example": "Server" }, "collected_at": { "type": "string", "format": "date-time" }, "installed_kbs": { "type": "array", "items": { "type": "string" }, "description": "Installed KB numbers" }, "result_hash": { "type": "string", "description": "Changes endpoint only: from the last result" } } } } } } ``` Example response (200): ```json { "data": { "changed": [ "WIN-01" ], "rejected": [], "results": [ { "asset_id": "WIN-01", "changed": true, "current_hash": "sha256:5671f31376637105dd564445d5ed1750112a52e87bd05317b8ea8bf73fedf0ed" } ] }, "meta": { "api_version": "2", "billing": { "balance": { "has_plan": true, "next_package_expiry": null, "package_checks": 0.0, "period_end": "2027-01-02T01:32:13.958713+00:00", "period_start": "2026-12-03", "plan_device_checks": 5000, "plan_remaining_checks": 4996.7, "plan_used_checks": 3.3, "total_remaining_checks": 4996.7, "unlimited": false }, "device_checks_charged": 0.1, "retry": false }, "stored": false, "took_ms": 176 } } ``` ## Error statuses - 400: Bad request (e.g. unknown query parameter). - 401: Missing, unknown, revoked or expired key. Send Authorization: Bearer bs_live_... - 403: Outside the key's scope (INTEGRATION_SCOPE / PARTNER_SCOPE), read-only key on a write action, access ended (INTEGRATION_ACCESS_ENDED), or an account limit reached (error cap_exceeded with resource, limit and current: integration testing allows 1 environment and 200 assets). - 404: Not found, or not in this account (other accounts' environments are never visible). - 413: Too many devices or hosts in one request. - 422: Validation failed, or identifying data refused (FORBIDDEN_FIELD / forbidden_value). - 429: RATE_LIMITED (30 a minute), FEED_LIMIT (2,000 list requests a day) or CREDITS_EXHAUSTED (device checks used up). Wait retry_after_seconds when retryable.