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
{
"(environment)": {
"flags": "--no-color-output --no-error-summary --no-site-packages --no-incremental",
"mypy": "2.4.1",
"mypy_major": "2",
"python": "3.11"
},
"(unmanaged)": {
"plugins/mttr-widget/plugin.py": {
"arg-type": 3,
"return-value": 1
},
"scripts/check_codeql_alerts.py": {
"assignment": 1,
"index": 3
},
"scripts/datasets/download_ait_lds.py": {
"arg-type": 1,
"misc": 1
},
"scripts/detection_specs_part3_helpers.py": {
"arg-type": 1
},
"scripts/eval_telemetry.py": {
"arg-type": 3
},
"scripts/generate_connector_types.py": {
"attr-defined": 2
},
"scripts/lint_playbooks.py": {
"assignment": 1
},
"scripts/project_stats.py": {
"assignment": 1
},
"scripts/run_evals.py": {
"attr-defined": 3,
"no-redef": 1
},
"scripts/upgrade_playbooks.py": {
"arg-type": 1
},
"scripts/wet_eval.py": {
"arg-type": 4
},
"scripts/wet_eval_check.py": {
"arg-type": 1
},
"tests/test_detection_id_stability.py": {
"attr-defined": 2
},
"tests/test_toolchain_pin_gate.py": {
"name-defined": 1
}
},
"packages/aisoc-ai-sdk": {
"aisoc_ai/client.py": {
"type-arg": 1
},
"tests/test_ai_sdk.py": {
"import-not-found": 1,
"no-untyped-def": 21,
"type-arg": 3,
"untyped-decorator": 1
}
},
"packages/aisoc-benchmark": {
"aisoc_benchmark/adapter.py": {
"import-not-found": 1
},
"aisoc_benchmark/runner.py": {
"no-untyped-def": 1
},
"build_corpus.py": {
"type-arg": 2
},
"tests/test_benchmark.py": {
"import-not-found": 1,
"untyped-decorator": 2
},
"tests/test_corpus_can_grade.py": {
"import-not-found": 1
}
},
"packages/aisoc-cli": {
"src/aisoc_cli/main.py": {
"import-not-found": 7,
"import-untyped": 2,
"untyped-decorator": 65
},
"tests/test_cli.py": {
"import-not-found": 2,
"import-untyped": 1,
"no-untyped-def": 8
},
"tests/test_ops_commands.py": {
"arg-type": 1,
"attr-defined": 15,
"import-not-found": 2,
"index": 7,
"no-untyped-def": 5,
"operator": 16,
"untyped-decorator": 2
},
"tests/test_packaging.py": {
"import-not-found": 1,
"untyped-decorator": 1
},
"tests/test_replay_command.py": {
"import-not-found": 3,
"untyped-decorator": 2
},
"tests/test_submit_command.py": {
"attr-defined": 1,
"import-not-found": 3,
"misc": 1,
"no-untyped-call": 1,
"no-untyped-def": 3,
"untyped-decorator": 1
}
},
"packages/aisoc-detections": {
"detections/aws_root_console_login.py": {
"no-any-return": 1,
"type-arg": 2
},
"detections/okta_mfa_fatigue.py": {
"type-arg": 3
},
"tests/test_framework.py": {
"import-not-found": 1,
"no-untyped-def": 7
}
},
"packages/aisoc-sandbox": {
"src/aisoc_sandbox/cli.py": {
"attr-defined": 7
},
"tests/test_determinism.py": {
"import-not-found": 1,
"no-any-return": 1,
"untyped-decorator": 2
},
"tests/test_smoke.py": {
"attr-defined": 2,
"import-not-found": 1,
"untyped-decorator": 1
}
},
"packages/plugin-sdk-py": {
"src/aisoc_plugin_sdk/action.py": {
"import-not-found": 1,
"misc": 2
},
"src/aisoc_plugin_sdk/client.py": {
"import-not-found": 1,
"no-any-return": 7
},
"src/aisoc_plugin_sdk/connector.py": {
"import-not-found": 1,
"misc": 1
},
"src/aisoc_plugin_sdk/decorators.py": {
"attr-defined": 1,
"no-any-return": 2,
"type-arg": 5,
"unused-ignore": 3
},
"src/aisoc_plugin_sdk/enricher.py": {
"import-not-found": 1,
"misc": 2
},
"src/aisoc_plugin_sdk/loader.py": {
"no-any-return": 1,
"unused-ignore": 1
},
"src/aisoc_plugin_sdk/plugin.py": {
"import-not-found": 1,
"misc": 3
},
"src/aisoc_plugin_sdk/registry.py": {
"import-not-found": 1
},
"tests/test_client.py": {
"import-not-found": 2,
"type-arg": 1,
"untyped-decorator": 6
},
"tests/test_hello_plugin_example.py": {
"attr-defined": 3,
"import-not-found": 1,
"untyped-decorator": 1
},
"tests/test_loader.py": {
"import-not-found": 1
},
"tests/test_sdk.py": {
"import-not-found": 1,
"untyped-decorator": 6
}
},
"packages/sdk-py": {
"src/aisoc_sdk/client.py": {
"import-not-found": 2,
"no-any-return": 20,
"unused-ignore": 1
},
"src/aisoc_sdk/models.py": {
"import-not-found": 1,
"misc": 13
},
"tests/test_client.py": {
"func-returns-value": 1,
"import-not-found": 2,
"no-untyped-def": 10,
"untyped-decorator": 8
}
},
"services/actions": {
"app/executors/network.py": {
"arg-type": 1
},
"app/executors/notification.py": {
"arg-type": 2,
"assignment": 2
},
"app/live_actions/capability_contracts.py": {
"attr-defined": 7
},
"app/services/approval_gate.py": {
"arg-type": 1
},
"tests/test_approval_gate_wiring.py": {
"attr-defined": 1
},
"tests/test_capability_reachability.py": {
"attr-defined": 4
},
"tests/test_capture_forensics.py": {
"attr-defined": 3
},
"tests/test_disposition_writeback.py": {
"assignment": 1
},
"tests/test_tenant_policy.py": {
"var-annotated": 1
},
"tests/test_vendor_breadth.py": {
"attr-defined": 1
}
},
"services/agents": {
"app/nl_query/translator.py": {
"no-redef": 3
},
"app/orchestrator/router.py": {
"arg-type": 5
},
"app/playbook/engine.py": {
"misc": 1
},
"app/playbook/ssrf_guard.py": {
"attr-defined": 6,
"union-attr": 1
},
"app/playbook/store.py": {
"valid-type": 1
},
"app/policy/guardrails.py": {
"arg-type": 1
},
"app/security/llm_resolver.py": {
"arg-type": 2
},
"app/tools/mitre_full.py": {
"attr-defined": 19,
"call-overload": 2,
"var-annotated": 2
},
"app/workers/fused_alert_consumer.py": {
"union-attr": 1
},
"tests/test_alert_reduction.py": {
"valid-type": 1
},
"tests/test_audit_helpers.py": {
"attr-defined": 24,
"valid-type": 1
},
"tests/test_business_context_not_clause.py": {
"attr-defined": 1,
"misc": 1
},
"tests/test_cost_governor.py": {
"arg-type": 1
},
"tests/test_detection_fp_rate.py": {
"attr-defined": 8
},
"tests/test_eval_telemetry.py": {
"attr-defined": 4
},
"tests/test_fidelity_harness.py": {
"index": 2
},
"tests/test_four_agent_facade.py": {
"attr-defined": 2
},
"tests/test_hunt_corpus.py": {
"attr-defined": 12
},
"tests/test_llm_resolver.py": {
"misc": 1,
"var-annotated": 1
},
"tests/test_playbook_completion_rate.py": {
"attr-defined": 15
}
},
"services/api": {
"app/_vendor/action_contracts/capability_contracts.py": {
"attr-defined": 7
},
"app/_vendor/ssrf_guard.py": {
"attr-defined": 6,
"union-attr": 1
},
"app/api/v1/endpoints/identity_timeline.py": {
"assignment": 1
},
"app/api/v1/endpoints/metrics.py": {
"return-value": 2
},
"app/api/v1/endpoints/plugins.py": {
"assignment": 8
},
"app/auth/saml.py": {
"var-annotated": 1
},
"app/core/scheduler_lock.py": {
"func-returns-value": 1
},
"app/graphql/query.py": {
"call-arg": 117
},
"app/scripts/seed_demo.py": {
"no-redef": 1
},
"app/services/alert_explain.py": {
"arg-type": 1
},
"app/services/event_warehouse/registry.py": {
"list-item": 2
},
"app/services/fleet_health.py": {
"arg-type": 22
},
"app/services/pipeline_transforms.py": {
"assignment": 1
},
"app/services/playbook_step_dispatch.py": {
"arg-type": 8
},
"app/services/siem_writeback.py": {
"arg-type": 1
},
"tests/api/v1/endpoints/test_alerts_detail_envelope.py": {
"func-returns-value": 1
},
"tests/api/v1/endpoints/test_detection_proposals_run_eval.py": {
"assignment": 1,
"attr-defined": 1
},
"tests/services/test_alert_rail.py": {
"arg-type": 28
},
"tests/services/test_narrative_projection.py": {
"arg-type": 29
},
"tests/test_alert_explain.py": {
"arg-type": 43,
"list-item": 2
},
"tests/test_alert_queue.py": {
"arg-type": 16
},
"tests/test_alert_writeback_auth.py": {
"arg-type": 2
},
"tests/test_alerts_tenant_isolation.py": {
"misc": 2
},
"tests/test_audit_export.py": {
"arg-type": 9
},
"tests/test_business_context.py": {
"arg-type": 1,
"misc": 1,
"union-attr": 3
},
"tests/test_cases_tenant_isolation.py": {
"misc": 1
},
"tests/test_compliance_phishing_kb_tenant_isolation.py": {
"misc": 1,
"var-annotated": 1
},
"tests/test_credential_vault_envelope.py": {
"misc": 1
},
"tests/test_effective_permissions_aws.py": {
"attr-defined": 1
},
"tests/test_email_approval_endpoint.py": {
"arg-type": 2
},
"tests/test_event_warehouse_providers.py": {
"union-attr": 7
},
"tests/test_event_warehouse_registry.py": {
"arg-type": 3
},
"tests/test_hunts_tenant_isolation.py": {
"misc": 1
},
"tests/test_llm_credentials_endpoint.py": {
"arg-type": 5
},
"tests/test_llm_credentials_tenant_isolation.py": {
"misc": 2
},
"tests/test_oauth_refresh_worker.py": {
"arg-type": 12
},
"tests/test_rule_tuning.py": {
"arg-type": 20,
"assignment": 1,
"union-attr": 4
},
"tests/test_saved_hunts_endpoint.py": {
"arg-type": 3
},
"tests/test_saved_views_endpoint.py": {
"arg-type": 2
},
"tests/test_seed_demo_confidence_synth.py": {
"arg-type": 10
},
"tests/test_siem_writeback.py": {
"union-attr": 5
},
"tests/test_tenant_deletion.py": {
"assignment": 1,
"attr-defined": 1
},
"tests/test_tenant_provision.py": {
"operator": 1
},
"tests/test_threat_intel_tenant_isolation.py": {
"misc": 3
}
},
"services/connectors": {
"app/api/router.py": {
"attr-defined": 1
},
"app/connectors/ai_gateway.py": {
"attr-defined": 1
},
"app/connectors/email_inbox.py": {
"union-attr": 4
},
"app/connectors/oci.py": {
"operator": 1,
"union-attr": 7
},
"app/connectors/posture/aws.py": {
"no-redef": 1
},
"app/security/ssrf_guard.py": {
"attr-defined": 6,
"union-attr": 1
},
"tests/test_pipeline_filter_rules.py": {
"arg-type": 1
},
"tests/test_pipeline_fingerprint.py": {
"arg-type": 1
},
"tests/test_push_capabilities.py": {
"union-attr": 16
}
},
"services/escalations": {},
"services/fusion": {
"tests/test_consumer_dlq.py": {
"arg-type": 1
},
"tests/test_derived_fields.py": {
"arg-type": 1
}
},
"services/honeytokens": {
"alembic/env.py": {
"attr-defined": 1
},
"alembic/versions/0001_initial_honeytoken_tables.py": {
"attr-defined": 1
},
"alembic/versions/0002_tenant_rls.py": {
"attr-defined": 1
}
},
"services/mesh": {},
"services/osquery-tls": {},
"services/purple-team": {
"alembic/env.py": {
"attr-defined": 1
},
"alembic/versions/0001_initial_purple_team_tables.py": {
"attr-defined": 1
},
"alembic/versions/0002_detection_drift_snapshots.py": {
"attr-defined": 1
},
"alembic/versions/0003_tenant_rls.py": {
"attr-defined": 1
}
},
"services/slack-bot": {
"app/notify.py": {
"union-attr": 1
},
"app/services/approval_timeout.py": {
"func-returns-value": 1
}
},
"services/teams-bot": {
"tests/test_callbacks_approver.py": {
"index": 1
}
},
"services/threatintel": {
"app/feeds/pipeline.py": {
"union-attr": 1
}
},
"services/ueba": {
"alembic/env.py": {
"attr-defined": 1
},
"alembic/versions/0001_initial_ueba_tables.py": {
"attr-defined": 1
},
"alembic/versions/0002_tenant_rls.py": {
"attr-defined": 1
}
}
}