# BRAINIAC Session Hijacking Signal Detector

> BRAINIAC Session Hijacking Signal 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 sequence of authentication and session events to detect signals of session hijacking — such as IP changes, device swaps, and user-agent changes within the same session ID.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/identity-security/session-hijacking-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-session-hijacking-signal-detector-cac7b600
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SR3cHxQCBJFXSjFtgsVCK

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-session-hijacking-signal-detector-cac7b600 -d '<json body>'
```

Example prompt: I have a list of session events for user jsmith — the session S1 started from IP 203.0.113.10 on a laptop, then 20 minutes later appeared from IP 198.51.100.55 on a mobile phone with a different user-agent. Can you analyze these events and tell me if there are session hijacking signals?

## When to prefer this

Use this endpoint when you have structured session or authentication event logs and want to detect session hijacking signals locally without contacting identity providers. Ideal for SOC automation, incident triage, or periodic security audits where you want fast, pay-per-call analysis with no account setup. Prefer this over general anomaly detection when you specifically need session-scoped signals like IP changes, device swaps, and user-agent changes within a session ID.

## Known failure modes

- Missing or malformed event data returns empty findings
- Insufficient session fields (no sessionId, ip, deviceId) produce low-signal results
- Truncated or partial event arrays may miss cross-session patterns
- VPN/proxy flags absent means those mitigating factors won't be evaluated
- Events without timestamps cannot be time-correlated

## 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 session hijacking signal items, each containing a title, confidence level, first/last seen timestamps, reasons triggered (e.g. session_ip_change, device_swap_on_session), observed facts, inferred threat description, evidence entries with per-event facts and confidence, mitigating factors, and a confirmedCompromise boolean. Also includes top-level findings with codes and subjects, overall status, and limitations disclaiming that identity providers are not contacted.

## 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
     },
     "ip": {
      "type": "string",
      "maxLength": 80
     },
     "asn": {
      "type": "string",
      "maxLength": 80
     },
     "isVpn": {
      "type": "boolean"
     },
     "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
     },
     "geoCity": {
      "type": "string",
      "maxLength": 120
     },
     "isProxy": {
      "type": "boolean"
     },
     "outcome": {
      "enum": [
       "success",
       "failure",
       "challenge",
       "unknown"
      ],
      "type": "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "session-hijack-s1",
    "title": "Suspicious session change/reuse",
    "lastAt": "2026-11-04T19:20:00.000Z",
    "source": "Caller-supplied session fields; local rules only",
    "status": "signal",
    "firstAt": "2026-11-04T19:00:00.000Z",
    "reasons": [
     "session_ip_change",
     "session_device_change",
     "session_ua_change",
     "device_swap_on_session"
    ],
    "detector": "session-hijacking-signal-detect",
    "evidence": [
     {
      "at": "2026-11-04T19:00:00.000Z",
      "fact": "session=S1; ip=203.0.113.10; device=laptop-1",
      "eventId": "E1",
      "inference": "Session change/reuse indicators are not proof of hijacking alone.",
      "confidence": "medium"
     },
     {
      "at": "2026-11-04T19:20:00.000Z",
      "fact": "session=S1; ip=198.51.100.55; device=phone-9",
      "eventId": "E2",
      "inference": "Session change/reuse indicators are not proof of hijacking alone.",
      "confidence": "medium"
     }
    ],
    "confidence": "high",
    "observedFacts": [
     "Session S1 has 2 related event(s).",
     "Session reused across IPs: 203.0.113.10, 198.51.100.55.",
     "Session reused across devices: laptop-1, phone-9.",
     "User-Agent changed within the same session id.",
     "Event E2 changed device from laptop-1 to phone-9."
    ],
    "inferredThreat": "Session identifiers appearing across IPs/devices/users can indicate hijacking or shared clients.",
    "relatedEventIds": [
     "E1",
     "E2"
    ],
    "mitigatingFactors": [],
    "confirmedCompromise": false
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "session_hijack_signal",
    "kind": "conflict",
    "detail": "Session signals: session_ip_change, session_device_change, session_ua_change, device_swap_on_session (confirmedCompromise=false).",
    "subject": "S1"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "itemCount": 1,
  "oauthUsed": false,
  "limitations": [
   "Authentication logs, access events, accounts, and policy exports are copied only from caller-supplied fields. Identity providers are not contacted and OAuth is not used.",
   "Time correlation, geolocation comparison, and behavioural rules run locally over supplied records. Missing values are not invented.",
   "VPN, proxy, shared-network, and legitimate-travel labels reduce confidence when supplied. A single unusual login is never treated as proof of account compromise.",
   "Observed facts are 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-session-hijacking-signal-detector-cac7b600/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)
