{"uid":"cap_gwKLvBaENTZNApuvjV0Z9","slug":"brainiac-attack-sequence-detect-1bdb5fbc","name":"BRAINIAC Attack Sequence Detect","description":"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.","url":"https://www.brainiac.software/api/v1/security-signals/attack-sequence-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":{"type":"string","maxLength":160},"category":{"type":"string","maxLength":80},"deviceId":{"type":"string","maxLength":120},"severity":{"type":"string","maxLength":40},"sourceIp":{"type":"string","maxLength":80},"username":{"type":"string","maxLength":120},"eventType":{"type":"string","maxLength":120},"privilege":{"type":"string","maxLength":80},"authMethod":{"type":"string","maxLength":80},"geoCountry":{"type":"string","maxLength":80},"sourceHost":{"type":"string","maxLength":253},"destinationIp":{"type":"string","maxLength":80},"destinationHost":{"type":"string","maxLength":253},"relatedEventIds":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":100},"previousDeviceId":{"type":"string","maxLength":120},"previousPrivilege":{"type":"string","maxLength":80},"previousGeoCountry":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":20000},"sequenceWindowMinutes":{"type":"number","maximum":10080,"minimum":1},"bruteForceWindowMinutes":{"type":"number","maximum":10080,"minimum":1},"weakSignalWindowMinutes":{"type":"number","maximum":10080,"minimum":1},"correlationWindowMinutes":{"type":"number","maximum":10080,"minimum":1},"bruteForceFailureThreshold":{"type":"number","maximum":10000,"minimum":2},"lowAndSlowFailureThreshold":{"type":"number","maximum":10000,"minimum":2}}},"responseSchema":{"type":"json","example":{"items":[{"id":"attack-sequence-detect-E1","title":"Auth failures followed by success","lastAt":"2026-11-04T19:02:00.000Z","source":"Caller-supplied events; local rules only","status":"signal","firstAt":"2026-11-04T19:00:00.000Z","reasons":["sequence_match","auth_fail_then_success"],"detector":"attack-sequence-detect","evidence":[{"at":"2026-11-04T19:00:00.000Z","fact":"Observed step 1 event.","eventId":"E1","inference":"Fits pattern auth_fail_then_success within 180 minutes.","confidence":"medium"},{"at":"2026-11-04T19:02:00.000Z","fact":"Observed step 2 event.","eventId":"E3","inference":"Fits pattern auth_fail_then_success within 180 minutes.","confidence":"medium"}],"confidence":"medium","observedFacts":["Step 1: auth_failure at 2026-11-04T19:00:00.000Z","Step 2: auth_success at 2026-11-04T19:02:00.000Z"],"inferredThreat":"Supplied events match local sequence pattern \"auth_fail_then_success\" for actor/host key u9. Not a confirmed attack.","confirmedAttack":false,"relatedEventIds":["E1","E3"]}],"status":"detected","findings":[{"code":"attack_sequence","kind":"conflict","detail":"Sequence pattern auth_fail_then_success matched with confidence=medium; confirmedAttack=false.","subject":"attack-sequence-detect-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."],"sequenceCount":1,"apiKeyRequired":false,"networkAccessed":false,"paidProviderUsed":false,"confirmedAttackClaimed":false,"infrastructureConnected":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-JmNmeJysRZ8-pWotJnDv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a sequence of security events to detect multi-step attack patterns such as auth failures followed by success, using local rule-based analysis over caller-supplied data.","exampleAgentPrompt":"Analyze these authentication events for multi-step attack sequences — I have a series of login failures followed by a success for user u9 on host auth.example.com between 7:00pm and 7:02pm and I want to know if this matches a known attack pattern like auth_fail_then_success.","exampleUseCases":[{"title":"Investigating suspected account takeover","prompt":"I have a list of login events from our identity provider — multiple failures then a successful login for the same user within a few minutes. Can you analyze these events and tell me if this matches a known attack sequence like credential stuffing or brute force?"},{"title":"Automated SOC triage for auth anomalies","prompt":"Run an attack sequence check on these 50 security events from our SIEM export — I want to know which sequences match patterns like auth failure followed by success, and what the confidence level is for each match."},{"title":"Reviewing cloud audit logs for lateral movement","prompt":"I've got a JSON export of cloud audit log entries showing privilege escalations and unusual process executions. Can you detect whether any of these form a recognizable multi-step attack chain, and show me the specific events that triggered the detection?"}],"resultDescription":"Returns a JSON object containing detected attack sequences as 'items', each with an ID, title, first/last timestamps, matched pattern reasons, confidence level, observed facts, inferred threat hypothesis, confirmedAttack flag, and related event IDs. Also includes a findings array with codes and details, metadata about whether the network or paid providers were accessed, and a limitations section clarifying the local-only nature of the analysis.","failureModes":["Insufficient events provided — no sequences detected if the event list is too sparse or missing required fields","Truncated input — events exceeding maxLength limits may be silently dropped","Missing timestamps — events without 'at' fields may not correlate correctly across time windows","False negatives — attack patterns not covered by local rules will not be detected","False positives — legitimate auth retry behavior may match auth_fail_then_success pattern","confirmedAttack is always false — the endpoint cannot confirm attacks, only signal pattern matches"],"whenToPreferThis":"Choose this endpoint when you have structured security event data and need fast, local rule-based attack sequence detection without an API key, threat intel subscription, or external network access. It is ideal for agents performing automated triage of authentication or audit logs, especially in privacy-sensitive contexts where raw events should not be sent to a third-party threat intelligence platform. It is not suitable when you need real-time threat intelligence enrichment, CVE lookups, or confirmed attack verdicts backed by external data sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:55.763Z","isFirstParty":false,"canonicalSlug":"brainiac-attack-sequence-detect-1bdb5fbc"}