# BRAINIAC Dormant Account Risk Detector

> BRAINIAC Dormant Account Risk Detector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-12).

Analyzes user account records and authentication events to detect dormant, still-enabled accounts that pose takeover or privilege-abuse risk.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/identity-security/dormant-account-risk-detect?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-dormant-account-risk-detector-f47a2af7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lalT8KOH4NJtXaNHU8sR6

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-dormant-account-risk-detector-f47a2af7 -d '<json body>'
```

Example prompt: I have a CSV export of our user directory and some authentication logs — can you check for any dormant accounts that are still enabled, especially privileged ones, as of November 4 2026? Flag anything that's been inactive for more than 90 days and highlight any that show sudden reactivation.

## When to prefer this

Use this endpoint when you have a local export of user accounts and optionally authentication events and need a structured, evidence-backed dormant-account risk assessment without integrating directly with an identity provider. Ideal for periodic access reviews, compliance audits, or automated security hygiene checks where you want per-account confidence scores and inferred threat hypotheses rather than just a simple inactive-account list. Prefer this over raw log analysis when you need findings formatted with reasons, mitigating factors, and confirmed-compromise flags.

## Known failure modes

- Missing or malformed account records result in no items detected
- asOf date not supplied may cause incorrect dormancy calculations
- Truncated CSV or JSON input may miss accounts
- Accounts lacking last-activity timestamps cannot be evaluated for dormancy
- Very large account exports may exceed the 200,000 character limit for csv/json fields
- Missing event data prevents sudden-reactivation detection
- No identity provider is contacted, so live account state is not verified

## 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 dormant account risk items, each with a unique ID, title, first/last activity timestamps, confidence level, observed facts, inferred threat, reasons (e.g. inactive_beyond_threshold, privileged_dormant, still_enabled, sudden_reactivation), supporting evidence with per-evidence confidence, related event IDs, mitigating factors, and a confirmed-compromise boolean. Also includes overall status (detected/not-detected), a findings array with coded conflict details, the dormant-days threshold applied, an item count, and a checkedAt timestamp. Limitations about data sourcing are included.

## 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": "dormant-A1",
    "title": "Dormant account risk",
    "lastAt": "2026-11-03T20:00:00.000Z",
    "source": "Caller-supplied directory export",
    "status": "signal",
    "firstAt": "2024-01-01T00:00:00.000Z",
    "reasons": [
     "inactive_beyond_threshold",
     "privileged_dormant",
     "still_enabled",
     "sudden_reactivation"
    ],
    "detector": "dormant-account-risk-detect",
    "evidence": [
     {
      "at": "2026-05-01T00:00:00.000Z",
      "fact": "type=user; privileged=true; disabled=false; last=2026-05-01T00:00:00.000Z",
      "eventId": "A1",
      "inference": "Dormant-account risk is a hygiene signal, not proof of compromise.",
      "confidence": "medium"
     },
     {
      "at": "2026-11-03T20:00:00.000Z",
      "fact": "Recent authentication outcome=success",
      "eventId": "E1",
      "confidence": "medium"
     }
    ],
    "confidence": "high",
    "observedFacts": [
     "Last activity 187 days before asOf (threshold 90).",
     "Account is marked privileged.",
     "Account is not disabled.",
     "Successful authentication occurred after a long idle period."
    ],
    "inferredThreat": "Inactive but enabled accounts increase takeover and privilege-abuse risk.",
    "relatedEventIds": [
     "A1",
     "E1"
    ],
    "mitigatingFactors": [],
    "confirmedCompromise": false
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "dormant_account",
    "kind": "conflict",
    "detail": "Dormant-account indicators: inactive_beyond_threshold, privileged_dormant, still_enabled, sudden_reactivation (confirmedCompromise=false).",
    "subject": "A1"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "itemCount": 1,
  "oauthUsed": false,
  "dormantDays": 90,
  "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 separated from inferred threat hypotheses. Events are not labeled confirmed compromise without sufficient multi-signal evidence.",
   "No paid identity-threat feed is used and no API 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-dormant-account-risk-detector-f47a2af7/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)
