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
Merge remote-tracking branch 'origin/main' into fix/ingest-auth-and-blocking-scanners
Beenu Arorae897b14ba9fe
diff --cc CHANGELOG.mdindex 85fff81fc,648864163..13e429595--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -435,6 -348,31 +435,30 @@@ number is the one the requirement is sialso caught `<ul role="alert">`, which is not an allowed role for a list andleft its items without a list parent.+ - **Verification probes for the disruptive endpoint verbs.** `kill_process`+ and `quarantine_file` had their success inferred from CrowdStrike RTR+ accepting a command; both now read the effect back over the read-only tier+ of the same batch API — the process table for the PID, the path for the+ removed file. Absence is only trusted when the output can be recognised as+ what it claims to be, so an unparseable `ps` listing is indeterminate+ rather than "the process is gone", and only a line's first column is read+ as a PID so a surviving child does not report its dead parent as alive.+ `run_av_scan` joins them because it is automatic and Defender replies+ `Pending` the moment it queues the sweep: it reads the machine action's+ terminal state, and says indeterminate while the scan is still running.++ - **Every verb with an `ActionType` now either declares a probe or records+ why it has none.** Eleven bridged response verbs had neither, which failed+ safe but made three different situations look the same: nobody wrote it,+ the vendor exposes no read-back, and there is nothing to read back. The+ eight without probes now state which — including `reset_password`, where+ the obvious candidate read is the *wrong* one rather than a missing one+ (the executor issues a recovery link, so `passwordChanged` moves later and+ only if the user follows it, and a probe watching it would report FAILED+ for every correct reset). The below-MODERATE waiver must now name itself,+ because `run_av_scan` had been taking it silently.+-### Changed+- **`readme_gates.py` covers the governance documents.** Its `FIGURE_DOCS`list named one compliance page, which is why `ROADMAP.md` drifted with CI@@@ -467,8 -405,17 +491,16 @@@freshness gate reads only the date — which a refresh keeps current — so arow could be two days old and still labelled two majors behind.+ - `tests/test_approval_doors_agree.py` gates the invariant rather than the+ instance: both live doors swept over every capability, autonomy tier and+ confidence band, asserting the same answer to "did a vendor get touched+ without a human". Structural checks alongside it fail a door that imports+ the raw matrix or branches on a specific impact tier, which is the shape a+ re-introduced bypass has. Against the previous tree it reports five+ disagreements across 345 combinations.+### Fixed-- **`check_mock_data_gated.py` reported "All sample-data fallbacks are gatedbehind demo mode." on a tree carrying nine of them.** Each gap was confirmedby running the gate's own patterns against the live lines rather than by@@@ -950,8 -897,45 +982,44 @@@hosted demo the dock now reports that the copilot could not be reached, withthe error, instead of emitting a reply.+ - **A pure read sat in the analyst approval queue, because the two dispatch+ doors graded the same verb differently.** `search_siem` declares+ `read_only` impact and `automatic` approval, and the contract gate's own+ rule is that a read requiring approval "is either mis-classified or is not+ actually a read". At the default autonomy tier `POST /actions` returned+ `awaiting_approval` for it while `POST /live-actions/dispatch` executed it.+ The dispatcher's docstring says its contract block exists so that a verb is+ not "graded differently depending on which door it came through", and that+ is precisely what was happening.++ The cause was one table entry, not a missing bypass.+ `TIER_MAX_AUTOMATIC["L1"]` was `None`, meaning "auto-executes nothing",+ while `maturity.py` defines L1 as "MINIMAL blast-radius actions are+ automatic" and `_AUTO_ALLOWED_AT_TIER` gives it `{MINIMAL}` — which+ `_IMPACT_BLAST` equates with READ_ONLY impact. The registry door had grown+ a local READ_ONLY short-circuit to route around it; the legacy door had+ not. L1 now reads `READ_ONLY`, and only reads move: every impact above it+ still outranks the ceiling and still returns ANALYST, exactly as the `None`+ branch did. L0 keeps `None`, which now means one thing only — observe, not+ even a read.++ With the ceiling correct the bypass is unnecessary, so it is gone.+ `approval_matrix.evaluate_contract()` takes a contract whole and is the+ single entry both doors call, which removes the per-door unpacking that let+ them drift in the first place.++ - **`update_alert_disposition` had no `ACTION_BLAST_RADIUS` entry**, found by+ the new cross-door sweep rather than reported. Four readers of that table+ supplied two different fallbacks — `blast_radius.py` to MEDIUM, which is+ exactly `_AUTO_EXECUTE_LIMIT`, and the three tier gates to HIGH — so the+ legacy door auto-executed the disposition writeback while the registry door+ held it for a whitelist it could never match. It now carries the LOW entry+ its own contract asks for ("classified the same as create_notable_event"),+ and `blast_radius.py` fails closed like its three siblings.+ =======+### Removed-- **`apps/web/src/components/copilot/InvestigationChat.tsx`** — cannedthreat-intel replies ("VirusTotal: 14/87 engines flagged malicious","Associated campaigns: APT-42"), a fixed context sidebar, no API call fordiff --cc RELEASES.mdindex 1c263f795,1c263f795..8c3c8dedb--- a/RELEASES.md+++ b/RELEASES.md@@@ -2,7 -2,7 +2,7 @@@This file mirrors what used to live in the "What's new" section of [`README.md`](README.md). The complete, machine-readable inventory (with file paths, env-var diffs, and per-release test counts) lives in [`CHANGELOG.md`](CHANGELOG.md).--> **TL;DR for first-time visitors:** AiSOC is on `v10.0.0`, released 2026-09-25 — a release about controls that were written and not reachable. Row-level security covered 92 tables and filtered nothing, because every service connected to Postgres as a superuser; fifty-eight routes carried no authentication at all; UEBA reported healthy and could not write an anomaly; AI triage was wired to a gateway both of its resolvers ignored. **It is a major because upgrading requires action** — services now connect as a DML-only `aisoc_app` role. Every product claim is backed by a failing CI test (claim-to-gate matrix: 144 rows — 136 GATED / 8 PARTIAL / 0 NO GATE). The latest GitHub release with notes and downloads: <https://github.com/beenuar/AiSOC/releases/latest>.++> **TL;DR for first-time visitors:** AiSOC is on `v10.0.0`, released 2026-09-25 — a release about controls that were written and not reachable. Row-level security covered 92 tables and filtered nothing, because every service connected to Postgres as a superuser; fifty-eight routes carried no authentication at all; UEBA reported healthy and could not write an anomaly; AI triage was wired to a gateway both of its resolvers ignored. **It is a major because upgrading requires action** — services now connect as a DML-only `aisoc_app` role. Every product claim is backed by a failing CI test (claim-to-gate matrix: 145 rows — 137 GATED / 8 PARTIAL / 0 NO GATE). The latest GitHub release with notes and downloads: <https://github.com/beenuar/AiSOC/releases/latest>.---diff --cc ROADMAP.mdindex ce1a372d5,ce1a372d5..dd228c237--- a/ROADMAP.md+++ b/ROADMAP.md@@@ -44,7 -44,7 +44,7 @@@ A proof-first, security-first program t- **Phase D (breadth):** D1 eight connectors (QRadar/Exabeam/Securonix/Devo/Netskope/Windows-Sysmon/Zeek-Suricata/syslog-CEF) · D2 AI/LLM-usage audit connector + `llm-*` detections + hot/cold lake tiering · D3 live-vendor mock-server smoke.- **Phase E (prove it):** E1 CI-gated benchmark scoreboard tied to a deterministic live-agent MITRE-accuracy run.--The claim-to-gate matrix stands at **144 rows — 136 GATED / 8 PARTIAL / 0 NO GATE** — **every product claim is backed by a failing test** and the ratchet (`MAX_NO_GATE=0`) forbids any regression. The 8 remaining PARTIAL rows are honest, named deferrals; none was relabelled without building the gate it names. Count the table rows with `python3 scripts/check_claim_gate_matrix.py` rather than trusting a figure quoted in prose — this line has gone stale before. The six lettered deferrals are scoped in [`docs/audit/DEFERRED_SUBPHASES.md`](docs/audit/DEFERRED_SUBPHASES.md).++The claim-to-gate matrix stands at **145 rows — 137 GATED / 8 PARTIAL / 0 NO GATE** — **every product claim is backed by a failing test** and the ratchet (`MAX_NO_GATE=0`) forbids any regression. The 8 remaining PARTIAL rows are honest, named deferrals; none was relabelled without building the gate it names. Count the table rows with `python3 scripts/check_claim_gate_matrix.py` rather than trusting a figure quoted in prose — this line has gone stale before. The six lettered deferrals are scoped in [`docs/audit/DEFERRED_SUBPHASES.md`](docs/audit/DEFERRED_SUBPHASES.md).## v4.0 — Shippeddiff --cc apps/docs/docs/compliance/evidence-pack.mdindex a371040da,a371040da..112179941--- a/apps/docs/docs/compliance/evidence-pack.md+++ b/apps/docs/docs/compliance/evidence-pack.md@@@ -33,7 -33,7 +33,7 @@@ and says so| Prompt-injection resistance | 32-payload adversarial corpus with a recall floor and a false-positive ceiling | `services/agents/tests/adversarial/` || Claim-to-gate traceability | Every product claim mapped to the CI job that fails when it stops being true | `docs/audit/CLAIM_TO_GATE_MATRIX.md` |--The last row is the one worth reading first. It is the honest index: 136 rows++The last row is the one worth reading first. It is the honest index: 137 rows`GATED`, 8 `PARTIAL` with the specific gap named, and a ratchet that refusesto let a row sit at `NO GATE`.diff --cc docs/audit/CLAIM_TO_GATE_MATRIX.mdindex dbbe7d18d,49d71252b..2eb5fc98e--- a/docs/audit/CLAIM_TO_GATE_MATRIX.md+++ b/docs/audit/CLAIM_TO_GATE_MATRIX.md@@@ -155,7 -155,7 +156,7 @@@ Statuses: `GATED` (a CI job fails when## Summary--- GATED: 136++- GATED: 137- PARTIAL: 8- NO GATE: 0 (**every claim is backed by a failing test.** The last NO GATE — the weekly benchmark scoreboard running live against `main` — closed in Phase E1: `scripts/check_scoreboard.py` ties the published scoreboard to a deterministic per-PR live-agent MITRE-accuracy run, while the funded weekly `wet-eval.yml` appends the LLM-tier rows. The remaining PARTIAL rows are honest, named deferrals — each states the specific gap and what closes it — not unproven claims.)