# BRAINIAC Weak Signal Detection API

> BRAINIAC Weak Signal Detection API 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 security events to surface early, low-confidence indicators of suspicious activity before a confirmed attack materializes.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/security-signals/weak-signal-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-weak-signal-detection-api-ad5d7825
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WjCJNUPMldzbN6_Y0XcmW

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-weak-signal-detection-api-ad5d7825 -d '<json body>'
```

Example prompt: Can you scan these authentication logs for weak signals of suspicious activity — I've got a JSON array of events including login attempts with outcomes, source IPs, usernames, and timestamps, and I want to know if any early threat indicators are present even if nothing is confirmed yet?

## When to prefer this

Use this endpoint when you need early-warning threat detection on a batch of security events before a confirmed attack is known — especially for SOC triage, pre-escalation screening, or automated monitoring pipelines. It is best when events contain structured fields like outcome, sourceIp, username, labels, and authMethod. Prefer this over full SIEM integrations when you want a lightweight, pay-per-call, no-account-required check that returns machine-readable signal items with reasons and evidence. Not suited for confirmed incident response or forensic analysis requiring deep correlation across large historical datasets.

## Known failure modes

- Payload too large — CSV, JSON, or text inputs exceeding 200,000 characters or files exceeding 12 MB will be rejected
- Too many files — arrays of more than 20 file objects are not accepted
- No signals found — returns empty items array when no weak indicators are detected in the supplied events
- Malformed event structure — missing required fields like fileBase64 in file objects causes validation errors
- Payment failure — x402 USDC payment on Base must succeed before the call is processed
- Ambiguous or unstructured input — free-text logs with no parseable event structure may yield low-confidence or empty results

## 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 an array of weak signal items, each with a unique ID, title, first/last seen timestamps, confidence level (e.g. medium), detection reasons (e.g. auth_failure, recon_keyword, anomaly_label), evidence records with observed facts and inferences, related event IDs, an inferred threat description, and a confirmedAttack boolean. Also includes a top-level status, a findings array with observation codes and details, the checkedAt timestamp, and a limitations section clarifying the scope of local-rule-only analysis.

## 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": "weak-signal-detect-E1",
    "title": "Weak suspicious-activity signal",
    "lastAt": "2026-11-04T20:02:00.000Z",
    "source": "Caller-supplied events; local rules only",
    "status": "signal",
    "firstAt": "2026-11-04T20:00:00.000Z",
    "reasons": [
     "auth_failure",
     "anomaly_label"
    ],
    "detector": "weak-signal-detect",
    "evidence": [
     {
      "at": "2026-11-04T20:00:00.000Z",
      "fact": "Observed authentication failure outcome. Observed anomaly/first-seen labels or wording in supplied data.",
      "eventId": "E1",
      "inference": "1 nearby same-actor events were also supplied.",
      "confidence": "medium"
     }
    ],
    "confidence": "medium",
    "observedFacts": [
     "Observed authentication failure outcome.",
     "Observed anomaly/first-seen labels or wording in supplied data."
    ],
    "inferredThreat": "Early indicator of suspicious activity may be present; not a confirmed attack.",
    "confirmedAttack": false,
    "relatedEventIds": [
     "E1",
     "E2"
    ]
   },
   {
    "id": "weak-signal-detect-E1",
    "title": "Weak suspicious-activity signal",
    "lastAt": "2026-11-04T20:02:00.000Z",
    "source": "Caller-supplied events; local rules only",
    "status": "signal",
    "firstAt": "2026-11-04T20:00:00.000Z",
    "reasons": [
     "recon_keyword"
    ],
    "detector": "weak-signal-detect",
    "evidence": [
     {
      "at": "2026-11-04T20:02:00.000Z",
      "fact": "Observed reconnaissance-like keywords in supplied event text.",
      "eventId": "E2",
      "inference": "1 nearby same-actor events were also supplied.",
      "confidence": "medium"
     }
    ],
    "confidence": "medium",
    "observedFacts": [
     "Observed reconnaissance-like keywords in supplied event text."
    ],
    "inferredThreat": "Early indicator of suspicious activity may be present; not a confirmed attack.",
    "confirmedAttack": false,
    "relatedEventIds": [
     "E1",
     "E2"
    ]
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "weak_signal",
    "kind": "observation",
    "detail": "Weak signal status=signal, confidence=medium.",
    "subject": "E1"
   },
   {
    "code": "weak_signal",
    "kind": "observation",
    "detail": "Weak signal status=signal, confidence=medium.",
    "subject": "E2"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Security events and logs are copied only from labeled fie
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-weak-signal-detection-api-ad5d7825/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)
