# BRAINIAC SOAP Security Policy Audit

> BRAINIAC SOAP Security Policy Audit 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-13).

Audits WSDL/WS-Policy documents for WS-Security misconfigurations, weak token requirements, inconsistent signing/encryption, and unresolved policy references

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/soap-security/soap-security-policy-audit?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-soap-security-policy-audit-f9c143a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DFtJOP3Fbyog8KPvMx0o4

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-soap-security-policy-audit-f9c143a7 -d '<json body>'
```

Example prompt: Audit my SOAP service's WSDL for security policy weaknesses — I'm expecting x509 token authentication with signed and encrypted body and a timestamp. Here's the WSDL content for account.wsdl and I want to focus on the AccountBinding binding.

## When to prefer this

Use this endpoint when you have WSDL, WS-Policy, or XSD documents and need a structured audit of WS-Security policy configuration — especially to detect per-operation policy weakening, token inconsistencies, missing encryption or signing, and unresolved policy references. Prefer this over manual review when you need machine-readable severity-graded findings. Best for pre-deployment security checks, compliance workflows, or agent-driven SOAP security scanning. Not suitable for runtime traffic analysis or live server enforcement verification.

## Known failure modes

- Invalid or malformed WSDL/XSD/policy XML causes parsing failure
- Document name violates naming pattern (must start alphanumeric, max 80 chars)
- More than 8 documents submitted — rejected by maxItems constraint
- Policy reference in WSDL points to external URL not included in documents — reported as policy_unresolved finding rather than a hard error
- Unsupported WS-SecurityPolicy assertion returns assertion_unsupported finding
- Payment failure via x402 if insufficient USDC balance on Base
- Empty or missing documents array causes validation error

## 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 list of security findings, each with a code (e.g. weaker_operation, token_inconsistent, sign_inconsistent, encrypt_inconsistent, policy_unresolved, assertion_unsupported, declared_only), severity level (critical/high/medium/low), detail description, binding name, operation name, and document name. Also returns an overall risk_level and a limitations list clarifying that findings are based on supplied documents only and do not reflect runtime server enforcement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "expected": {
   "type": "object",
   "properties": {
    "token": {
     "enum": [
      "username",
      "x509",
      "saml",
      "issued",
      "https",
      "kerberos",
      "secure_conversation",
      "spnego"
     ],
     "type": "string"
    },
    "signBody": {
     "type": "boolean"
    },
    "timestamp": {
     "type": "boolean"
    },
    "transport": {
     "type": "boolean"
    },
    "encryptBody": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "documents": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "role",
     "content"
    ],
    "properties": {
     "name": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
     },
     "role": {
      "enum": [
       "wsdl",
       "xsd",
       "policy"
      ],
      "type": "string"
     },
     "content": {
      "type": "string",
      "maxLength": 100000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 8,
   "minItems": 1
  },
  "selection": {
   "type": "object",
   "properties": {
    "port": {
     "type": "string",
     "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
    },
    "binding": {
     "type": "string",
     "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
    },
    "service": {
     "type": "string",
     "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
    },
    "operation": {
     "type": "string",
     "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "findings": [
   {
    "code": "weaker_operation",
    "detail": "ResetPassword requires less than the outer policy for AccountBinding: sign_body, encrypt_body, timestamp, token:x509. This compares the supplied documents only.",
    "binding": "AccountBinding",
    "document": "account.wsdl",
    "severity": "critical",
    "operation": "ResetPassword"
   },
   {
    "code": "token_inconsistent",
    "detail": "AccountBinding: The operations on this binding do not require the same tokens. This is a document comparison, not a runtime result.",
    "binding": "AccountBinding",
    "document": "account.wsdl",
    "severity": "high",
    "operation": "GetAccount"
   },
   {
    "code": "sign_inconsistent",
    "detail": "AccountBinding: The operations on this binding do not sign the body in the same way. This is a document comparison, not a runtime result.",
    "binding": "AccountBinding",
    "document": "account.wsdl",
    "severity": "high",
    "operation": "GetAccount"
   },
   {
    "code": "encrypt_inconsistent",
    "detail": "AccountBinding: The operations on this binding do not encrypt the body in the same way. This is a document comparison, not a runtime result.",
    "binding": "AccountBinding",
    "document": "account.wsdl",
    "severity": "high",
    "operation": "GetAccount"
   },
   {
    "code": "policy_unresolved",
    "detail": "Policy reference #MissingPolicy is not in the supplied documents. It was not fetched.",
    "document": "account.wsdl",
    "severity": "medium"
   },
   {
    "code": "assertion_unsupported",
    "detail": "WeirdToken is not an implemented WS-SecurityPolicy assertion. It was not treated as protection.",
    "document": "account.wsdl",
    "severity": "medium"
   },
   {
    "code": "declared_only",
    "detail": "These documents were supplied in the request. They were not fetched, and a declared policy is not evidence that a server enforces it.",
    "severity": "low"
   }
  ],
  "risk_level": "critical",
  "limitations": [
   "Documents are the XML strings in the request. Imports and policy references were not fetched.",
   "A declared policy is not evidence that a running SOAP server enforces it.",
   "Certificates and credentials are not validated.",
   "Implemented policy namespaces are WS-Policy 1.2 and 1.5, and WS-SecurityPolicy 1.2 and 1.3. Other assertions are reported and are not treated as protection.",
   "An operation with no attached policy inherits the nearest serv
… (truncated)
```

## More

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