# Network Exposure & Certificate Tooling API > CIDR math, exposure diffs, Recog banner fingerprints, CPE matching, CVSS scoring, JA3/JA4, X.509/CSR decode, Mozilla chain build, SSH key audit, Nmap summarisation, port risk tiers, firewall anomalies, DNS zone audit and offline DNSSEC — pure compute on caller-supplied blobs. Each paid operation uses a fixed USDC price on Base with the x402 exact scheme. Unpaid GET, HEAD, and POST return 402 payment terms (POST validates the body only after payment terms are satisfied). A request that carries payment-signature is not yet charged: settlement happens only after a successful (2xx) result. HTTP 4xx/5xx are not charged. Coverage bodies with status complete, partial, or failed all return HTTP 200 and are charged at the full listed price. Settled 2xx responses include a payment-response header; 4xx/5xx do not. Follow https://www.brainiac.software/agent-instructions.txt for install, payment pins, idempotency, and billing rules. - Product: https://www.brainiac.software/api/network-exposure - Docs: https://www.brainiac.software/api/network-exposure/docs - OpenAPI: https://www.brainiac.software/api/network-exposure/openapi.json - Contact: support@brainiac.software (https://www.brainiac.software/contact) ## Operations ### POST /api/v1/network-exposure/cidr-calculate $0.02 USDC. Describe, aggregate or relate CIDR blocks without network access. Inputs: operation, cidr Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-cidr-calculate Example request: ```json { "operation": "describe", "cidr": "192.168.10.37/27" } ``` Example response: ```json { "input": "192.168.10.37/27", "network": "192.168.10.32/27", "hostBitsSet": true, "version": 4, "netmask": "255.255.255.224", "hostmask": "0.0.0.31", "broadcast": "192.168.10.63", "firstHost": "192.168.10.33", "lastHost": "192.168.10.62", "addresses": "32", "usableHosts": "30", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/ip-list-diff $0.03 USDC. Report new, closed and changed services between before and after snapshots. Inputs: before, after Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-ip-list-diff Example request: ```json { "before": [ { "ip": "198.51.100.10", "port": 22, "protocol": "tcp", "service": "ssh", "banner": "OpenSSH_8.9p1" }, { "ip": "198.51.100.10", "port": 80, "protocol": "tcp", "service": "http", "banner": "nginx/1.24.0" }, { "ip": "198.51.100.11", "port": 3306, "protocol": "tcp", "service": "mysql" } ], "after": [ { "ip": "198.51.100.10", "port": 22, "protocol": "tcp", "service": "ssh", "banner": "OpenSSH_9.6p1" }, { "ip": "198.51.100.10", "port": 80, "protocol": "tcp", "service": "http", "banner": "nginx/1.24.0" }, { "ip": "198.51.100.12", "port": 3389, "protocol": "tcp", "service": "ms-wbt-server" } ] } ``` Example response: ```json { "new": [ { "ip": "198.51.100.12", "port": 3389, "protocol": "tcp", "service": "ms-wbt-server" } ], "closed": [ { "ip": "198.51.100.11", "port": 3306, "protocol": "tcp", "service": "mysql" } ], "changed": [ { "ip": "198.51.100.10", "port": 22, "protocol": "tcp", "fields": { "banner": [ "OpenSSH_8.9p1", "OpenSSH_9.6p1" ] } } ], "unchanged": 1, "newHosts": [ "198.51.100.12" ], "goneHosts": [ "198.51.100.11" ], "duplicates": 0, "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/service-banner-fingerprint $0.03 USDC. Match banners against vendored Rapid7 Recog fingerprints. Inputs: items Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-service-banner-fingerprint Example request: ```json { "items": [ { "type": "ssh_banner", "value": "OpenSSH_8.9p1 Ubuntu-3ubuntu0.6" }, { "type": "http_server", "value": "nginx/1.24.0" }, { "type": "http_server", "value": "Apache/2.4.58 (Ubuntu)" } ] } ``` Example response: ```json { "results": [ { "value": "OpenSSH_8.9p1 Ubuntu-3ubuntu0.6", "matches": [ { "description": "OpenSSH running on Ubuntu", "params": { "service.version": "8.9p1", "openssh.comment": "Ubuntu-3ubuntu0.6", "service.vendor": "OpenBSD", "service.family": "OpenSSH", "service.product": "OpenSSH", "service.cpe23": "cpe:/a:openbsd:openssh:8.9p1", "os.vendor": "Ubuntu", "os.family": "Linux", "os.product": "Linux", "os.certainty": "0.75", "os.cpe23": "cpe:/o:canonical:ubuntu_linux:-" } } ] }, { "value": "nginx/1.24.0", "matches": [ { "description": "nginx with version info and/or mods", "params": { "service.product": "nginx", "service.family": "nginx", "service.vendor": "nginx", "service.version": "1.24.0", "service.cpe23": "cpe:/a:f5:nginx:1.24.0" } } ] }, "…" ], "recogRevision": "f1191e24332c51d6a3d98457f64fba8dec340784", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "Rapid7 Recog fingerprints (BSD-2-Clause)", "url": "https://github.com/rapid7/recog", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/cpe-parse-match $0.02 USDC. Unbind CPE 2.2/2.3 names and test version-range criteria. Inputs: cpe, criteria? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-cpe-parse-match Example request: ```json { "cpe": "cpe:/a:apache:http_server:2.4.49", "criteria": [ { "criteria": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.4.0", "versionEndExcluding": "2.4.51" } ] } ``` Example response: ```json { "wfn": { "part": "a", "vendor": "apache", "product": "http_server", "version": "2.4.49", "update": "ANY", "edition": "ANY", "language": "ANY", "sw_edition": "ANY", "target_sw": "ANY", "target_hw": "ANY", "other": "ANY" }, "formattedString": "cpe:2.3:a:apache:http_server:2.4.49:*:*:*:*:*:*:*", "uri": "cpe:/a:apache:http_server:2.4.49", "matches": [ { "index": 0, "match": true } ], "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/cvss-calculate $0.02 USDC. Validate a CVSS vector and compute base/temporal/environmental or v4 scores. Inputs: vector Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-cvss-calculate Example request: ```json { "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U" } ``` Example response: ```json { "version": "4.0", "valid": true, "score": 8.1, "severity": "High", "nomenclature": "CVSS-BT", "macroVector": "000220", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "FIRST CVSS v4.0 calculator data (BSD-2-Clause)", "url": "https://github.com/FIRSTdotorg/cvss-v4-calculator", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/tls-fingerprint-compute $0.03 USDC. Derive JA3/JA4 from ClientHello fields without capturing traffic. Inputs: transport?, legacyVersion?, supportedVersions?, ciphers?, extensions?, signatureAlgorithms?, alpn?, supportedGroups?, ecPointFormats?, clientHelloHex? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-tls-fingerprint-compute Example request: ```json { "transport": "tcp", "legacyVersion": 771, "supportedVersions": [ 772, 771 ], "ciphers": [ "1301", "1302", "1303", "c02b", "c02f", "c02c", "c030", "cca9", "cca8", "c013", "c014", "009c", "009d", "002f", "0035" ], "extensions": [ "001b", "0000", "0033", "0010", "4469", "0017", "002d", "000d", "0005", "0023", "0012", "002b", "ff01", "000b", "000a", "0015" ], "signatureAlgorithms": [ "0403", "0804", "0401", "0503", "0805", "0501", "0806", "0601" ], "alpn": [ "h2", "http/1.1" ], "supportedGroups": [ 29, 23, 24 ], "ecPointFormats": [ 0 ] } ``` Example response: ```json { "ja4": "t13d1516h2_8daaf6152771_e5627efa2ab1", "ja4_r": "t13d1516h2_002f,0035,009c,009d,1301,1302,1303,c013,c014,c02b,c02c,c02f,c030,cca8,cca9_0005,000a,000b,000d,0012,0015,001…", "ja3": "c000e2caf3a25423f9de6c8a4b12a975", "ja3String": "771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,27-0-51-16-17513-23-45-13-5-35-18-43-6…", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "FoxIO JA4 (BSD-3-Clause) and Salesforce JA3 (BSD-3-Clause)", "url": "https://github.com/FoxIO-LLC/ja4", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/x509-decode $0.03 USDC. Parse PEM/DER certificates and apply NIST/BR validity flags. Inputs: pem?, derBase64?, now? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-x509-decode Example request: ```json { "pem": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwTzELMAkGA1UE\nBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2VhcmNo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gEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL\nubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ3BebYhtF8GaV\n0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KKNFtY2PwByVS5uCbMiogziUwt\nhDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJw\nTdwJx4nLCgdNbOhdjsnvzqvHu7UrTkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nx\ne5AW0wdeRlN8NwdCjNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZA\nJzVcoyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq4RgqsahD\nYVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9n\nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJ\nm+kXQ99b21/+jh5Xos1AnX5iItreGCc=\n-----END CERTIFICATE-----\n", "now": "2026-11-14T00:00:00Z" } ``` Example response: ```json { "certificates": [ { "subject": "C=US\nO=Internet Security Research Group\nCN=ISRG Root X1", "issuer": "C=US\nO=Internet Security Research Group\nCN=ISRG Root X1", "selfSigned": true, "serialHex": "8210cfb0d240e3594463e0bb63828b00", "notBefore": "2015-06-04T11:04:38Z", "notAfter": "2035-06-04T11:04:38Z", "validity": "valid", "publicKey": { "type": "RSA", "bits": 4096 }, "signatureAlgorithm": "sha256WithRSAEncryption", "sans": [], "isCA": true, "sha256": "96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6", "sha1": "cabd2a79a1076a31f21d253635cb039d4329a5e8", "flags": [] } ], "evaluatedAt": "2026-11-14T00:00:00Z", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "CA/Browser Forum TLS Baseline Requirements v2.3.1 §6.3.2; NIST SP 800-131A Rev. 2", "url": "https://cabforum.org/working-groups/server/baseline-requirements/", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/csr-decode-validate $0.03 USDC. Verify CSR self-signature and check key/SAN policy. Inputs: csrPem, policy? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-csr-decode-validate Example request: ```json { "csrPem": "-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwPTEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tMRQwEgYDVQQK\nDAtFeGFtcGxlIEx0ZDELMAkGA1UEBhMCR0IwggEiMA0GCSqGSIb3DQEBAQUAA4IB\nDwAwggEKAoIBAQCmAp8cymc6Y6IYvRHeNyoS4SukrpAqqwUxQfB93PTIlzM+dBe6\namfdgk72SVECDMMSPPXdBrYccGNopb05lOYrWjhsK1mtDGkPP/WHITp/7lOnZs/h\nYiPccdQW3XQTzyteQTNLBK2VW+RrxsdO4iy32yqN6JSUSFS1V69puX9X+Fk3i7Wj\nDzbo7aQ7vrt0jdt8MfalvHS04jWB9yGR6nih1Lq/rEHYPWEiv482rBQk6aJLXBQI\ncsuFLYZmipXgYcAENZEbuY4YIDVYRXuOnJ2aG3UnqOMyhEee+7x/Qb01hem3j/4+\nbvI6qxJiTqWbATZw9sDtppuT+0ZTC6RG/oQfAgMBAAGgOjA4BgkqhkiG9w0BCQ4x\nKzApMCcGA1UdEQQgMB6CD3d3dy5leGFtcGxlLmNvbYILZXhhbXBsZS5jb20wDQYJ\nKoZIhvcNAQELBQADggEBAB54LHsLSPKhOU0Ocfup3oI6wCjHU/VLM7cfEKb5grRD\n8dHd53Uqjzw/U1/+kzEEDJfjHhQrtOBhTNfB+g+fMON0mmNFfVzCEW+ByMlymqi2\n676YWeWRsYeq9/OoYjZvri/aBrTCcSZkZBekbYmihUJtZWSId0VZSVTfbx9DaYRE\n/PSw/KqE6pgcgg+V42JOsTGSECiiWZ1K1x5vJnwAViy0KheRFFcWF5320cl5Ptll\nEPdlG7O4eVhOD5oNhIKcTBoj61olXde6Rzvon8ZX8w/V3GV8Os+aTDd6pjjR3NAk\nOixP3BoF1J/fZpbJ5R2K54AJbtWdJ+pnBU1CwOmvRZE=\n-----END CERTIFICATE REQUEST-----\n", "policy": { "minRsaBits": 2048, "allowedKeyTypes": [ "RSA", "EC" ], "allowedCurves": [ "P-256", "P-384" ], "requireSan": true, "cnMustBeInSan": true, "allowedDomains": [ "example.com" ] } } ``` Example response: ```json { "subject": "CN=www.example.com,O=Example Ltd,C=GB", "publicKey": { "type": "RSA", "bits": 2048 }, "signatureAlgorithm": "sha256WithRSAEncryption", "signatureValid": true, "sans": [ "www.example.com", "example.com" ], "violations": [], "pass": true, "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/certificate-chain-build $0.04 USDC. Chain certificates against the vendored Mozilla root store. Inputs: certificates, leafIndex?, now? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-certificate-chain-build Example request: ```json { "certificates": [ "-----BEGIN CERTIFICATE-----\nMIIFBjCCAu6gAwIBAgIRAMISMktwqbSRcdxA9+KFJjwwDQYJKoZIhvcNAQELBQAw\nTz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EZ7G2ArIK+gzhTlRQ1q4FKGpPPaFBSpqV/xbUb5UlAXQOnkHn3m\nFVj+qYv87/WeY+Bm4sN3Ox8BhyaU7UAQ3LeZ7N1X01xxQe4wIAAE3JVLUCiHmZL+\nqoCUtgYIFPgcg350QMUIWgxPXNGEncT921ne7nluI02V8pLUmClqXOsCwULw+PVO\nZCB7qOMxxMBoCUeL2Ll4oMpOSr5pJCpLN3tRA2s6P1KLs9TSrVhOk+7LX28NMUlI\nusQ/nxLJID0RhAeFtPjyOCOscQBA53+NRjSCak7P4A5jX7ppmkcJECL+S0i3kXVU\ny5Me5BbrU8973jZNv/ax6+ZK6TM8jWmimL6of6OrX7ZU6E2WqazzsFrLG3o2kySb\nzlhSgJ81Cl4tv3SbYiYXnJExKQvzf83DYotox3f0fwv7xln1A2ZLplCb0O+l/AK0\nYE0DS2FPxSAHi0iwMfW2nNHJrXcY3LLHD77gRgje4Eveubi2xxa+Nmk/hmhLdIET\niVDFanoCrMVIpQ59XWHkzdFmoHXHBV7oibVjGSO7ULSQ7MJ1Nz51phuDJSgAIU7A\n0zrLnOrAj/dfrlEWRhCvAgbuwLZX1A2sjNjXoPOHbsPiy+lO1KF8/XY7\n-----END CERTIFICATE-----\n" ], "now": "2026-11-14T00:00:00Z" } ``` Example response: ```json { "chain": [ { "subject": "C=US\nO=Let's Encrypt\nCN=R12", "sha256": "131fce7784016899a5a00203a9efc80f18ebbd75580717edc1553580930836ec" }, { "subject": "C=US\nO=Internet Security Research Group\nCN=ISRG Root X1", "sha256": "96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6", "source": "mozilla_root_store" } ], "trusted": true, "issues": [], "rootStore": { "source": "https://curl.se/ca/cacert.pem", "mozillaDataAsOf": "2026-11-05T04:12:01Z", "roots": 118 }, "revocationChecked": false, "evaluatedAt": "2026-11-14T00:00:00Z", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "Mozilla CA bundle via curl cacert.pem (MPL-2.0)", "url": "https://curl.se/ca/cacert.pem", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/ssh-key-audit $0.02 USDC. Parse OpenSSH public keys, authorized_keys and certificates. Inputs: keys, minRsaBits? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-ssh-key-audit Example request: ```json { "keys": [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8wc0fgZaOfJhN0cBcLRJQ613oAtPc3euqmKSJy7dcR fixture@example" ], "minRsaBits": 2048 } ``` Example response: ```json { "results": [ { "type": "ssh-ed25519", "bits": 256, "comment": "fixture@example", "sha256": "SHA256:GqnVTPmakhybRC27iwQ39wDKYgDJNcZJ2egHdce9w24", "md5": "MD5:8d:8f:4b:82:d3:a4:05:08:61:2c:52:05:fc:45:27:53", "options": {}, "findings": [] } ], "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/nmap-xml-summarize $0.03 USDC. Turn scan output into host/service risk summaries. Inputs: format, content Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-nmap-xml-summarize Example request: ```json { "format": "nmap_xml", "content": "
" } ``` Example response: ```json { "hostsUp": 1, "hostsDown": 1, "openPorts": 2, "byHost": [ { "ip": "198.51.100.10", "open": [ { "port": 22, "protocol": "tcp", "service": "ssh", "product": "OpenSSH", "version": "8.9p1", "riskTier": "medium" }, { "port": 3389, "protocol": "tcp", "service": "ms-wbt-server", "riskTier": "critical" } ], "filtered": 1 } ], "byService": { "ssh": 1, "ms-wbt-server": 1 }, "riskyServices": [ { "ip": "198.51.100.10", "port": 3389, "riskTier": "critical" } ], "skippedHosts": 0, "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/port-service-risk-classify $0.02 USDC. Name IANA services and assign documented risk tiers. Inputs: services Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-port-service-risk-classify Example request: ```json { "services": [ { "port": 3389, "protocol": "tcp" }, { "port": 22, "protocol": "tcp" }, { "port": 9200, "protocol": "tcp", "bannerHint": "elasticsearch" }, { "port": 443, "protocol": "tcp" } ] } ``` Example response: ```json { "results": [ { "port": 3389, "protocol": "tcp", "ianaServiceName": "ms-wbt-server", "riskTier": "critical", "rule": "remote_desktop" }, { "port": 22, "protocol": "tcp", "ianaServiceName": "ssh", "riskTier": "medium", "rule": "remote_admin_encrypted" }, "…" ], "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "IANA Service Name and Transport Protocol Port Number Registry", "url": "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/firewall-rule-analyze $0.04 USDC. Find shadowed, redundant and overly permissive iptables/nftables/AWS SG rules. Inputs: format, rules, sensitivePorts? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-firewall-rule-analyze Example request: ```json { "format": "iptables", "rules": "-A INPUT -p tcp --dport 22 -j ACCEPT\n-A INPUT -p tcp -s 10.0.0.0/8 --dport 22 -j DROP\n-A INPUT -p tcp --dport 80 -j ACCEPT\n-A INPUT -p tcp -s 192.0.2.0/24 --dport 80 -j ACCEPT", "sensitivePorts": null } ``` Example response: ```json { "findings": [ { "rule": 1, "type": "overly_permissive", "detail": "tcp/22 from any source", "severity": "medium" }, { "rule": 2, "type": "shadowed", "by": 1, "detail": "never reached: rule 1 matches a superset with a different action" }, "…" ], "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/dns-zone-audit $0.03 USDC. Flag dangling CNAMEs, wildcards, missing CAA/SPF/DMARC and TTL anomalies. Inputs: zone, origin?, deprovisionedTargets?, minTtl?, maxTtl? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-dns-zone-audit Example request: ```json { "zone": "$ORIGIN example.com.\n$TTL 3600\n@ IN SOA ns1 hostmaster 2026111401 7200 3600 1209600 300\n@ IN NS ns1\n@ IN MX 10 mail\n@ IN TXT \"v=spf1 mx -all\"\n* IN A 192.0.2.10\nold IN CNAME old-app.azurewebsites.net.\nwww 60 IN CNAME example.com.\nns1 IN A 192.0.2.1\nmail IN A 192.0.2.2", "deprovisionedTargets": [ "old-app.azurewebsites.net" ], "minTtl": 300, "maxTtl": 604800 } ``` Example response: ```json { "origin": "example.com.", "records": 9, "findings": [ { "type": "wildcard_record", "name": "*.example.com.", "rrtype": "A" }, { "type": "dangling_cname", "name": "old.example.com.", "target": "old-app.azurewebsites.net." }, "…" ], "spf": { "present": true, "record": "v=spf1 mx -all" }, "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ``` ### POST /api/v1/network-exposure/dnssec-validate-offline $0.04 USDC. Check DNSKEY, DS and RRSIG material without network queries. Inputs: dnskeys?, ds?, rrset?, rrsigs?, now? Docs: https://www.brainiac.software/api/network-exposure/docs#network-exposure-dnssec-validate-offline Example request: ```json { "dnskeys": [ "example.com. 3600 IN DNSKEY 257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4=" ], "ds": [ "example.com. 3600 IN DS 3613 15 2 3aa5ab37efce57f737fc1627013fee07bdf241bd10f3b1964ab55c78e79a304b" ], "rrset": [ "example.com. 3600 IN MX 10 mail.example.com." ], "rrsigs": [ "example.com. 3600 IN RRSIG MX 15 2 3600 20150819220000 20150729220000 3613 example.com. oL9krJun7xfBOIWcGHi7mag5/hdZrKWw15jPGrHpjQeRAvTdszaPD+QLs3fx8A4M3e23mRZ9VrbpMngwcrqNAg==" ], "now": "2015-08-08T02:13:20Z" } ``` Example response: ```json { "keys": [ { "keyTag": 3613, "algorithm": 15, "algorithmName": "ED25519", "flags": 257, "sep": true, "dsMatch": true, "dsDigestType": 2 } ], "signatures": [ { "covers": "MX", "keyTag": 3613, "valid": true, "inception": "2015-07-29T22:00:00Z", "expiration": "2015-08-19T22:00:00Z", "timeValid": true, "flags": [] } ], "secure": true, "evaluatedAt": "2015-08-08T02:13:20Z", "sources": [ { "source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally", "url": "https://www.brainiac.software/api/v1/network-exposure", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…", "Pure computation on caller input: nothing is scanned, resolved or fetched at request time." ] } ```