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
chore(release): v20.0.0 (#1429)
Beenu Aroraa72e589b7f26
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex afe9234e8..7b66542db 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+## [20.0.0] - 2026-10-21+### BREAKING- `POST /api/v1/cases/{case_id}/comments` no longer accepts `is_system` in the@@ -35,16 +37,67 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0internal services (GHSA-cq4g-g6wp-4m2w). The API refuses the samedestinations at connector create/update, before they are encrypted andstored. `AISOC_SSRF_ALLOW_PRIVATE=1` re-admits on-prem SIEMs on private- ranges; the cloud-metadata blocklist holds regardless.+ ranges and `AISOC_SSRF_ALLOW_HOSTS` admits exact named hosts; the+ cloud-metadata blocklist holds regardless of either, and compose delivers+ both knobs to every service that runs the guard (api, connectors, agents)+ from one `.env` value — they had shipped reaching only the agents service,+ so the documented re-admit path changed nothing in the processes that+ actually refuse the connection.+- The Oct-21 advisory wave is cleared across every lockfile (#1417): `certifi`+ ≥ 2026.10.19 (GHSA-6q48-6c7w-9gw2, critical) in all 13 poetry locks,+ `aiohttp` 3.14.5 in agents/slack-bot/threatintel, `pillow` 13.0.0 in+ `services/api`, `@modelcontextprotocol/sdk` 1.32.x in `services/mcp`, and+ `follow-redirects` / `launch-editor` / `vite` 8.3.4 floors in the npm+ workspaces. `services/agents` then also reached `pillow` 13.0.0 by dropping+ the unused `fastembed` extra of `qdrant-client` (#1420) — nothing in agents+ imports PIL or calls the fastembed convenience API. One recorded exception+ remains: `services/threatintel` genuinely embeds through fastembed, whose+ every release (≤ 0.9.0) caps `pillow <13`, so its lock stays on 12.3.0 under+ nine expiring suppressions in `scripts/security_audit_ignores.txt` (text-only+ embedding input, no PIL import; re-checked for a lifting release until+ 2027-01-15).+- The semgrep rule packs the scanner ratchet's ceiling was measured with are+ vendored under `.security/semgrep/` (#1379): the scan reads the committed+ packs rather than fetching registry heads, `scripts/vendor_semgrep_packs.py+ --check` verifies them offline, and the ratchet gains a rules-digest arm so+ the ceiling is bound to the exact pack bytes it was measured against — a+ registry pack changing under the ceiling now fails instead of silently+ re-grading the tree.++### Added++- OpenCTI threat-intelligence feed client (#1375, contributed by+ [alexmateescu](https://github.com/alexmateescu)): an authenticated GraphQL+ client pages `stixCoreObjects` indicators by `updated_at`, normalises them+ and extracts IOCs from indicator patterns, wired into the feed scheduler+ behind `OPENCTI_URL` / `OPENCTI_TOKEN` (disabled by default; fails closed+ when unconfigured). Validated against a live OpenCTI 7.x platform with the+ exact request/response pair pinned as fixtures.### Fixed+- Four connectors preserved a vendor's own top severity instead of collapsing+ it into `high`: Lacework (#1374), Tines (#1377), Datadog (#1409) and+ PagerDuty (#1411) now map their native critical tier to `critical`, and+ Datadog's `emergency` and `alert` levels — which outrank `critical` in its+ ladder — map to `critical` too (#1427). All four contributed by+ [meshreyy](https://github.com/meshreyy).- The LLM gateway image is pinned to `ghcr.io/berriai/litellm:v1.102.1` in boththe root compose file and the Helm chart. Upstream deleted the floating`main-stable` tag those files referenced, so every cold-cache `docker composeup` and fresh Helm install failed with `manifest unknown`; v1.102.1 is theversion `main-stable` served when this stack was measured against it.+### Changed++- `fastapi` moves to 0.143.x repo-wide with the open Python bumps folded in+ (#1419); the thirty mergeable Dependabot bumps of 2026-10-13 land as one+ integrated tree (#1371); the root npm workspaces (#1423), `services/realtime`+ (`express` 5.3.0, `pino` 10.4.0, `typescript-eslint` 8.72.0, #1424), the Go+ services (`go-chi` 5.5.0 in ingest and enrichment, #1425) and the workflow+ actions plus the mobile screens package (#1426) take their open dependency+ bumps. The Dependabot queue is at zero.+## [19.0.0] - 2026-10-12### BREAKINGdiff --git a/README.md b/README.mdindex 8a4e27c3e..2f3ccb1b6 100644--- a/README.md+++ b/README.md@@ -6,7 +6,7 @@**An open-source, self-hostable AI Security Operations Center.** It ingests your security telemetry, detects and correlates threats, investigates them with AI agents whose reasoning is fully auditable, and proposes responses a human approves.-[](https://opensource.org/licenses/MIT) [](CHANGELOG.md) [](https://github.com/beenuar/AiSOC/actions/workflows/ci.yml)+[](https://opensource.org/licenses/MIT) [](CHANGELOG.md) [](https://github.com/beenuar/AiSOC/actions/workflows/ci.yml)[](https://github.com/beenuar/AiSOC/actions/workflows/codeql.yml) [](https://securityscorecards.dev/viewer/?uri=github.com/beenuar/AiSOC) [](https://raw.githubusercontent.com/beenuar/AiSOC/main/apps/web/public/papers/aisoc-technical-guide.pdf)**[Technical Guide (PDF)](https://raw.githubusercontent.com/beenuar/AiSOC/main/apps/web/public/papers/aisoc-technical-guide.pdf)** · [Docs](https://beenuar.github.io/AiSOC/) · [Architecture](docs/architecture/README.md) · [What actually works](docs/audit/REPOSITORY_REALITY.md) · [Discussions](https://github.com/beenuar/AiSOC/discussions)diff --git a/RELEASES.md b/RELEASES.mdindex 420286a55..ae1702865 100644--- a/RELEASES.md+++ b/RELEASES.md@@ -2,7 +2,9 @@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 `v19.0.0`, released 2026-10-12. **The release that finished the depth plan's analyst, collection and governance phases.** Nineteen workstreams landed as one verified tree. A session now has **one producer and three stores** that cannot disagree about which session an event belongs to; a real security **posture is collected and versioned** so a detection reads the posture that was true when an event happened; behavioural **baselines moved into CORE** as a fusion module. Collection meets an estate the way it emits — an **OTLP logs receiver, a Kafka input** for customer topics, and a **real TAXII 2.1 server** over the tenant IOC store — and a **cold-tier lake query reports a cost estimate and a progress state** instead of timing out silently. The **Helm chart installs CORE** with exactly one scheduler replica leading through a Postgres lease. A playbook can **ask the person who signed in, then their manager, and branch on the signed answer**; AiSOC's own **MCP server speaks streamable HTTP**, authorized and audited per call; a case opens a **war room** that syncs decisions back; a **hunt that finds something becomes a cited report**; the **responder app is an installable build** with real APNs and FCM delivery. Governance closed the 8.1 clauses: **WebAuthn** as a console second factor enforceable per role, an **enforced audit retention window** that leaves the surviving chain verifiable, **axe accessibility** on the case workspace and alert list, and a tenant's **entitlement limit that can refuse work** when the tenant opts in. **This is the breaking change:** `PATCH /api/v1/alerts/{id}` used to answer **200 while silently dropping** any field outside its five writable ones — a success for a write that did not happen — and now answers **422** naming the field and the route that applies it. If you call that endpoint with `disposition`, `severity`, `confidence` or `snoozed_until`, read the BREAKING section before upgrading. **67 defects were fixed across this release and the two before it** (11 here, 16 in v18.0.0, 40 in v17.1.0), including **tenant deletion**, which had been impossible on any database holding audit rows because the audit immutability trigger refused the cascade its own foreign key declares. The chart publishes as **`7.8.0`**. Everything below describes v18.0.0 and earlier, which this release does not change.+> **TL;DR for first-time visitors:** AiSOC is on `v20.0.0`, released 2026-10-21. **The security-response release: four published advisories, the SSRF guard on every connector egress path, and the dependency queue worked to zero.** Four vulnerability reports were each reproduced against a production-mode stack, fixed, and published as advisories: [GHSA-wwq7-2xvh-qgq6](https://github.com/beenuar/AiSOC/security/advisories/GHSA-wwq7-2xvh-qgq6) (cases GET routes enforced no `cases:read`, so an API key minted with only `alerts:read` could list cases and read their comments, timeline and evidence chain), [GHSA-9mc5-hqgh-j6wf](https://github.com/beenuar/AiSOC/security/advisories/GHSA-9mc5-hqgh-j6wf) (any `cases:write` holder could author a comment the console renders as an unattributed "System note"), [GHSA-898c-wxrw-hx6c](https://github.com/beenuar/AiSOC/security/advisories/GHSA-898c-wxrw-hx6c) (outbound webhooks: registration 500ed against row-level security for every tenant, and destinations were never SSRF-validated), and [GHSA-cq4g-g6wp-4m2w](https://github.com/beenuar/AiSOC/security/advisories/GHSA-cq4g-g6wp-4m2w) (a tenant-controlled connector `base_url` could reach cloud metadata, loopback and internal services from the stateless test route, resource reads and scheduled polls — the guard now sits on every construction path, and the API refuses those destinations before they are stored). **This is the breaking change:** `POST /api/v1/cases/{case_id}/comments` no longer accepts `is_system` in the request body — the server ignores the field rather than refusing the request, so existing clients keep succeeding and only generated SDK request types lose the property; system notes are written by the server itself. Supply-chain pinning tightened in both directions: the semgrep rule packs the scanner ratchet was measured with are vendored into the tree with a rules-digest arm, and the Oct-21 advisory wave (a critical `certifi`, `aiohttp`, `pillow`, the MCP SDK, and the npm floors) is cleared across every lockfile — with one recorded, expiring exception where upstream `fastembed` still caps `pillow` below the fixed version in `services/threatintel`. Four connectors (Lacework, Tines, Datadog, PagerDuty) stopped collapsing their vendor's own top severity into `high`, an OpenCTI feed client validated against a live platform joins threat intel, and the LLM gateway image is pinned to the exact version the stack was measured against after upstream deleted the floating tag it referenced. **39 defects were fixed across this release and the two before it** (12 here, 11 in v19.0.0, 16 in v18.0.0). The chart publishes as **`7.9.0`**. Everything below describes v19.0.0 and earlier, which this release does not change.+>+> **Previously:** AiSOC was on `v19.0.0`, released 2026-10-12. **The release that finished the depth plan's analyst, collection and governance phases.** Nineteen workstreams landed as one verified tree. A session now has **one producer and three stores** that cannot disagree about which session an event belongs to; a real security **posture is collected and versioned** so a detection reads the posture that was true when an event happened; behavioural **baselines moved into CORE** as a fusion module. Collection meets an estate the way it emits — an **OTLP logs receiver, a Kafka input** for customer topics, and a **real TAXII 2.1 server** over the tenant IOC store — and a **cold-tier lake query reports a cost estimate and a progress state** instead of timing out silently. The **Helm chart installs CORE** with exactly one scheduler replica leading through a Postgres lease. A playbook can **ask the person who signed in, then their manager, and branch on the signed answer**; AiSOC's own **MCP server speaks streamable HTTP**, authorized and audited per call; a case opens a **war room** that syncs decisions back; a **hunt that finds something becomes a cited report**; the **responder app is an installable build** with real APNs and FCM delivery. Governance closed the 8.1 clauses: **WebAuthn** as a console second factor enforceable per role, an **enforced audit retention window** that leaves the surviving chain verifiable, **axe accessibility** on the case workspace and alert list, and a tenant's **entitlement limit that can refuse work** when the tenant opts in. **This is the breaking change:** `PATCH /api/v1/alerts/{id}` used to answer **200 while silently dropping** any field outside its five writable ones — a success for a write that did not happen — and now answers **422** naming the field and the route that applies it. If you call that endpoint with `disposition`, `severity`, `confidence` or `snoozed_until`, read the BREAKING section before upgrading. **67 defects were fixed across this release and the two before it** (11 here, 16 in v18.0.0, 40 in v17.1.0), including **tenant deletion**, which had been impossible on any database holding audit rows because the audit immutability trigger refused the cascade its own foreign key declares. The chart publishes as **`7.8.0`**. Everything below describes v18.0.0 and earlier, which this release does not change.>> **Previously:** AiSOC was on `v18.0.0`, released 2026-10-09. **The release where the platform learned what it is looking at.** Until now every event from 78 of 87 connector types arrived as a generic OCSF Security Finding, and fusion promotes that class unconditionally — so a permitted DNS lookup, an allowed proxy request and a routine Windows event each became an alert indistinguishable from a real one. Ingest now carries a recorded decision for **every one of the 87 connector types**: the class its stream actually is, or the reason it stays a finding. **This is the breaking change**: `permission_conditions`, `privilege_grants` and `workload_identities` shipped as tables with no reader, and now change authorization outcomes in both directions — a condition that was inert begins denying, and an approved grant that was inert begins conferring. If you wrote rows into those tables directly, read the BREAKING section before upgrading. **Everything else is new capability.** Every event carries an activity projection — who acted, what kind of actor they were, what they did, to which resource, from where, with what outcome — with `actor.kind` derived from each vendor's own documented field rather than guessed. A 44-type event catalogue across ten sources classifies vendor event types by sensitivity, and deliberately changes neither severity nor promotion, so a one-line data edit cannot flood a queue. Detection gained a **72-rule windowed corpus** with ordered and unordered sequences and Sigma correlations: the 74 rules that needed a sliding window are all decided, 50 translated with their thresholds derived from each original's own clauses, 24 refused with a recorded reason. Rules that cannot fire fell from **119 to 2**. Collection now meets an estate the way it actually emits — an organisation CloudTrail over S3 and SQS, GCP Pub/Sub, Azure Event Hubs, and a syslog listener for appliances that speak nothing else. Playbooks gained `wait`, `parallel` and `loop` with idempotency keys, and `notify` and `osquery_live_query` became governed verbs — which is also how we found that every dry run had been reporting a completed send. Retention is the window the tenant chooses up to a 400-day ceiling, and a legal hold now outranks it in the worker rather than only in a function nothing called. Console MFA ships: TOTP against RFC 6238's own vectors, single-use recovery codes, enforceable per tenant. **64 defects were fixed across this release and the two before it** (8 in v17.0.0, 40 in v17.1.0, 16 here). The published executable-rule figure moves **down**, 2,603 to 2,511, and that is the correction rather than a regression: rules that could not fire stopped being counted as capable of it. The chart publishes as **`7.6.0`**. Everything below describes v17.1.0 and earlier, which this release does not change.>@@ -20,23 +22,41 @@ This file mirrors what used to live in the "What's new" section of [`README.md`]## What's new-`VERSION` is `19.0.0`. The **v19.0.0** release (2026-10-12) finishes the-depth plan's analyst, collection and governance phases, landing nineteen-workstreams as one verified tree: sessions with one producer and three-stores, versioned security posture read at event time, behavioural-baselines in CORE, an OTLP/Kafka/TAXII collection surface, cost-estimated-cold-lake queries, a Helm chart that installs CORE with one scheduler-leading, a verification playbook that asks the user then their manager,-AiSOC's own MCP server over streamable HTTP, case war rooms, hunt-to-report,-an installable responder app, and the 8.1 governance clauses — WebAuthn,-enforced audit retention, accessibility, and opt-in entitlement limits. It-carries one breaking change: `PATCH /api/v1/alerts/{id}` now answers 422 on-a field it cannot apply instead of 200 on a silent no-op. 67 defects were-fixed across this release and the two before it (11 here), including tenant-deletion, impossible until now on any database holding audit rows. See the-TL;DR above and the `[19.0.0]` section of+`VERSION` is `20.0.0`. The **v20.0.0** release (2026-10-21) is the+security-response release: four vulnerability reports reproduced,+fixed and published as advisories (cases read-scope, system-note+spoofing, webhook RLS + SSRF, and the SSRF guard adopted on every+connector egress path), the semgrep rule packs vendored so the scanner+ratchet's ceiling is bound to the exact pack bytes it was measured with,+the Oct-21 dependency-advisory wave cleared across every lockfile with+one recorded expiring exception, four connectors preserving their+vendor's own top severity instead of collapsing it into `high`, a+community-contributed OpenCTI feed client validated against a live+platform, and the LLM gateway image pinned to the exact version the+stack was measured against after upstream deleted the floating tag. It+carries one breaking change: `POST /api/v1/cases/{case_id}/comments` no+longer accepts `is_system` in the request body (the field is ignored,+not refused, so existing requests keep succeeding). 39 defects were+fixed across this release and the two before it (12 here). See the+TL;DR above and the `[20.0.0]` section of[`CHANGELOG.md`](CHANGELOG.md) for the full inventory.+### Previously: v19.0.0++The **v19.0.0** release (2026-10-12) finished the depth plan's analyst,+collection and governance phases, landing nineteen workstreams as one+verified tree: sessions with one producer and three stores, versioned+security posture read at event time, behavioural baselines in CORE, an+OTLP/Kafka/TAXII collection surface, cost-estimated cold-lake queries, a+Helm chart that installs CORE with one scheduler leading, a verification+playbook that asks the user then their manager, AiSOC's own MCP server+over streamable HTTP, case war rooms, hunt-to-report, an installable+responder app, and the 8.1 governance clauses — WebAuthn, enforced audit+retention, accessibility, and opt-in entitlement limits. It carried one+breaking change: `PATCH /api/v1/alerts/{id}` now answers 422 on a field+it cannot apply instead of 200 on a silent no-op. The chart published as+`7.8.0`.+### Previously: v18.0.0The **v18.0.0** release (2026-10-09) gave the platform a semantic layer: adiff --git a/VERSION b/VERSIONindex 49e3587fb..e88320d7c 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-19.0.0+20.0.0diff --git a/apps/docs/static/data/scoreboard.json b/apps/docs/static/data/scoreboard.jsonindex 719008fc1..e4952d93d 100644--- a/apps/docs/static/data/scoreboard.json+++ b/apps/docs/static/data/scoreboard.json@@ -3,9 +3,9 @@"_readme": "Append-only public benchmark scoreboard. Each row is one eval run. Substrate rows (no LLM, deterministic) are marked substrate:true and MUST NOT be quoted as live agent performance. Wet-eval rows (substrate:false) are appended by the T5.5 weekly CI workflow once it lands. Newest row first.","rows": [{- "date": "2026-10-13",- "agent_version": "v19.0.0",- "commit_sha": "33db0a0a",+ "date": "2026-10-22",+ "agent_version": "v20.0.0",+ "commit_sha": "b6fcc11f","substrate": true,"eval_mode": "substrate-only","mitre_accuracy": 0.97,diff --git a/apps/docs/static/llms-full.txt b/apps/docs/static/llms-full.txtindex c54de30cd..dc35e51e7 100644--- a/apps/docs/static/llms-full.txt+++ b/apps/docs/static/llms-full.txt@@ -3,7 +3,7 @@<!-- Generated by scripts/generate_llms_txt.py. Do not edit by hand; run the script and commit the result. -->> AiSOC is an open-source, self-hostable AI Security Operations Center, MIT-> licensed and maintained by the AiSOC community. Version 19.0.0.+> licensed and maintained by the AiSOC community. Version 20.0.0.> Repository: https://github.com/beenuar/AiSOC. Documentation: https://beenuar.github.io/AiSOC/.This file exists so an automated reader can answer questions about AiSOC@@ -127,7 +127,7 @@ plans/ Historical prototype subtree — reference only, never editedEvery number in this file is generated from the artefact that owns it. If youneed to state one, re-derive it rather than quoting a figure from prose —-including from this file, which is a snapshot of version 19.0.0.+including from this file, which is a snapshot of version 20.0.0.```python3 scripts/generate_corpus_stats.py --check # executable + on-disk rulesdiff --git a/apps/docs/static/llms.txt b/apps/docs/static/llms.txtindex ff89c76fc..cb58026ec 100644--- a/apps/docs/static/llms.txt+++ b/apps/docs/static/llms.txt@@ -6,7 +6,7 @@> security telemetry from 87 first-party connectors, normalises it to OCSF,> correlates it into alerts, and runs LLM agents that triage and investigate them.> Every agent decision is written to an investigation ledger, so the reasoning-> behind a verdict can be replayed step by step. MIT licensed. Current version 19.0.0.+> behind a verdict can be replayed step by step. MIT licensed. Current version 20.0.0.AiSOC is built and maintained by the AiSOC community. It is a complete SOCplatform rather than a single tool: ingestion, detection, correlation, agentdiff --git a/apps/web/package.json b/apps/web/package.jsonindex 351739254..efbb72172 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -1,6 +1,6 @@{"name": "@aisoc/web",- "version": "19.0.0",+ "version": "20.0.0","private": true,"description": "AiSOC SOC Console - Next.js 14 Frontend","license": "MIT",diff --git a/infra/helm/aisoc/Chart.yaml b/infra/helm/aisoc/Chart.yamlindex e6dcc7798..0d86c84ab 100644--- a/infra/helm/aisoc/Chart.yaml+++ b/infra/helm/aisoc/Chart.yaml@@ -25,13 +25,13 @@ type: application# the chart refuses grants it used to accept (see the v14.0.0 BREAKING# section), and the chart's major is the only coordinate a consumer pulling# `oci://ghcr.io/beenuar/charts/aisoc` sees before they install it.-version: 7.8.1+version: 7.9.0# Used as the image tag wherever a `tag:` in values.yaml is left empty, so# it has to be a tag the registry actually holds — it read "5.2.0", which# exists for no image, so every pod of a default install would have gone to# ImagePullBackOff. scripts/check_published_images.py resolves it the same# way the templates do and fails when it names nothing.-appVersion: "v19.0.0"+appVersion: "v20.0.0"keywords:- security