Capabilities / Domain

Check a domain's security in one call: email, TLS and website

domain.security_check, version 1. $0.006 per call.

What it checks

One call that runs the email security check (SPF, DMARC, MTA-STS, DKIM, DNSSEC), the TLS and post-quantum check, and the HTTP security headers check for a domain, and returns one merged report sorted by severity. The pre-launch checklist for a domain, for one price.

In the example run below, the report listed what it checked:

  • email: MX records
  • email: SPF (syntax, all-qualifier, 10-lookup limit, includes)
  • email: DMARC (policy, pct, reporting)
  • email: DNSSEC validation flag
  • tls: One handshake offering hybrid post-quantum then classical groups
  • tls: One handshake offering only X25519MLKEM768
  • tls: Leaf certificate: key, signature, expiry, hostname match
  • http: One HTTPS GET of / (headers and cookies)
  • http: One plain HTTP GET of / (redirect to HTTPS)

What it does not check

Every report lists this in coverage.not_checked. In the example run:

  • email: DKIM (pass dkim_selectors; selectors cannot be discovered from DNS)
  • email: Whether your mail servers accept STARTTLS and present valid certificates
  • email: BIMI and ARC
  • email: Actual delivery or spam-folder placement
  • tls: Full list of protocol versions and cipher suites the server accepts
  • tls: Certificate chain trust and revocation
  • tls: Other IP addresses behind the same name
  • tls: HTTP security headers
  • http: Other pages and API routes (headers can differ per path)
  • http: Content of the page
  • http: Headers added only for logged-in users

A clean result means these checks found nothing. It does not mean the target is secure.

Input

FieldTypeRequiredMeaning
domainstring, up to 253 charsyesDomain, e.g. example.com
dkim_selectorslist of string, up to 63 chars (up to 10)noDKIM selectors to check, e.g. google, selector1

Output: A findings report (schema security-findings/v1) merging email, tls and http parts; facts holds each part's facts.

Price

$0.006 per call. The most one run can cost is $0.006, so pass max_usd of at least 0.006. That amount is held while the run works; you pay the actual charge and the rest returns to your balance. Failed runs are free. Time limit: 90 seconds.

Call it

REST

curl -s https://api.brainbacked.com/v1/runs \
  -H "Authorization: Bearer $BRAINBACKED_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "capability": "domain.security_check",
    "input": {"domain":"example.com"},
    "max_usd": 0.006
  }'

MCP tool calls

run {
  "capability": "domain.security_check",
  "input": {
    "domain": "example.com"
  },
  "max_usd": 0.006
}

Example response

A real run, recorded 2026-12-04 01:36 UTC. The request input was {"domain":"brainbacked.com"}.

brainbacked.com: 3 findings: 2 medium, 1 low. Status succeeded, cost $0.0060 (max $0.006), 841 ms, recorded 2026-12-04 01:36 UTC.
SeverityFindingWhereFix
medium No DMARC record: others can send mail that looks like it comes from this domainNo v=DMARC1 TXT record at _dmarc.brainbacked.com brainbacked.com Publish a DMARC record. Start with p=none and a rua address to collect reports, then move to quarantine or reject._dmarc.brainbacked.com TXT "v=DMARC1; p=none; rua=mailto:dmarc@brainbacked.com"
medium No SPF recordNo TXT record starting v=spf1 at brainbacked.com brainbacked.com Publish an SPF record listing the services that send your mail, ending in -all or ~all.
low DNS answers for this domain are not DNSSEC-validatedResolver did not set the AD (authenticated data) flag brainbacked.com Enable DNSSEC at your DNS host and publish the DS record at your registrar.

Checked

  • email: MX records
  • email: SPF (syntax, all-qualifier, 10-lookup limit, includes)
  • email: DMARC (policy, pct, reporting)
  • email: DNSSEC validation flag
  • tls: One handshake offering hybrid post-quantum then classical groups
  • tls: One handshake offering only X25519MLKEM768
  • tls: Leaf certificate: key, signature, expiry, hostname match
  • http: One HTTPS GET of / (headers and cookies)
  • http: One plain HTTP GET of / (redirect to HTTPS)

Not checked

  • email: DKIM (pass dkim_selectors; selectors cannot be discovered from DNS)
  • email: Whether your mail servers accept STARTTLS and present valid certificates
  • email: BIMI and ARC
  • email: Actual delivery or spam-folder placement
  • tls: Full list of protocol versions and cipher suites the server accepts
  • tls: Certificate chain trust and revocation
  • tls: Other IP addresses behind the same name
  • tls: HTTP security headers
  • http: Other pages and API routes (headers can differ per path)
  • http: Content of the page
  • http: Headers added only for logged-in users

Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure.

Raw JSON response
{
  "id": "run_3NPLZzULa9e0INgceByv",
  "capability": "domain.security_check",
  "version": 1,
  "status": "succeeded",
  "output": {
    "schema": "security-findings/v1",
    "capability": "domain.security_check",
    "target": "brainbacked.com",
    "generated_at": "2026-12-04T01:36:22.790Z",
    "coverage": {
      "checked": [
        "email: MX records",
        "email: SPF (syntax, all-qualifier, 10-lookup limit, includes)",
        "email: DMARC (policy, pct, reporting)",
        "email: DNSSEC validation flag",
        "tls: One handshake offering hybrid post-quantum then classical groups",
        "tls: One handshake offering only X25519MLKEM768",
        "tls: Leaf certificate: key, signature, expiry, hostname match",
        "http: One HTTPS GET of / (headers and cookies)",
        "http: One plain HTTP GET of / (redirect to HTTPS)"
      ],
      "not_checked": [
        "email: DKIM (pass dkim_selectors; selectors cannot be discovered from DNS)",
        "email: Whether your mail servers accept STARTTLS and present valid certificates",
        "email: BIMI and ARC",
        "email: Actual delivery or spam-folder placement",
        "tls: Full list of protocol versions and cipher suites the server accepts",
        "tls: Certificate chain trust and revocation",
        "tls: Other IP addresses behind the same name",
        "tls: HTTP security headers",
        "http: Other pages and API routes (headers can differ per path)",
        "http: Content of the page",
        "http: Headers added only for logged-in users"
      ]
    },
    "summary": {
      "critical": 0,
      "high": 0,
      "medium": 2,
      "low": 1,
      "info": 0,
      "unknown": 0
    },
    "findings": [
      {
        "id": "fnd_8cf4ade5d9fecb01",
        "source": {
          "engine": "dns-over-https",
          "engine_version": "sec-native/1",
          "rule": "dmarc.missing"
        },
        "asset": {
          "type": "domain",
          "ref": "brainbacked.com"
        },
        "identifiers": [],
        "references": [],
        "limitations": [],
        "kind": "misconfiguration",
        "title": "No DMARC record: others can send mail that looks like it comes from this domain",
        "severity": "medium",
        "severity_basis": "rule default",
        "confidence": "confirmed",
        "basis": "observed",
        "evidence": [
          "No v=DMARC1 TXT record at _dmarc.brainbacked.com"
        ],
        "remediation": {
          "summary": "Publish a DMARC record. Start with p=none and a rua address to collect reports, then move to quarantine or reject.",
          "action": "add_record",
          "detail": {
            "name": "_dmarc.brainbacked.com",
            "type": "TXT",
            "value": "v=DMARC1; p=none; rua=mailto:dmarc@brainbacked.com"
          }
        }
      },
      {
        "id": "fnd_e53e5faa475d2688",
        "source": {
          "engine": "dns-over-https",
          "engine_version": "sec-native/1",
          "rule": "spf.missing"
        },
        "asset": {
          "type": "domain",
          "ref": "brainbacked.com"
        },
        "identifiers": [],
        "references": [],
        "limitations": [],
        "kind": "misconfiguration",
        "title": "No SPF record",
        "severity": "medium",
        "severity_basis": "rule default",
        "confidence": "confirmed",
        "basis": "observed",
        "evidence": [
          "No TXT record starting v=spf1 at brainbacked.com"
        ],
        "remediation": {
          "summary": "Publish an SPF record listing the services that send your mail, ending in -all or ~all.",
          "action": "add_record",
          "detail": {
            "name": "brainbacked.com",
            "type": "TXT",
            "value": null
          }
        }
      },
      {
        "id": "fnd_a4c023ec12053d0a",
        "source": {
          "engine": "dns-over-https",
          "engine_version": "sec-native/1",
          "rule": "dnssec.unsigned"
        },
        "asset": {
          "type": "domain",
          "ref": "brainbacked.com"
        },
        "identifiers": [],
        "references": [],
        "limitations": [
          "Checked through one validating resolver (Cloudflare 1.1.1.1)."
        ],
        "kind": "misconfiguration",
        "title": "DNS answers for this domain are not DNSSEC-validated",
        "severity": "low",
        "severity_basis": "rule default",
        "confidence": "high",
        "basis": "observed",
        "evidence": [
          "Resolver did not set the AD (authenticated data) flag"
        ],
        "remediation": {
          "summary": "Enable DNSSEC at your DNS host and publish the DS record at your registrar.",
          "action": "change_config"
        }
      }
    ],
    "facts": {
      "email": {
        "mx": [],
        "dnssec_validated": false,
        "spf": [],
        "dmarc": []
      },
      "tls": {
        "address": "216.198.79.1",
        "protocol": "TLSv1.3",
        "cipher": "TLS_AES_128_GCM_SHA256",
        "key_exchange_group": "X25519MLKEM768",
        "post_quantum_key_exchange": true,
        "pq_only_handshake": {
          "accepted": true,
          "group": "X25519MLKEM768"
        },
        "certificate": {
          "subject": "CN=brainbacked.com",
          "issuer": "CN=YR1,O=Let's Encrypt,C=US",
          "key_algorithm": "rsaEncryption",
          "key_bits": 2048,
          "signature_algorithm": "sha256WithRSAEncryption",
          "not_after": "2027-01-12T19:04:29+00:00",
          "days_left": 39,
          "dns_names": [
            "brainbacked.com"
          ]
        },
        "chain": [
          {
            "subject": "CN=YR1,O=Let's Encrypt,C=US",
            "issuer": "CN=Root YR,O=ISRG,C=US",
            "key_algorithm": "rsaEncryption",
            "key_bits": 2048,
            "signature_algorithm": "sha256WithRSAEncryption",
            "not_after": "2028-09-02T23:59:59+00:00",
            "days_left": 638,
            "dns_names": []
          },
          {
            "subject": "CN=Root YR,O=ISRG,C=US",
            "issuer": "CN=ISRG Root X1,O=Internet Security Research Group,C=US",
            "key_algorithm": "rsaEncryption",
            "key_bits": 4096,
            "signature_algorithm": "sha256WithRSAEncryption",
            "not_after": "2032-09-02T23:59:59+00:00",
            "days_left": 2099,
            "dns_names": []
          }
        ],
        "quantum_assessment": {
          "key_exchange": "post-quantum hybrid (protects recorded traffic)",
          "authentication": "classical (rsaEncryption 2048); expected: post-quantum certificates are not yet issued by public CAs"
        }
      },
      "http": {
        "address": "216.198.79.1",
        "status": 200,
        "headers": {
          "accept-ranges": [
            "bytes"
          ],
          "access-control-allow-origin": [
            "*"
          ],
          "age": [
            "599"
          ],
          "cache-control": [
            "public, max-age=0, must-revalidate"
          ],
          "content-disposition": [
            "inline"
          ],
          "content-length": [
            "69952"
          ],
          "content-security-policy": [
            "default-src 'self'; connect-src 'self' https://api.brainbacked.com; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'"
          ],
          "content-type": [
            "text/html; charset=utf-8"
          ],
          "date": [
            "Fri, 04 Dec 2026 01:36:22 GMT"
          ],
          "etag": [
            "\"390f100320ae20e0848afc558661f5c1\""
          ],
          "last-modified": [
            "Fri, 04 Dec 2026 01:26:23 GMT"
          ],
          "referrer-policy": [
            "strict-origin-when-cross-origin"
          ],
          "server": [
            "Vercel"
          ],
          "strict-transport-security": [
            "max-age=63072000"
          ],
          "x-content-type-options": [
            "nosniff"
          ],
          "x-vercel-cache": [
            "HIT"
          ],
          "x-vercel-id": [
            "sfo1::ldqx6-1796348182442-79ba3137fafd"
          ]
        },
        "cookies": [],
        "http_redirect": {
          "status": 308,
          "location": "https://brainbacked.com/",
          "to_https": true
        }
      }
    },
    "notice": "Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure."
  },
  "artifacts": [],
  "cost_usd": 0.006,
  "max_cost_usd": 0.006,
  "error": null,
  "created_at": "2026-12-04T01:36:21.825Z",
  "finished_at": "2026-12-04T01:36:22.818Z",
  "duration_ms": 841
}

Data and network

Makes ordinary client connections to a host you name, the same traffic a browser sends. It runs no intrusive tests. Connects only to the host named in domain, on ports 443, 80. Each host is checked at most 5 times per 10 minutes and 30 times per day across all users. Hosts that opted out are refused.

What leaves our servers: cloudflare-dns.com (DNS names); the named domain (two TLS handshakes, one HTTPS and one HTTP request, the MTA-STS policy file). Uploaded files and result files are deleted after 7 days. Customer data is never used to train models.

License basis: Our code; OpenSSL 3.5+ (Apache-2.0).