# BRAINIAC TLS Security Audit

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

Audits a website's TLS certificate and security configuration, returning structured findings about certificate validity, protocol version, hostname matching, and trust status.

## Facts

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

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-tls-security-audit-b787802e -d '<json body>'
```

Example prompt: Can you audit the TLS certificate and security configuration for https://example.com — I want to know if the cert is valid, trusted, not expired, and using at least TLS 1.2?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call TLS/SSL certificate audit without setting up an account — especially useful for agents performing automated security checks on URLs, validating third-party integrations, or monitoring certificate health. Prefer it over full vulnerability scanners when you only need TLS and certificate-level findings.

## Known failure modes

- Invalid or unreachable URL returns an error or zero httpStatus
- TLS information fields not matching the actual server may produce inaccurate findings
- Checks marked 'unavailable' if headers or config not present in response
- Rate limiting or network errors may prevent completion
- Certificate details not resolvable if only URL is provided without TLS object

## How this service works

Read the certificate from one public HTTPS request, or from certificate fields supplied by the caller. An old protocol, an expired certificate, a name mismatch, or an untrusted certificate is confirmed. This does not show that the site is secure.

## Output

A JSON object containing the TLS certificate issuer, subject, validity dates, negotiated protocol, authorization status, hostname match status, an array of specific security findings (each with a code, kind, and detail), counts of confirmed issues and recommendations, a websiteSecure flag, and a list of audit limitations. The checkedAt timestamp and the number of requests sent are also included.

## 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": {
  "issuer": "Example",
  "status": "checked",
  "subject": "example.com",
  "validTo": "Jan 1 00:00:00 2024 GMT",
  "finalUrl": "",
  "findings": [
   {
    "code": "tls_name_mismatch",
    "kind": "confirmed",
    "detail": "The supplied certificate information says the host name does not match.",
    "subject": "example.com"
   },
   {
    "code": "tls_untrusted",
    "kind": "confirmed",
    "detail": "The supplied certificate information says the certificate is not authorized.",
    "subject": "Example"
   },
   {
    "code": "tls_expired",
    "kind": "confirmed",
    "detail": "The certificate end date is in the past.",
    "subject": "example.com"
   },
   {
    "code": "tls_protocol_old",
    "kind": "confirmed",
    "detail": "The negotiated protocol is older than TLS 1.2.",
    "subject": "TLSv1.0"
   }
  ],
  "protocol": "TLSv1.0",
  "checkedAt": "2026-11-03T16:00:00.000Z",
  "validFrom": "Jan 1 00:00:00 2020 GMT",
  "authorized": false,
  "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": 4,
  "hostnameMatches": false,
  "unavailableCount": 0,
  "securityDetermined": false,
  "recommendationCount": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-tls-security-audit-b787802e/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)
