# BRAINIAC Public Endpoint Security Configuration Auditor

> BRAINIAC Public Endpoint Security Configuration Auditor is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-16).

Audits a public web endpoint's security configuration, checking TLS, HSTS, headers, cookies, CSP, and transport for vulnerabilities and misconfigurations

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/security-configuration/public-endpoint-audit?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-public-endpoint-security-configuration-auditor-cfa59a96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EXfr4wddGAgvZB48TESCF

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-public-endpoint-security-configuration-auditor-cfa59a96 -d '<json body>'
```

Example prompt: Can you do a security configuration audit of https://api.myapp.com — check its TLS setup (issued by Let's Encrypt, valid through 2026-03-01, using TLS 1.3), verify HSTS and content-type options headers are present, and flag any misconfigurations?

## When to prefer this

Use this endpoint when you need a lightweight, no-account, pay-per-call security header and TLS audit of a single public URL. It is ideal for agents that need to programmatically verify web security posture without spinning up a full security scanner or managing API subscriptions. It is best suited for checking TLS metadata, HSTS, CSP, content-type options, and cookie flags on a known public endpoint. Prefer alternatives if you need authenticated endpoint scanning, deep vulnerability testing, brute-force checks, or bulk crawling.

## Known failure modes

- Endpoint uses credentials in URL (user:pass@host) — not fetched, marked unavailable
- URL resolves to private/loopback address (e.g. 127.0.0.1) — not fetched for safety
- TLS fields missing or mismatched — partial results with unavailable findings
- Requested paths or endpoints not publicly reachable — requestsSent=0, findings marked unavailable
- Malformed URL input — validation error before any checks run

## 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

Returns a structured JSON report with: overall websiteSecure boolean, securityDetermined flag, a list of findings (each with a code, kind, detail, and subject), per-endpoint details (HSTS, transport, HTTP status, contentTypeOptions), a count of confirmed vs unavailable checks, any limitations of the audit, and the timestamp of the check.

## 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": {
  "status": "unavailable",
  "findings": [
   {
    "code": "endpoint_unavailable",
    "kind": "unavailable",
    "detail": "The URL contains credentials and was not fetched.",
    "subject": "https://user:pass@example.com/admin"
   },
   {
    "code": "endpoint_unavailable",
    "kind": "unavailable",
    "detail": "The address is not public and was not fetched.",
    "subject": "http://127.0.0.1/latest/meta-data"
   }
  ],
  "checkedAt": "2026-11-03T16:00:00.000Z",
  "endpoints": [
   {
    "url": "https://user:pass@example.com/admin",
    "hsts": false,
    "transport": "https",
    "httpStatus": 0,
    "contentTypeOptions": false
   },
   {
    "url": "http://127.0.0.1/latest/meta-data",
    "hsts": false,
    "transport": "http",
    "httpStatus": 0,
    "contentTypeOptions": false
   }
  ],
  "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."
  ],
  "requestsSent": 0,
  "websiteSecure": false,
  "confirmedCount": 0,
  "unavailableCount": 2,
  "securityDetermined": false,
  "recommendationCount": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-public-endpoint-security-configuration-auditor-cfa59a96/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)
