# BRAINIAC Website Security Configuration Report

> BRAINIAC Website Security Configuration Report is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.12/call, status unknown (last checked 2026-11-17).

Analyzes a website's HTTP security headers, TLS configuration, cookies, and CORS settings to produce a structured list of security findings and recommendations.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/security-configuration/website-report?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-website-security-configuration-report-72a7401d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c_uuFmBcZTtObQWkW8UoB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-website-security-configuration-report-72a7401d -d '<json body>'
```

Example prompt: Can you audit the security headers for https://example.com — I want to know if HSTS is configured correctly, whether the CORS policy is too permissive, and if the cookies are missing Secure or HttpOnly attributes? The site uses HTTPS and here are some of the response headers it returns.

## When to prefer this

Choose this endpoint when you need a structured, machine-readable breakdown of a website's HTTP security posture — specifically header hygiene, CORS policy, cookie attributes, CSP safety, and HSTS configuration — without needing a full penetration test. It is ideal for automated security audits in CI/CD pipelines, pre-launch checklists, or agent-driven compliance checks where you already have the HTTP response headers and TLS details available. It operates per-call with no account required via x402 micropayment, making it suitable for on-demand spot checks.

## Known failure modes

- Missing required 'url' field returns a finding with code 'url_missing' and kind 'unavailable'
- No 'origin' header provided means CORS reflection is not tested, returning 'cors_origin_untested'
- Invalid URL format rejected by pattern validation
- TLS object fields missing or incomplete may limit TLS-specific findings
- Truncated or missing headers array reduces finding coverage
- Payment failure via x402 results in no response being returned

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing: a 'status' field (e.g. 'checked'), a 'finalUrl' showing the resolved URL, a 'present' array listing which security headers were detected, a 'paths' array of checked paths, and a 'findings' array where each finding has a 'code' (e.g. 'hsts_disabled', 'cors_wildcard', 'csp_unsafe_inline'), a 'kind' indicating severity ('confirmed', 'recommendation', 'unavailable'), a 'detail' human-readable explanation, and a 'subject' naming the affected header or cookie.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "paths": [],
  "status": "checked",
  "present": [
   "access-control-allow-credentials",
   "access-control-allow-origin",
   "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"
   },
   {
    "code": "cookie_secure_missing",
    "kind": "confirmed",
    "detail": "This cookie was set on HTTPS without the Secure attribute.",
    "subject": "session"
   },
   {
    "code": "cookie_httponly_missing",
    "kind": "recommendation",
    "detail": "This cookie does not set HttpOnly. Not every cookie needs that attribute.",
    "subject": "session"
   },
   {
    "code": "cookie_samesite_missing",
    "kind": "recommendation",
    "detail": "SameSite was not set.",
    "subject": "session"
   },
   {
    "code": "cors_wildcard",
    "kind": "confirmed",
    "detail": "The response allows any origin.",
    "subject": "access-control-allow-origin"
   },
   {
    "code": "cors_wildcard_credentials",
    "kind": "confirmed",
    "detail": "The response allows any origin and also allows credentials.",
    "subject": "access-control-allow-credentials"
   },
   {
    "code": "cors_origin_untested",
    "kind": "unavailable",
    "detail": "No origin was supplied, so reflection was not tested.",
    "subject": ""
   },
   {
    "code": "csp_unsafe_inline",
    "kind": "confirmed",
    "detail": "script-src or default-src allows unsafe-inline.",
    "subject": "script-src"
   },
   {
    "code": "url_missing",
    "kind": "unavailable",
    "detail": "A public URL is required before a path is requested.",
    "subject": ""
   },
   {
    "code": "endpoints_missi
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-website-security-configuration-report-72a7401d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
