{"uid":"cap_-U0h2_Imy3h4yj3fs8nco","slug":"brainiac-account-sharing-detection-1835bde2","name":"BRAINIAC Account Sharing Detection","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/identity-security/account-sharing-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},"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":"string"},"deviceId":{"type":"string","maxLength":120},"latitude":{"type":"number","maximum":90,"minimum":-90},"resource":{"type":"string","maxLength":300},"username":{"type":"string","maxLength":120},"eventType":{"type":"string","maxLength":120},"longitude":{"type":"number","maximum":180,"minimum":-180},"mfaMethod":{"type":"string","maxLength":80},"mfaResult":{"enum":["approved","denied","timeout","push_sent","unknown"],"type":"string"},"sessionId":{"type":"string","maxLength":160},"userAgent":{"type":"string","maxLength":500},"geoCountry":{"type":"string","maxLength":80},"accountType":{"enum":["user","service","unknown"],"type":"string"},"application":{"type":"string","maxLength":160},"isSharedNetwork":{"type":"boolean"},"previousDeviceId":{"type":"string","maxLength":120},"previousSessionId":{"type":"string","maxLength":160},"previousUserAgent":{"type":"string","maxLength":500}},"additionalProperties":false},"maxItems":20000},"accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"owner":{"type":"string","maxLength":160},"labels":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":40},"source":{"type":"string","maxLength":200},"userId":{"type":"string","maxLength":120},"username":{"type":"string","maxLength":120},"createdAt":{"type":"string","maxLength":40},"isDisabled":{"type":"boolean"},"accountType":{"enum":["user","service","unknown"],"type":"string"},"lastLoginAt":{"type":"string","maxLength":40},"isPrivileged":{"type":"boolean"},"lastActivityAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":20000},"policies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"action":{"type":"string","maxLength":120},"effect":{"enum":["allow","deny"],"type":"string"},"source":{"type":"string","maxLength":200},"priority":{"type":"number","maximum":1000000,"minimum":-1000000},"resource":{"type":"string","maxLength":300},"principal":{"type":"string","maxLength":200},"conditions":{"type":"string","maxLength":2000}},"additionalProperties":false},"maxItems":20000},"dormantDays":{"type":"number","maximum":3650,"minimum":1},"maxTravelKmh":{"type":"number","maximum":2000,"minimum":50},"mfaPushThreshold":{"type":"number","maximum":1000,"minimum":2},"mfaWindowMinutes":{"type":"number","maximum":1440,"minimum":1},"authWindowMinutes":{"type":"number","maximum":10080,"minimum":1},"sharingWindowHours":{"type":"number","maximum":720,"minimum":1},"serviceBaselineWindowHours":{"type":"number","maximum":2160,"minimum":1}}},"responseSchema":{"type":"json","example":{"items":[{"id":"account-sharing-u5","title":"Suspicious account-sharing pattern","lastAt":"2026-11-04T18:00:00.000Z","source":"Caller-supplied auth events; local behavioural rules","status":"signal","firstAt":"2026-11-04T10:00:00.000Z","reasons":["many_devices_same_account","near_simultaneous_distinct_devices","multi_location_multi_device"],"detector":"account-sharing-detect","evidence":[{"at":"2026-11-04T10:00:00.000Z","fact":"device=d1; geo=Austin; ua=Chrome/120","eventId":"E1","inference":"Concurrent/diverse device use can indicate sharing or roaming; not proof of compromise.","confidence":"medium"},{"at":"2026-11-04T10:05:00.000Z","fact":"device=d2; geo=Dallas; ua=Firefox/121","eventId":"E2","inference":"Concurrent/diverse device use can indicate sharing or roaming; not proof of compromise.","confidence":"medium"},{"at":"2026-11-04T18:00:00.000Z","fact":"device=d3; geo=Chicago; ua=Edge/120","eventId":"E3","inference":"Concurrent/diverse device use can indicate sharing or roaming; not proof of compromise.","confidence":"medium"}],"confidence":"high","observedFacts":["3 devices used by the same account within 24 hours.","Distinct devices authenticated within 15 minutes of each other.","Account active from 3 locations and 3 devices."],"inferredThreat":"Multiple devices/locations for one account may indicate credential sharing.","relatedEventIds":["E1","E2","E3"],"mitigatingFactors":[],"confirmedCompromise":false}],"status":"detected","findings":[{"code":"account_sharing","kind":"conflict","detail":"Account-sharing indicators: many_devices_same_account, near_simultaneous_distinct_devices, multi_location_multi_device (confirmedCompromise=false).","subject":"u5"}],"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 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 key is required."],"windowHours":24,"apiKeyRequired":false,"networkAccessed":false,"paidProviderUsed":false,"identityProviderConnected":false,"confirmedCompromiseClaimed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qd9m-kyX2YpNLxSPwm_lb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes authentication event logs to detect account credential sharing patterns such as simultaneous multi-device, multi-location, or multi-user access","exampleAgentPrompt":"Analyze these login events and tell me if any accounts show account-sharing patterns — look for simultaneous logins from different devices or locations and give me a confidence score for each suspicious account.","exampleUseCases":[{"title":"SaaS subscription abuse detection","prompt":"I think some users are sharing their login credentials with colleagues to avoid paying for extra seats — can you analyze our last 24 hours of authentication logs and flag any accounts that logged in from multiple devices or locations at nearly the same time?"},{"title":"Streaming platform credential sharing","prompt":"Run our auth event export through the account-sharing detector and tell me which user accounts show signs of password sharing — I want confidence scores and the specific events that triggered each flag."},{"title":"Enterprise security audit for shared accounts","prompt":"We need to audit our identity logs for policy violations — check these authentication events and identify any accounts being accessed concurrently from distinct devices or geographic locations that could indicate shared credentials."}],"resultDescription":"Returns a structured JSON object with detected sharing signals including: a list of flagged items with titles, confidence levels (high/medium/low), first and last observed timestamps, reason codes (e.g. many_devices_same_account, near_simultaneous_distinct_devices, multi_location_multi_device), detailed evidence per event with facts and inferences, observed facts summary, inferred threat description, related event IDs, mitigating factors, whether compromise is confirmed, and top-level findings with codes and subjects. Also includes metadata such as checkedAt timestamp, limitations of the analysis, and whether OAuth was used.","failureModes":["Insufficient event data to establish patterns — returns empty items array","Malformed event timestamps cause parsing errors","Missing required event fields (userId, deviceId) reduce detection accuracy","Very short time windows may produce no signals even when sharing is occurring","Large event arrays exceeding limits may be truncated","False negatives if users legitimately roam across devices (business travelers)","False positives for shared household or family accounts"],"whenToPreferThis":"Use this endpoint when you have raw authentication or access event logs and need to programmatically identify credential-sharing abuse without connecting to any identity provider directly. It is ideal for SaaS platforms enforcing per-seat licensing, streaming services combating password sharing, or enterprise security teams auditing account hygiene. It operates entirely on caller-supplied data with no OAuth or external data source access, making it safe for air-gapped or privacy-sensitive deployments. Prefer this over building custom heuristics when you need structured confidence-scored findings with evidence chains at $0.04 per analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:49.850Z","isFirstParty":false,"canonicalSlug":"brainiac-account-sharing-detection-1835bde2"}