# BRAINIAC Brute-Force Pattern Detector

> BRAINIAC Brute-Force Pattern Detector 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-12).

Analyzes a stream of authentication events to detect brute-force and distributed login-attack patterns, returning structured signals with evidence and confidence scores.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/security-signals/brute-force-pattern-detect?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-brute-force-pattern-detector-d7c8ab83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x2-6b7GC8xMQ9SS98wo76

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-brute-force-pattern-detector-d7c8ab83 -d '<json body>'
```

Example prompt: I have a batch of auth events from the past hour — several failed SSH logins from different IPs targeting admin accounts. Can you run them through the brute-force pattern detector and tell me if this looks like a coordinated attack, with confidence scores and which events are involved?

## When to prefer this

Use this endpoint when you have raw authentication event logs (from SIEM, application logs, or firewall exports) and need fast, structured brute-force pattern analysis without standing up your own detection infrastructure. It is ideal for pay-per-use, ad-hoc, or agent-driven security workflows where you want explainable signals with per-event evidence chains. Prefer this over generic log analysis when you specifically need brute-force/credential-attack detection with confidence scores, not broad anomaly detection.

## Known failure modes

- Insufficient events provided — no signal generated if data is too sparse
- Events missing outcome or timestamp fields may be ignored or reduce accuracy
- Truncated input (over 200,000 character limit) causes rejection
- False negatives if attacker uses slow/low-volume patterns below burst threshold
- No external threat intel enrichment — findings limited to supplied events only
- Malformed JSON or CSV input returns a parse 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 JSON object with a list of detected signals, each including: a unique ID, title, first/last seen timestamps, confidence level (high/medium/low), observed facts, inferred threat description, contributing event IDs, reasons for flagging (e.g. burst_failures, distributed_sources), whether a confirmed attack occurred, and evidence chain entries per event. Also includes a top-level status (detected/not_detected), structured findings with codes and details, the analysis timestamp, and explicit limitations about scope (e.g. only caller-supplied data is analyzed).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "fileBase64"
   ],
   "properties": {
    "role": {
     "type": "string",
     "maxLength": 80
    },
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/octet-stream"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "text/plain",
       "text/csv",
       "application/json",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "events": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "host": {
      "type": "string",
      "maxLength": 253
     },
     "count": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "action": {
      "type": "string",
      "maxLength": 120
     },
     "labels": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 80
      },
      "maxItems": 40
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "userId": {
      "type": "string",
      "maxLength": 120
     },
     "message": {
      "type": "string",
      "maxLength": 4000
     },
     "mfaUsed": {
      "type": "boolean"
     },
     "outcome": {
      "enum": [
       "success",
       "failure",
       "unknown"
      ],
      "type": "string"
     },
     "process": {
  
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "brute-force-pattern-detect-E1",
    "title": "Distributed brute-force pattern",
    "lastAt": "2026-11-04T15:04:00.000Z",
    "source": "Caller-supplied events; local rules only",
    "status": "signal",
    "firstAt": "2026-11-04T15:00:00.000Z",
    "reasons": [
     "burst_failures",
     "distributed_sources"
    ],
    "detector": "brute-force-pattern-detect",
    "evidence": [
     {
      "at": "2026-11-04T15:00:00.000Z",
      "fact": "Auth failure from 203.0.113.1",
      "eventId": "E1",
      "inference": "Counted only caller-supplied failure outcomes in the time window.",
      "confidence": "high"
     },
     {
      "at": "2026-11-04T15:01:00.000Z",
      "fact": "Auth failure from 203.0.113.2",
      "eventId": "E2",
      "inference": "Counted only caller-supplied failure outcomes in the time window.",
      "confidence": "high"
     },
     {
      "at": "2026-11-04T15:02:00.000Z",
      "fact": "Auth failure from 203.0.113.3",
      "eventId": "E3",
      "inference": "Counted only caller-supplied failure outcomes in the time window.",
      "confidence": "high"
     },
     {
      "at": "2026-11-04T15:03:00.000Z",
      "fact": "Auth failure from 203.0.113.4",
      "eventId": "E4",
      "inference": "Counted only caller-supplied failure outcomes in the time window.",
      "confidence": "high"
     },
     {
      "at": "2026-11-04T15:04:00.000Z",
      "fact": "Auth failure from 203.0.113.5",
      "eventId": "E5",
      "inference": "Counted only caller-supplied failure outcomes in the time window.",
      "confidence": "high"
     }
    ],
    "confidence": "high",
    "observedFacts": [
     "5 auth failures toward admin_ssh_1 within 30 minutes.",
     "Distinct sources observed: 5.",
     "Failure span: 4 minutes."
    ],
    "inferredThreat": "Brute-force style authentication pressure may be occurring. Not confirmation that an account was breached.",
    "confirmedAttack": false,
    "relatedEventIds": [
     "E1",
     "E2",
     "E3",
     "E4",
     "E5"
    ]
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "brute_force",
    "kind": "conflict",
    "detail": "Brute-force pattern reasons=burst_failures, distributed_sources; confirmedAttack=false.",
    "subject": "brute-force-pattern-detect-E1"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Security events and logs are copied only from labeled fields supplied by the c
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-brute-force-pattern-detector-d7c8ab83/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)
