{"uid":"cap_iojabYKkgSSqsrTISMiX3","slug":"brainiac-security-header-audit-api-a4deb7a3","name":"BRAINIAC Security Header Audit API","description":"Read security headers from a public URL or from headers supplied by the caller. A missing header is a confirmed gap only when the response was available. This does not show that the site is secure.","url":"https://www.brainiac.software/api/v1/security-configuration/header-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tls":{"type":"object","properties":{"issuer":{"type":"string","maxLength":200},"subject":{"type":"string","maxLength":200},"validTo":{"type":"string","maxLength":80},"protocol":{"type":"string","maxLength":40},"validFrom":{"type":"string","maxLength":80},"authorized":{"type":"boolean"},"hostnameMatches":{"type":"boolean"}},"additionalProperties":false},"url":{"type":"string","pattern":"^https?:\\/\\/\\S+$","maxLength":2000,"minLength":8},"paths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":4},"origin":{"type":"string","maxLength":200,"minLength":8},"headers":{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"value":{"type":"string","maxLength":4000}},"additionalProperties":false},"maxItems":40},"endpoints":{"type":"array","items":{"type":"string","pattern":"^https?:\\/\\/\\S+$","maxLength":2000,"minLength":8},"maxItems":4},"transport":{"enum":["http","https"],"type":"string"},"setCookies":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":20},"contentSecurityPolicy":{"type":"string","maxLength":8000},"contentSecurityPolicyReportOnly":{"type":"string","maxLength":8000}}},"responseSchema":{"type":"json","example":{"status":"checked","present":["content-security-policy","strict-transport-security"],"finalUrl":"","findings":[{"code":"hsts_disabled","kind":"confirmed","detail":"Strict-Transport-Security sets max-age to 0.","subject":"strict-transport-security"},{"code":"content_type_options_missing","kind":"confirmed","detail":"X-Content-Type-Options was absent.","subject":"x-content-type-options"},{"code":"framing_control_missing","kind":"confirmed","detail":"Neither X-Frame-Options nor CSP frame-ancestors was present.","subject":"x-frame-options"},{"code":"referrer_policy_missing","kind":"recommendation","detail":"Referrer-Policy was absent.","subject":"referrer-policy"},{"code":"permissions_policy_missing","kind":"recommendation","detail":"Permissions-Policy was absent.","subject":"permissions-policy"}],"checkedAt":"2026-11-03T16:00:00.000Z","transport":"https","httpStatus":0,"limitations":["These checks do not show that a website is secure.","Only one public GET is sent per supplied URL or path. No login, brute force, exploit, or credential test is attempted.","A path or endpoint is requested only when the caller lists it.","Cookie values are not copied into the response.","An unavailable check means that configuration was not in the response."],"requestedUrl":"","requestsSent":0,"websiteSecure":false,"confirmedCount":3,"unavailableCount":0,"securityDetermined":false,"recommendationCount":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w5etCEvRrTid8Yp8kodMu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits HTTP security headers for a given URL and returns confirmed findings, recommendations, and gaps in security configuration","exampleAgentPrompt":"Can you audit the security headers for https://www.mystore.com and tell me what's missing or misconfigured — I want to know about HSTS, CSP, X-Frame-Options, referrer policy, and anything else that's a problem?","exampleUseCases":[{"title":"Pre-launch security header review","prompt":"Before we go live with our new SaaS app at https://app.example.com, can you check all the security headers and tell me which ones are missing or misconfigured so we can fix them?"},{"title":"Compliance audit for client website","prompt":"Run a security header audit on https://www.clientsite.org — I need a full report on HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, and referrer policy so I can include it in the security review."},{"title":"Diagnosing a reported clickjacking risk","prompt":"Someone flagged that https://www.ourportal.com might be vulnerable to clickjacking — can you check whether X-Frame-Options or CSP frame-ancestors is properly set, and also look at any other header issues while you're at it?"}],"resultDescription":"A JSON object listing which security headers were present, an array of findings each with a code, kind (confirmed or recommendation), detail message, and subject header name, plus metadata including HTTP status, transport type, timestamp, request count, counts of confirmed issues and recommendations, and a boolean indicating whether the site can be considered secure.","failureModes":["Unreachable URL returns no header data or connection error","TLS mismatch or authorization failure may limit checks","Headers absent from response are reported as unavailable rather than failing","Only public GET requests are sent — authenticated or POST-only endpoints won't be fully checked","No exploit or brute-force is attempted, so some misconfigurations behind auth walls won't surface","Malformed URL rejected by input pattern validation","Max 4 paths and 4 endpoints supported per call"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call, no-account security header audit for a web URL — especially when you want structured machine-readable findings (codes, kinds, details) rather than a human-readable report. Prefer it over manual curl inspection or heavyweight scanners when you need lightweight, agentic, programmatic security checks integrated into a workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:24.196Z","isFirstParty":false,"canonicalSlug":"brainiac-security-header-audit-api-a4deb7a3"}