Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
{
"id": "bec-token-theft-v1",
"name": "BEC: M365 / Workspace Token Theft",
"description": "Triggered when a refresh token is observed from a new ASN with no interactive sign-in. Revokes refresh tokens and forces MFA.",
"version": "1.0.0",
"tags": [
"bec",
"identity",
"token-theft",
"mitre.t1539"
],
"trigger": {
"on": "alert",
"severity": [
"critical"
],
"tags": [
"bec"
]
},
"author": "AiSOC",
"enabled": true,
"created_at": "2026-05-03T00:00:00+00:00",
"updated_at": "2026-05-03T00:00:00+00:00",
"steps": [
{
"id": "e1",
"name": "Enrich ASN reputation",
"type": "enrich",
"params": {
"indicator_field": "alert.source_asn"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 30
},
{
"id": "revoke-rt",
"name": "Revoke refresh tokens",
"type": "http",
"params": {
"url": "${IDP_BASE_URL}/users/{{alert.user}}/refresh-tokens",
"method": "DELETE"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
},
{
"id": "force-mfa",
"name": "Force MFA re-enrollment",
"type": "http",
"params": {
"url": "${IDP_BASE_URL}/users/{{alert.user}}/mfa/reset",
"method": "POST"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
},
{
"id": "inv",
"name": "Investigate token-theft chain",
"type": "investigate",
"params": {
"case_id_field": "alert.case_id",
"focus": "identity"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 180
},
{
"id": "n1",
"name": "Page on-call",
"type": "notify",
"params": {
"channel": "pagerduty",
"message_template": "Refresh-token theft suspected for {{alert.user}}. Tokens revoked.",
"service_key_env": "PD_SOC_KEY"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 10
},
{
"id": "t1",
"name": "Open BEC token ticket",
"type": "create_ticket",
"params": {
"priority": "P1",
"title_template": "BEC token theft: {{alert.user}}",
"queue": "soc"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
}
]
}