# BRAINIAC Privilege Escalation Detector

> BRAINIAC Privilege Escalation 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 security event logs to detect privilege escalation indicators using local rule-based analysis, returning structured findings with confidence levels and observed facts.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/security-signals/privilege-escalation-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-privilege-escalation-detector-6059e228
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n3q3a0VCyJ2-P3kZ5Ut5E

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-privilege-escalation-detector-6059e228 -d '<json body>'
```

Example prompt: I have a JSON array of security events from our SIEM from the last hour — can you run them through privilege escalation detection and tell me if any accounts appear to have gained unauthorized elevated access?

## When to prefer this

Choose this endpoint when you need fast, accountless, pay-per-call privilege escalation detection over caller-supplied event data without sending logs to a persistent third-party service. It is ideal for AI agents that need explainable, rule-based findings with clear separation between observed facts and inferred threats. Prefer it over full SIEM integrations when you want lightweight, on-demand analysis paid in USDC with no API key or account setup.

## Known failure modes

- Empty or malformed event input returns no findings or a schema validation error
- Events missing privilege/role fields may produce no signals despite actual escalation
- Only local keyword and field rules are applied — sophisticated escalation without keyword signals may be missed
- Truncated CSV or JSON input (exceeding 200,000 character limits) will be rejected
- No network or external threat-intel validation is performed, so context-dependent escalation may be under-detected
- Confidence remains medium or low without corroborating multi-signal evidence

## 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 containing a list of detected privilege escalation items (each with ID, title, first/last seen timestamps, reasons triggered, evidence details, confidence level, observed facts, inferred threat, and whether a confirmed attack was claimed), overall status, structured findings with codes and subjects, a checkedAt timestamp, signal count, and a limitations array explaining the scope of local-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": "privilege-escalation-detect-E1",
    "title": "Privilege-escalation indicator",
    "lastAt": "2026-11-04T18:00:00.000Z",
    "source": "Caller-supplied events; local rules only",
    "status": "signal",
    "firstAt": "2026-11-04T18:00:00.000Z",
    "reasons": [
     "privilege_field_change",
     "escalation_keyword"
    ],
    "detector": "privilege-escalation-detect",
    "evidence": [
     {
      "at": "2026-11-04T18:00:00.000Z",
      "fact": "Observed privilege change user → local-admin. Observed privilege-escalation keywords in supplied event text.",
      "eventId": "E1",
      "inference": "Local keyword/field rules only; no endpoint agent was queried.",
      "confidence": "medium"
     }
    ],
    "confidence": "medium",
    "observedFacts": [
     "Observed privilege change user → local-admin.",
     "Observed privilege-escalation keywords in supplied event text."
    ],
    "inferredThreat": "Privilege escalation may have been attempted or completed. Not confirmed without corroborating controls evidence.",
    "confirmedAttack": false,
    "relatedEventIds": [
     "E1"
    ]
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "privilege_escalation",
    "kind": "conflict",
    "detail": "Privilege-escalation indicator confidence=medium; confirmedAttack=false.",
    "subject": "E1"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Security events and logs are copied only from labeled fields supplied by the caller. The caller's network and security infrastructure are not accessed.",
   "Detections are local rule and time-window analyses over supplied records. Missing values are not invented.",
   "Observed facts are separated from inferred threat hypotheses. Events are not labeled confirmed attacks without sufficient multi-signal evidence.",
   "No paid threat-intel feed or endpoint agent is used and no API key is required.",
   "Severity scores are explainable rule weights over supplied detections/events, not vendor risk scores."
  ],
  "signalCount": 1,
  "apiKeyRequired": false,
  "networkAccessed": false,
  "paidProviderUsed": false,
  "confirmedAttackClaimed": false,
  "infrastructureConnected": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-privilege-escalation-detector-6059e228/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)
