beenuar/AiSOCPublic

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, AGPL-3.0 licensed. Ships an MCP server for Claude, Cursor and Continue.

AI summary: An autonomous Security Operations Center platform driven by AI agents.

Stars
8.6K
+606 today
Forks
918
Watchers
366
Open issues
2
Open PRs
27
Contributors
~47
Commits
2.2K
Branches
498

PythonAGPL-3.0Created May 2, 2026Last push 1d agoLatest release v24.0.0+1.3K stars this week+2.5K this month

Quick answers

What is AiSOC?
An autonomous Security Operations Center platform driven by AI agents.
What does AiSOC do?
AiSOC functions as an AI-driven Security Operations Center designed to automate threat detection, analysis, and response. It uses a network of specialized agents to monitor infrastructure, triage alerts, and execute remediation workflows. The platform integrates deeply with existing security tools to orchestrate autonomous defense. It provides a centralized console for analysts to oversee agent activity and tune security policies.
Who is AiSOC for?
Security operations teams looking to scale their incident response capabilities. Organizations aiming to automate repetitive triage workflows and integrate AI into their SOC.
How do I get started with AiSOC?
docker-compose up -d
How popular is AiSOC on GitHub?
beenuar/AiSOC has 8,634 stars and 918 forks on GitHub, and gained 1,306 stars in the last 7 days.
What license does AiSOC use?
beenuar/AiSOC is released under the AGPL-3.0 license.

Star history

since Nov 1, 2026
02.5K5K7.5KNov 2026Nov 2026Nov 2026Nov 2026
8.6K stars as of Nov 30, 2026. Measured daily since Nov 1, 2026; GitHub no longer exposes earlier star timestamps.

Update history

5 recorded
  • Nov 30, 2026New release v24.0.0 (previously v23.6.1).
  • Nov 30, 2026License changed from MIT to AGPL-3.0.
  • Nov 30, 2026Description changed from "Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable " to "Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable ".
  • Nov 22, 2026New release v23.6.1 (previously v23.1.0).
  • Nov 10, 2026New release v23.1.0 (previously v21.0.0).

Contribution activity

commits per day, last 52 weeks
DecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 0 commits2026-02-01: 0 commits2026-02-02: 0 commits2026-02-03: 0 commits2026-02-04: 0 commits2026-02-05: 0 commits2026-02-06: 0 commits2026-02-07: 0 commits2026-02-08: 0 commits2026-02-09: 0 commits2026-02-10: 0 commits2026-02-11: 0 commits2026-02-12: 0 commits2026-02-13: 0 commits2026-02-14: 0 commits2026-02-15: 0 commits2026-02-16: 0 commits2026-02-17: 0 commits2026-02-18: 0 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 0 commits2026-02-26: 0 commits2026-02-27: 0 commits2026-02-28: 0 commits2026-03-01: 0 commits2026-03-02: 0 commits2026-03-03: 0 commits2026-03-04: 0 commits2026-03-05: 0 commits2026-03-06: 0 commits2026-03-07: 0 commits2026-03-08: 0 commits2026-03-09: 0 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 0 commits2026-03-13: 0 commits2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 0 commits2026-03-17: 0 commits2026-03-18: 0 commits2026-03-19: 0 commits2026-03-20: 0 commits2026-03-21: 0 commits2026-03-22: 0 commits2026-03-23: 0 commits2026-03-24: 0 commits2026-03-25: 0 commits2026-03-26: 0 commits2026-03-27: 0 commits2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 0 commits2026-03-31: 0 commits2026-04-01: 0 commits2026-04-02: 0 commits2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 0 commits2026-04-10: 0 commits2026-04-11: 0 commits2026-04-12: 0 commits2026-04-13: 0 commits2026-04-14: 0 commits2026-04-15: 0 commits2026-04-16: 0 commits2026-04-17: 0 commits2026-04-18: 0 commits2026-04-19: 0 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 0 commits2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 0 commits2026-04-26: 0 commits2026-04-27: 0 commits2026-04-28: 0 commits2026-04-29: 0 commits2026-04-30: 0 commits2026-05-01: 3 commits2026-05-02: 6 commits2026-05-03: 9 commits2026-05-04: 14 commits2026-05-05: 18 commits2026-05-06: 65 commits2026-05-07: 22 commits2026-05-08: 29 commits2026-05-09: 43 commits2026-05-10: 20 commits2026-05-11: 25 commits2026-05-12: 3 commits2026-05-13: 16 commits2026-05-14: 37 commits2026-05-15: 8 commits2026-05-16: 1 commit2026-05-17: 8 commits2026-05-18: 6 commits2026-05-19: 36 commits2026-05-20: 0 commits2026-05-21: 0 commits2026-05-22: 0 commits2026-05-23: 0 commits2026-05-24: 0 commits2026-05-25: 0 commits2026-05-26: 0 commits2026-05-27: 22 commits2026-05-28: 10 commits2026-05-29: 3 commits2026-05-30: 4 commits2026-05-31: 4 commits2026-06-01: 18 commits2026-06-02: 0 commits2026-06-03: 0 commits2026-06-04: 0 commits2026-06-05: 0 commits2026-06-06: 0 commits2026-06-07: 0 commits2026-06-08: 17 commits2026-06-09: 0 commits2026-06-10: 0 commits2026-06-11: 0 commits2026-06-12: 0 commits2026-06-13: 0 commits2026-06-14: 0 commits2026-06-15: 0 commits2026-06-16: 0 commits2026-06-17: 0 commits2026-06-18: 0 commits2026-06-19: 1 commit2026-06-20: 0 commits2026-06-21: 0 commits2026-06-22: 0 commits2026-06-23: 0 commits2026-06-24: 0 commits2026-06-25: 0 commits2026-06-26: 0 commits2026-06-27: 28 commits2026-06-28: 5 commits2026-06-29: 8 commits2026-06-30: 25 commits2026-07-01: 0 commits2026-07-02: 0 commits2026-07-03: 0 commits2026-07-04: 0 commits2026-07-05: 0 commits2026-07-06: 2 commits2026-07-07: 0 commits2026-07-08: 0 commits2026-07-09: 0 commits2026-07-10: 0 commits2026-07-11: 47 commits2026-07-12: 43 commits2026-07-13: 11 commits2026-07-14: 1 commit2026-07-15: 0 commits2026-07-16: 0 commits2026-07-17: 27 commits2026-07-18: 0 commits2026-07-19: 6 commits2026-07-20: 0 commits2026-07-21: 0 commits2026-07-22: 0 commits2026-07-23: 0 commits2026-07-24: 0 commits2026-07-25: 0 commits2026-07-26: 0 commits2026-07-27: 0 commits2026-07-28: 0 commits2026-07-29: 0 commits2026-07-30: 19 commits2026-07-31: 0 commits2026-08-01: 0 commits2026-08-02: 8 commits2026-08-03: 30 commits2026-08-04: 0 commits2026-08-05: 0 commits2026-08-06: 0 commits2026-08-07: 0 commits2026-08-08: 0 commits2026-08-09: 0 commits2026-08-10: 0 commits2026-08-11: 19 commits2026-08-12: 0 commits2026-08-13: 0 commits2026-08-14: 0 commits2026-08-15: 0 commits2026-08-16: 0 commits2026-08-17: 0 commits2026-08-18: 0 commits2026-08-19: 0 commits2026-08-20: 0 commits2026-08-21: 0 commits2026-08-22: 0 commits2026-08-23: 0 commits2026-08-24: 0 commits2026-08-25: 0 commits2026-08-26: 0 commits2026-08-27: 0 commits2026-08-28: 0 commits2026-08-29: 0 commits2026-08-30: 0 commits2026-08-31: 0 commits2026-09-01: 0 commits2026-09-02: 0 commits2026-09-03: 0 commits2026-09-04: 0 commits2026-09-05: 0 commits2026-09-06: 0 commits2026-09-07: 0 commits2026-09-08: 0 commits2026-09-09: 0 commits2026-09-10: 0 commits2026-09-11: 0 commits2026-09-12: 0 commits2026-09-13: 0 commits2026-09-14: 0 commits2026-09-15: 0 commits2026-09-16: 0 commits2026-09-17: 0 commits2026-09-18: 0 commits2026-09-19: 0 commits2026-09-20: 0 commits2026-09-21: 32 commits2026-09-22: 51 commits2026-09-23: 50 commits2026-09-24: 51 commits2026-09-25: 34 commits2026-09-26: 15 commits2026-09-27: 36 commits2026-09-28: 64 commits2026-09-29: 52 commits2026-09-30: 12 commits2026-10-01: 10 commits2026-10-02: 8 commits2026-10-03: 31 commits2026-10-04: 31 commits2026-10-05: 15 commits2026-10-06: 2 commits2026-10-07: 15 commits2026-10-08: 16 commits2026-10-09: 18 commits2026-10-10: 27 commits2026-10-11: 159 commits2026-10-12: 63 commits2026-10-13: 1 commit2026-10-14: 2 commits2026-10-15: 3 commits2026-10-16: 1 commit2026-10-17: 0 commits2026-10-18: 2 commits2026-10-19: 4 commits2026-10-20: 2 commits2026-10-21: 12 commits2026-10-22: 26 commits2026-10-23: 0 commits2026-10-24: 1 commit2026-10-25: 11 commits2026-10-26: 5 commits2026-10-27: 15 commits2026-10-28: 9 commits2026-10-29: 8 commits2026-10-30: 5 commits2026-10-31: 9 commits2026-11-01: 10 commits2026-11-02: 32 commits2026-11-03: 29 commits2026-11-04: 27 commits2026-11-05: 17 commits2026-11-06: 22 commits2026-11-07: 8 commits2026-11-08: 2 commits2026-11-09: 2 commits2026-11-10: 17 commits2026-11-11: 16 commits2026-11-12: 12 commits2026-11-13: 12 commits2026-11-14: 22 commits2026-11-15: 7 commits2026-11-16: 33 commits2026-11-17: 16 commits2026-11-18: 8 commits2026-11-19: 4 commits2026-11-20: 8 commits2026-11-21: 3 commits2026-11-22: 16 commits2026-11-23: 25 commits2026-11-24: 10 commits2026-11-25: 20 commits2026-11-26: 1 commit2026-11-27: 1 commit2026-11-28: 7 commits2026-11-29: 10 commits2026-11-30: 2 commits2026-12-01: 0 commits2026-12-02: 0 commits2026-12-03: 0 commits2026-12-04: 0 commits2026-12-05: 0 commits
2,034 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Rising fast

    +1,306 stars this week

  • Very active

    2,034 commits in 52 weeks

  • Well documented

    High community health score

  • Continuous integration

    Automated checks passing

What AiSOC does

AiSOC functions as an AI-driven Security Operations Center designed to automate threat detection, analysis, and response. It uses a network of specialized agents to monitor infrastructure, triage alerts, and execute remediation workflows. The platform integrates deeply with existing security tools to orchestrate autonomous defense. It provides a centralized console for analysts to oversee agent activity and tune security policies.

Security operations teams looking to scale their incident response capabilities. Organizations aiming to automate repetitive triage workflows and integrate AI into their SOC.

  • Autonomous triage: Agents automatically investigate and score incoming security alerts.
  • Multi-agent architecture: Deploys specialized AI models for different stages of the incident lifecycle.
  • Workflow orchestration: Integrates with existing tools to execute complex remediation steps.
  • Analyst oversight console: Provides a centralized dashboard for human review of automated decisions.
  • Automated threat hunting: Proactively searches for indicators of compromise across environments.

Where teams use it

Automate alert triage

Reduce analyst fatigue by automatically investigating low-fidelity security alerts.

Accelerate incident response

Orchestrate immediate remediation actions during critical security events.

Continuous threat hunting

Deploy AI agents to continuously scan for advanced threats in the background.

Automated threat response

Respond to security incidents automatically by leveraging AI-driven playbook execution.

Getting started: docker-compose up -d

README

main branch
AiSOC

AiSOC

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.

License: AGPL-3.0 Version CI CodeQL OpenSSF Scorecard Technical Guide

Technical Guide (PDF) · Docs · Architecture · What actually works · Discussions


What AiSOC does

Telemetry arrives from your security tools. AiSOC normalizes it, runs the 3026 executable rules of its 7408-rule library, groups what fires into incidents, investigates each one with an AI agent whose every prompt and tool call is recorded, and proposes an action. New threat intelligence re-sweeps the history you already collected, and a human approves before anything reaches a vendor.

Star History

Star History Chart

What it looks like running

AiSOC on one host: the alert queue filled by the pipeline, a local-model triage verdict in the investigation rail, and the risk-based entity queue naming the hosts each entity was seen on

Watch the full walkthrough — install to AI verdict on one server against the published images, terminal waits shortened and the recording saying so on screen. The recording and the stills below are both from a v23.5.0 run. (step by step · what is real)

Alerts queue AI triage verdict in the Investigation Rail
Alerts — each attributed to the connector that fed it. Automated triage — the bundled local model's verdict, confidence and rationale, verbatim.
Threat intelligence page showing CISA KEV entries SOC operations dashboard with honest empty states
Threat intelligence — the real CISA KEV catalog, minutes after boot, with no API key. SOC operations — with nothing connected yet, and it says so rather than showing a placeholder.
Entity-risk queue showing the hosts each entity was seen on The entity attack graph over real ingested telemetry with Neo4j running
Risk-based alerting — alerts rolled up per entity, each row naming the hosts it was seen on. Attack graph — identities, assets and IPs over real ingested telemetry, with Neo4j live.

Quick start

git clone https://github.com/beenuar/AiSOC && cd AiSOC
make up

On Windows, or on a machine with nothing installed yet, one line does the prerequisites too: iwr -useb https://raw.githubusercontent.com/beenuar/AiSOC/main/install.ps1 | iex (curl -fsSL https://raw.githubusercontent.com/beenuar/AiSOC/main/install.sh | bash on Linux and macOS). Without Docker at all, pip install aisoc-sandbox && aisoc-sandbox demo walks one alert through the agent funnel offline in under 30 seconds. Without your own machine, open the repo in GitHub Codespaces and run make up in its terminal. All four end at the same console; only the first three install anything.

The Technical Guide covers this in depth: server sizing, where the model runs, every failure mode with its cause and fix, the REST API, MCP, and every console surface.

Needs Docker Compose v2 with 8 GB memory and 20 GB free disk in the Docker VM, plus python3 (3.9+) and bash; make doctor checks all of it and Installation says what each number was measured against. The first run downloads a ~2 GB model into a volume only make clean clears.

make up also creates .env and generates the sixteen secrets in it — the credential vault, the session signing key, five service-to-service credentials and four datastore passwords — then creates an administrator and prints its password, generated on your machine, shown once and stored nowhere. Lost it? make bootstrap ARGS=--reset-password mints another.

A port already in use does not stop the install. AiSOC publishes on a free one, names what held the old one, and moves the console address with it: 64 seconds to a signed-in console on a bare clone with 5432 and 11434 both taken.

Then prove it works. make smoke posts one real event to the ingest API and follows it through Kafka, detection, correlation and Postgres, then reads the alert back out of the public API. Every stage reports PASS or FAIL:

$ make smoke
[PASS] raw telemetry accepted by ingest
[PASS] event traversed the spine and became an alert
PASS: 10/10 stages

Sign in at the address make up printed. A tenant with nothing connected lands on a setup wizard rather than an all-zero dashboard, and its state is read from your own data so it stays right if you connect a source through the API. The spec is docs/openapi.yaml — interactive docs are off in this production-class stack. Stuck? make doctor, which on a host where you have not run make up yet says exactly that.

Press Load sample data in the wizard. Five scenarios take the same ingest path a real connector uses — not inserted rows — so watching them become alerts means watching the pipeline work. They span low to critical on purpose, because a first run where everything is a crisis teaches you nothing about how triage separates signal from routine. They are attributed to AiSOC in the source column, refuse to load into a tenant that already has real alerts, and do not mark setup complete. (what each step proves) For the larger fixed corpus used by demos and evals, make demo loads a synthetic dataset — the pipeline shape, never a benchmark, a customer or an incident. Every row is is_synthetic = true and labelled in the console.

Connect real data

Push, with a credential from make ingest-token (the tenant comes from it, not a header):

curl -X POST http://localhost:8081/v1/ingest/batch \
  -H 'Content-Type: application/json' -H "Authorization: Bearer $AISOC_INGEST_TOKEN" \
  -d '{"connector_id":"edr-1","connector_type":"crowdstrike","events":[{"severity":"high",
       "title":"Encoded PowerShell from Office","host":"WIN-FIN-01"}]}'

Or pull, by configuring one of 98 click-and-connect data connectors in Settings → Connectors — Splunk, Sentinel, Elastic, CrowdStrike, Okta, AWS and Kubernetes audit among those with vendor-specific normalization and setup docs (coverage). Without a vendor profile a connector still ingests through a generic mapping resolving host, user and source IP.

A real cloud estate does not hand you its logs over a REST call. Four collectors read the surfaces one actually emits to: a CloudTrail organisation trail on S3 notified over SQS (management events, data events and VPC flow logs), a GCP Pub/Sub subscription on a Cloud Logging sink, an Azure Event Hubs capture, and a syslog/CEF listener. Each keeps a resumable cursor and a bounded per-poll budget, so a backlog applies backpressure.

Vulnerability intelligence collects itself — no sources to configure. A CVE names its advisory, patch note and often a proof-of-concept repo; those references are the seed and the crawler walks outward, scoring each host by what it yields. Extraction is deterministic code, never a model, because an exploit write-up is adversary-authored. Any public host, never your own network; off by default (how).

Bringing existing detections? packages/aisoc-migrate translates Splunk SPL, Sentinel KQL and Elastic EQL and refuses rather than approximating what it cannot carry, because an almost-right rule is harder to find than a missing one: of the 2,005 Splunk rules bundled here 1,734 translate and 1,711 of those are partial (what that means).

How it works

Ingest normalizes to a common shape and stamps an activity projection on every event — actor, action, resource, location, outcome, with actor.kind read from each vendor's own documented field rather than inferred — then Kafka carries it. Then fusion runs 3026 executable detection rules, of 7408 on disk, plus 90 sliding-window rules (75 count across events; 15 match a staged chain — A then B then C by the same entity, in event-time order) and three more counters fusion declares in its own Python, applies your tenant's own tuning on top — the disables, floors and suppressions the console writes, so a rule you turned off actually stops firing — and decides what becomes an alert. Correlation groups related alerts, an agent investigates and writes its reasoning to the Investigation Ledger, and a playbook may start from the result. Separately, new threat intelligence sweeps the lake for sightings you already collected, and a hypothesis becomes a hunt without anyone writing a query — the model fills a closed schema and every value is bound as a parameter, so it cannot express a query at all.

A playbook triggered by an alert previews before it acts. Three switches must agree — the deployment, the tenant, the playbook — and every default is off; anything less runs in preview with its plan attached to the alert. An approval step is a durable pause: the run suspends to Postgres, survives a restart, resumes after the approval, and expires with a recorded outcome rather than hanging.

Executable is earned, not declared. A rule joins the compiled ruleset only after a vendor-shaped event is replayed through the real connector and engine and that rule is watched to fire — never inferred from a directory or an enabled: flag. The proof can fail: --prove-gate reverts the Windows connector and requires all 1,687 Windows rules to go silent. It means reachable, not that it detects an attack. Two rules still cannot fire — down from 119, because a rule that could not fire stopped being counted as executable — and both are waiting on a behavioural baseline. The ratchet only moves down. (why 1,362 were refused)

Every answer carries its receipts. The copilot cites each checkable claim to the ledger entry behind it and labels the rest uncited, and any investigation exports as a signed evidence bundle — byte-identical, prompts as digests, OCSF 1.9.0. (how)

Beyond detection: the whole operating loop (new in v23.7). Eight capability programs, each gated by tests with recorded negative controls: your SIEM's own detection content managed from here (versioned inventory, drift hashes, outcome-attributed rule health with honest denominators, governed tuning) · a long-term archive tier (open-format Parquet, rehydration, portability, scoped legal holds) · phishing operations (vendor alerts and user reports in one campaign model, strict three-outcome recipient scoping, BEC signals as evidence never verdicts) · DLP and insider risk (vendor-neutral findings, an expiring watchlist, governed share-revocation across four estates) · AI-runtime security (session sequences, runaway sessions, MCP drift, shadow AI) · bounded hunting campaigns (closed-schema plans; the model never writes query text) · resolution over escalation (owners, next-action clocks, policy-gated resolved) · a co-managed operating model (shift handoffs, a narrow-only responsibility matrix, escalation routing). Completed actions undo through a governed mirror of forward dispatch, and investigation PDFs export from persisted artifacts, surviving restarts. Index: docs/roadmap/capability-program.md.

Where state lives. Twenty service trees (14 Python, 4 Go, 2 TypeScript) behind the Next.js console. Kafka is the spine; Postgres holds the alerts, cases and the tamper-evident audit chain; Redis and Qdrant are in CORE too, and full adds ClickHouse (the event lake), Neo4j (the entity graph) and OpenSearch (full-text search).

docs/architecture/README.md walks that path one step at a time — eleven steps, five diagrams, every box linking to the code — and mirrors to the docs portal.

Deployment profiles

Profile Command Services RAM What you get
core make up 16 ~8 GB The full alerting pipeline: ingest → detect → correlate → alert → triage → console, plus the LLM gateway, a local model, the CISA KEV threat feed, and the connector and response services the agent's vendor tools reach
full make up-full 22 ~12 GB Core plus event lake, entity graph, full-text search, enrichment
demo make up && make demo 16 ~8 GB Core plus labelled synthetic data

CORE is the smallest deployment that takes a real event and produces a real alert, and it needs no credentials to do either.

The model ships with the gateway. Ollama runs a pinned ~2 GB llama3.2:3b-instruct-q4_K_M sized for CPU-only inference, so make up produces real triage verdicts with real token counts in the Investigation Ledger — not a stub. It is not a frontier model: over 50 alerts it gave triage usable output 44 times before the reply was constrained to JSON and 50 after (method), and the rail labels which path answered. Run it faster with make up-gpu, make up-host-llm, or your own provider from the console (all four). No hosted provider has ever been exercised here — there is no funded key, so per-model rows read not measured rather than zero. (ADR-0006)

One real external feed ships on by default: services/threatintel polls the public CISA Known Exploited Vulnerabilities catalog — the one thing in a fresh install that is neither synthetic nor yours.

Evaluation, reflex and replay

The published numbers carry their own provenance. (methodology · real vs synthetic data)

  • Every verdict scorecard names the model that actually served it — gateway-attested, with an explicit provenance status; zero real calls or a deterministic fallback can never read as a model's performance.
  • Denominators are published, and the uncomfortable direction wins — full-cohort recall keeps abstentions in the malicious denominator; alert reduction ships three labelled figures; unmeasured reads not measured, never 0.
  • Replay is time-frozen; re-hunting is labelled — evidence cutoffs enforced in the retrieval queries, the mutation boundary at the write adapter, and new-intel discoveries never counted as predictions at the original event time.
  • Model suitability is per task — each configured model graded on locked evidence against a deterministic floor, with one-command reproduction against any local OpenAI-compatible endpoint.

AI agents

Agents triage alerts and investigate incidents. What they can and cannot do:

  • They read the alert, its correlated siblings, entity context, and prior verdicts for the same signature.
  • They call typed tools — lake queries, graph traversals, enrichment lookups. The model picks the tool and passes arguments; it never writes SQL.
  • Everything is logged to the Investigation Ledger — prompts, tool calls, citations, verdict, token cost — and exports as a signed bundle.
  • Grounding is checked. A verdict citing an indicator the evidence never contained is demoted to human review rather than auto-closed.
  • A prompt is validated before it is sent. Raw logs, OCSF payloads and secret-shaped values are refused, not redacted after the fact.
  • No vendor is touched without a human, unless a tenant has explicitly granted autonomy for that verb. Every response step is graded against its own capability contract at dispatch, so approving a playbook never authorises whatever its steps happen to contain, and an approver must hold the required permission tier and must not be the person who requested the action.

Project maturity

Stable is defined, and a gate enforces it. It was ungated prose until three rows were found describing coverage that did not exist. A row is Stable only with a check that runs on every pull request with no path filter, drives the real production path against real infrastructure, and has a negative control proven by breaking the thing and watching it go red. (the bar)

Capability Status Tested Production ready
Ingest → detect → correlate → alert Stable E2E + unit Yes
Detection engine (3026 executable rules) of 7408 Stable Replay proof Yes
Alert correlation into incidents Stable Unit Yes
REST API + web console Stable Unit + integration Yes
AI triage + Investigation Ledger Stable Live Postgres ledger + a PR-gated local-model agent run. No hosted provider has been exercised Yes, copilot mode
Event lake + hunting (ClickHouse) Stable Live ClickHouse on the shipped DDL, with a negative control Yes, full profile
Retro-hunts when new intel arrives Stable Live ClickHouse + Kafka with the flag on, with a negative control Opt-in, full profile
68-hunt YAML library, compiled against tenant events in the lake Stable Live ClickHouse: scheduled hunts read tenant data and refuse to fall back to the fixture; all 114 field names the corpus filters on compile, via a lake column or the stored payload Yes, full profile
SCIM 2.0 provisioning Stable Live Postgres through the real app: PATCH in both providers' dialects, group membership, deprovisioning proved by its consequences, with a negative control Yes
White-label branding Stable Live Postgres: the scheduled report and its covering email carry the organisation's brand, with two negative controls Yes
Usage metering Stable Live ClickHouse on the shipped DDL, with a negative control that makes an unscoped meter fail Yes
Entity graph (Neo4j) Stable Live Neo4j against the production reader, with a negative control Yes, full profile
Governed response actions Stable Live socket: permits, refuses, never leaks a refusal, with a negative control Human-approved only
Alert-triggered playbooks, with a durable approval pause Stable Live Postgres: suspend, restart, resume, expiry, with a negative control Yes — three opt-ins deep, preview by default
Per-tenant detection tuning in the live engine Stable Live Postgres: tuning written changes what the engine fires, with a negative control Yes
Scheduled connectors Stable Live scheduler polls a stub vendor into ingest, with a negative control Yes
UEBA Stable Live Postgres: migrations, scoring, persistence, isolation, with a negative control Yes, full profile
Package distribution (npm/PyPI) Beta The five PyPI packages resolve at the tree's versions, checked against the live registries in both directions with a self-test; the npm half has no registry state to verify pip install aisoc-sandbox (and the other four) works today; the three npm packages still need the first-upload NPM_TOKEN, an account action

What AiSOC is not

  • Not a drop-in SIEM replacement. It correlates and investigates. The event lake holds up to 400 days hot, and an opt-in archive tier exports closed months to your own S3-compatible bucket as signed, verified Parquet — rehydratable for investigation, exportable for portability (readable with any Parquet reader; the gate proves it with DuckDB). Compliance search over decades of archives remains SIEM territory.
  • Not able to see telemetry you have not connected. There is no discovery.
  • Not autonomous by default. Response requires explicit policy authorization and a human approver.
  • Demo and sample incidents are not real incidents, and benchmark numbers are substrate self-consistency measures, not live agent accuracy — labelled as such wherever published.

Troubleshooting

make doctor checks host tools, memory, disk, every port and each datastore by querying it rather than asking whether its container is up, then prints the command to run next. A container killed by a full Docker VM is named as that, not as the service that happened to die. (the six most common failures)

Security

Secrets are generated per deployment and never committed; connector credentials are encrypted at rest. Services connect to Postgres as a DML-only role, so row-level security actually applies, and tenant isolation is enforced at the query layer in every store. RBAC gates every mutating route, ingest is authenticated, and the default install sends no prompt anywhere — the model runs beside it.

SAML and OIDC sign-in with per-connection tenant and group mapping, SCIM provisioning, and console MFA — TOTP with recovery codes, enforceable per tenant. Attribute conditions, time-boxed elevation and workload identities run inside the one permission path, where a condition can only narrow a permission and never grant one. (SSO · access governance)

A service with no credential refuses to serve rather than serving unauthenticated. The changelog records each fix; report via SECURITY.md.

Developing

make test        # unit tests for every service
make smoke       # the golden pipeline, against a running stack
make stats       # recount every figure this README publishes

Guides: add a connector · add a detection · plugin lifecycle. Every count above is recounted from the tree, and CI fails if this README disagrees.

Funding · Roadmap · Contributing · License

Development is funded and supported by Cyble, who pay for the engineering time behind AiSOC and release it under the AGPL-3.0 licence rather than keeping it. That buys no special treatment here — no Cyble-only features, no gated modules, no telemetry. (full credits)

ROADMAP.md · CONTRIBUTING.md · SECURITY.md · AGPL-3.0

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

61 total
  1. AiSOC v24.0.0v24.0.0Nov 30, 20267 downloads

    ### BREAKING - **The licence changed from MIT to AGPL-3.0.** No code, API, schema or configuration changed in this release — the break is legal, and the major version exists so that anyone redistributing or embedding AiSOC sees it rather than inheriting it through a patch bump. - **Upgrading an unmodified self-hosted deployment needs no action.** Run `make upgrade` as usual. You may run AiSOC in production, commercially, for any number of users, under the AGPL exactly as you did under MIT. - **If you run a _modified_ AiSOC as a service others use**, those users are entitled to your modifications. Publishing your fork, or offering the modified source to your users on request, satisfies this. - **If you redistribute AiSOC inside a product**, the AGPL is materially stronger than MIT and may be incompatible with how you ship. Pinning a v23.9.0-or-earlier tag keeps the MIT terms indefinitely; those releases are not withdrawn and not relicensed. - **Nothing is retroactive.** Every artefact published up to and including v23.9.0 remains available under MIT, and the original permission notice is retained verbatim in `LICENSE.MIT`. Third-pa

  2. AiSOC v23.9.0v23.9.0Nov 29, 20264 downloads

    ## What this release gives you **Any hosted model is now selectable from the console — AI lab, cloud provider or self-hosted — with no `.env` edit and no container recreate.** Three cloud families join the seven that existed, so the picker now offers ten, and a tenant configures one by pasting a credential into a form rather than by editing a file and recreating a container. ![The AiSOC settings page, Deployment tab, with the LLM provider picker set to Google Vertex AI and Vertex's own guidance shown beneath it](https://raw.githubusercontent.com/beenuar/AiSOC/v23.9.0/apps/web/public/screenshots/byok-vertex.png) *The provider picker on **Google Vertex AI**, one of ten families. The guidance beneath it is Vertex's own — a separate Model Garden API, `project_id` in settings — and not another vendor's, which it was for one release. This is a configuration surface, not a model answering: no Google credential exists on the machine these were captured on, so no Vertex endpoint was contacted.* **Google Gemini** has one canonical OpenAI-compatible endpoint, so a pasted key is a complete configuration — this is what a user asked for in [discussion #1548](https://github.com/beenuar/AiSOC/

  3. AiSOC v23.8.0v23.8.0Nov 29, 202611 downloads

    ## What this release gives you **AiSOC now collects vulnerability and exploit intelligence by reading the open internet for itself, and you configure no sources at all.** Every CVE record the platform already holds names its vendor advisory, its patch note and often a proof-of-concept repository — so those references are the seed, and the crawler walks outward from them through links and publisher-advertised feeds, scoring each host by what it actually yields and demoting the ones that stop earning their fetches, with the reason recorded. **Three things the schema has declared for years and nothing ever wrote now have a writer:** `asset_vulnerabilities.epss_score`, unpopulated since migration 013; exploitation, which was a single boolean only CISA KEV ever set and is now individual signals carrying their provenance, so "a proof of concept exists on GitHub" and "ransomware crews are using it" stop being the same fact; and reference lists, published by every vulnerability format and read by nothing. Intelligence reaches a tenant's own findings **only where that tenant already has a finding for that CVE** — knowing a CVE is exploited is not evidence of exposure to it — and `is_expl

  4. AiSOC v23.7.2v23.7.2Nov 25, 202626 downloads

    ### Fixed - **The agents image can actually render the PDFs its routes offer.** Its Dockerfile never installed WeasyPrint's native stack, so on every deployment the legacy `report.pdf` route answered 500 ("cannot load library 'libgobject-2.0-0'") and the case-report-export `try_pdf` leg could never produce a PDF — the API-side fallback carried the journey. The image now ships the same four Pango/Cairo libraries the API image always has; verified live with a warm export (17,715-byte PDF) and a cold one after an agents restart (served from persisted artifacts). ### Security - **A vendor redirect can no longer carry a live action past the SSRF guard** (GHSA-hfgq-46wx-m6g5, high; reported by @Echore61). The dispatcher validates a caller-supplied `base_url` before dispatch, but validation has single-URL scope — and the osctrl and FleetDM clients created their HTTP session with `follow_redirects=True`, so a public host answering 302 could send the request to cloud metadata or an internal service the guard never saw. Both clients now refuse redirects outright, the same rule every other caller-URL outbound path already follows; a 3xx surfaces as an honest

  5. AiSOC v23.7.1v23.7.1Nov 24, 202619 downloads

    ### Security - **The archive destination can no longer be a server-side request forgery vector** (GHSA-98q5-87mq-9979, high; reported by @laijunyue). A tenant's `s3_endpoint` was shape-validated only, then bound into ClickHouse's `s3()` table function — and ClickHouse issues that request from the lake, outside the API's egress guard, so a tenant admin could point the archive at cloud metadata (`http://169.254.169.254`) or internal HTTP services and read a response-length oracle off the export error. `validate_destination` now resolves the host and classifies every address the way the webhook egress guard does: link-local, loopback, reserved, multicast and unspecified are refused unconditionally; RFC1918/ULA private ranges are refused unless the operator deliberately set `AISOC_ARCHIVE_ALLOW_PRIVATE_ENDPOINTS=1` (an in-network MinIO is the feature's most common legitimate destination, and that is an operator-level trust decision, not a tenant-level one); one disallowed record among several refuses the whole name. The check runs at policy save and again at every use, so rows stored before this fix are refused at export time. Verified live both ways:

Code frequency

additions and deletions
+1M-1MWeek of 2026-04-26: +47,164 linesWeek of 2026-04-26: -1,131 linesWeek of 2026-05-03: +1,046,683 linesWeek of 2026-05-03: -27,004 linesWeek of 2026-05-10: +206,174 linesWeek of 2026-05-10: -12,579 linesWeek of 2026-05-17: +13,129 linesWeek of 2026-05-17: -3,436 linesWeek of 2026-05-24: +6,140 linesWeek of 2026-05-24: -1,769 linesWeek of 2026-05-31: +2,691 linesWeek of 2026-05-31: -1,259 linesWeek of 2026-06-07: +681 linesWeek of 2026-06-07: -381 linesWeek of 2026-06-14: +74,760 linesWeek of 2026-06-14: -0 linesWeek of 2026-06-21: +39,047 linesWeek of 2026-06-21: -556 linesWeek of 2026-06-28: +31,455 linesWeek of 2026-06-28: -4,309 linesWeek of 2026-07-05: +6,281 linesWeek of 2026-07-05: -892 linesWeek of 2026-07-12: +70,658 linesWeek of 2026-07-12: -28,096 linesWeek of 2026-07-19: +1,316 linesWeek of 2026-07-19: -117 linesWeek of 2026-07-26: +1,827 linesWeek of 2026-07-26: -1,172 linesWeek of 2026-08-02: +12,275 linesWeek of 2026-08-02: -953 linesWeek of 2026-08-09: +1,642 linesWeek of 2026-08-09: -1,340 linesWeek of 2026-08-16: +0 linesWeek of 2026-08-16: -0 linesWeek of 2026-08-23: +0 linesWeek of 2026-08-23: -0 linesWeek of 2026-08-30: +0 linesWeek of 2026-08-30: -0 linesWeek of 2026-09-06: +0 linesWeek of 2026-09-06: -0 linesWeek of 2026-09-13: +0 linesWeek of 2026-09-13: -0 linesWeek of 2026-09-20: +369,316 linesWeek of 2026-09-20: -42,597 linesWeek of 2026-09-27: +462,266 linesWeek of 2026-09-27: -26,720 linesWeek of 2026-10-04: +207,317 linesWeek of 2026-10-04: -21,206 linesWeek of 2026-10-11: +81,631 linesWeek of 2026-10-11: -9,287 linesWeek of 2026-10-18: +86,868 linesWeek of 2026-10-18: -6,408 linesWeek of 2026-10-25: +42,064 linesWeek of 2026-10-25: -4,078 linesWeek of 2026-11-01: +312,432 linesWeek of 2026-11-01: -73,378 linesWeek of 2026-11-08: +23,049 linesWeek of 2026-11-08: -3,499 linesWeek of 2026-11-15: +22,398 linesWeek of 2026-11-15: -3,326 linesWeek of 2026-11-22: +59,078 linesWeek of 2026-11-22: -7,850 linesWeek of 2026-11-29: +6,476 linesWeek of 2026-11-29: -2,083 linesApr 26, 2026Nov 29, 2026
+3.2M lines added, -285.4K removed over the last year.

Commits per week

last 52 weeks
2330Week of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 0 commitsWeek of 2026-01-25: 0 commitsWeek of 2026-02-01: 0 commitsWeek of 2026-02-08: 0 commitsWeek of 2026-02-15: 0 commitsWeek of 2026-02-22: 0 commitsWeek of 2026-03-01: 0 commitsWeek of 2026-03-08: 0 commitsWeek of 2026-03-15: 0 commitsWeek of 2026-03-22: 0 commitsWeek of 2026-03-29: 0 commitsWeek of 2026-04-05: 0 commitsWeek of 2026-04-12: 0 commitsWeek of 2026-04-19: 0 commitsWeek of 2026-04-26: 9 commitsWeek of 2026-05-03: 200 commitsWeek of 2026-05-10: 110 commitsWeek of 2026-05-17: 50 commitsWeek of 2026-05-24: 39 commitsWeek of 2026-05-31: 22 commitsWeek of 2026-06-07: 17 commitsWeek of 2026-06-14: 1 commitsWeek of 2026-06-21: 28 commitsWeek of 2026-06-28: 38 commitsWeek of 2026-07-05: 49 commitsWeek of 2026-07-12: 82 commitsWeek of 2026-07-19: 6 commitsWeek of 2026-07-26: 19 commitsWeek of 2026-08-02: 38 commitsWeek of 2026-08-09: 19 commitsWeek of 2026-08-16: 0 commitsWeek of 2026-08-23: 0 commitsWeek of 2026-08-30: 0 commitsWeek of 2026-09-06: 0 commitsWeek of 2026-09-13: 0 commitsWeek of 2026-09-20: 233 commitsWeek of 2026-09-27: 213 commitsWeek of 2026-10-04: 124 commitsWeek of 2026-10-11: 229 commitsWeek of 2026-10-18: 47 commitsWeek of 2026-10-25: 62 commitsWeek of 2026-11-01: 145 commitsWeek of 2026-11-08: 83 commitsWeek of 2026-11-15: 79 commitsWeek of 2026-11-22: 80 commitsWeek of 2026-11-29: 12 commitsDec 7, 2025Nov 29, 2026
2K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 5 commitsSun 1:00 — 6 commitsSun 2:00 — 17 commitsSun 3:00 — 9 commitsSun 4:00 — 9 commitsSun 5:00 — 4 commitsSun 6:00 — 4 commitsSun 7:00 — 34 commitsSun 8:00 — 41 commitsSun 9:00 — 31 commitsSun 10:00 — 51 commitsSun 11:00 — 30 commitsSun 12:00 — 18 commitsSun 13:00 — 17 commitsSun 14:00 — 10 commitsSun 15:00 — 16 commitsSun 16:00 — 7 commitsSun 17:00 — 6 commitsSun 18:00 — 10 commitsSun 19:00 — 10 commitsSun 20:00 — 10 commitsSun 21:00 — 15 commitsSun 22:00 — 12 commitsSun 23:00 — 15 commitsMon 0:00 — 17 commitsMon 1:00 — 8 commitsMon 2:00 — 3 commitsMon 3:00 — 2 commitsMon 4:00 — 23 commitsMon 5:00 — 5 commitsMon 6:00 — 16 commitsMon 7:00 — 26 commitsMon 8:00 — 25 commitsMon 9:00 — 16 commitsMon 10:00 — 15 commitsMon 11:00 — 22 commitsMon 12:00 — 28 commitsMon 13:00 — 13 commitsMon 14:00 — 7 commitsMon 15:00 — 16 commitsMon 16:00 — 51 commitsMon 17:00 — 21 commitsMon 18:00 — 35 commitsMon 19:00 — 5 commitsMon 20:00 — 23 commitsMon 21:00 — 9 commitsMon 22:00 — 8 commitsMon 23:00 — 14 commitsTue 0:00 — 18 commitsTue 1:00 — 11 commitsTue 2:00 — 4 commitsTue 3:00 — 24 commitsTue 4:00 — 9 commitsTue 5:00 — 8 commitsTue 6:00 — 19 commitsTue 7:00 — 7 commitsTue 8:00 — 9 commitsTue 9:00 — 15 commitsTue 10:00 — 16 commitsTue 11:00 — 18 commitsTue 12:00 — 12 commitsTue 13:00 — 9 commitsTue 14:00 — 6 commitsTue 15:00 — 13 commitsTue 16:00 — 39 commitsTue 17:00 — 14 commitsTue 18:00 — 11 commitsTue 19:00 — 4 commitsTue 20:00 — 6 commitsTue 21:00 — 7 commitsTue 22:00 — 13 commitsTue 23:00 — 5 commitsWed 0:00 — 26 commitsWed 1:00 — 14 commitsWed 2:00 — 3 commitsWed 3:00 — 3 commitsWed 4:00 — 20 commitsWed 5:00 — 6 commitsWed 6:00 — 10 commitsWed 7:00 — 5 commitsWed 8:00 — 8 commitsWed 9:00 — 9 commitsWed 10:00 — 3 commitsWed 11:00 — 11 commitsWed 12:00 — 13 commitsWed 13:00 — 8 commitsWed 14:00 — 4 commitsWed 15:00 — 24 commitsWed 16:00 — 16 commitsWed 17:00 — 27 commitsWed 18:00 — 16 commitsWed 19:00 — 7 commitsWed 20:00 — 8 commitsWed 21:00 — 9 commitsWed 22:00 — 15 commitsWed 23:00 — 10 commitsThu 0:00 — 9 commitsThu 1:00 — 7 commitsThu 2:00 — 8 commitsThu 3:00 — 6 commitsThu 4:00 — 21 commitsThu 5:00 — 8 commitsThu 6:00 — 12 commitsThu 7:00 — 8 commitsThu 8:00 — 9 commitsThu 9:00 — 3 commitsThu 10:00 — 3 commitsThu 11:00 — 14 commitsThu 12:00 — 10 commitsThu 13:00 — 25 commitsThu 14:00 — 4 commitsThu 15:00 — 4 commitsThu 16:00 — 6 commitsThu 17:00 — 8 commitsThu 18:00 — 25 commitsThu 19:00 — 15 commitsThu 20:00 — 9 commitsThu 21:00 — 2 commitsThu 22:00 — 8 commitsThu 23:00 — 12 commitsFri 0:00 — 13 commitsFri 1:00 — 9 commitsFri 2:00 — 8 commitsFri 3:00 — 8 commitsFri 4:00 — 4 commitsFri 5:00 — 5 commitsFri 6:00 — 2 commitsFri 7:00 — 3 commitsFri 8:00 — 8 commitsFri 9:00 — 13 commitsFri 10:00 — 17 commitsFri 11:00 — 16 commitsFri 12:00 — 4 commitsFri 13:00 — 8 commitsFri 14:00 — 4 commitsFri 15:00 — 7 commitsFri 16:00 — 9 commitsFri 17:00 — 8 commitsFri 18:00 — 9 commitsFri 19:00 — 4 commitsFri 20:00 — 8 commitsFri 21:00 — 2 commitsFri 22:00 — 6 commitsFri 23:00 — 5 commitsSat 0:00 — 3 commitsSat 1:00 — 8 commitsSat 2:00 — 5 commitsSat 3:00 — 4 commitsSat 4:00 — 3 commitsSat 5:00 — 6 commitsSat 6:00 — 1 commitsSat 7:00 — 36 commitsSat 8:00 — 13 commitsSat 9:00 — 34 commitsSat 10:00 — 22 commitsSat 11:00 — 10 commitsSat 12:00 — 12 commitsSat 13:00 — 7 commitsSat 14:00 — 17 commitsSat 15:00 — 9 commitsSat 16:00 — 10 commitsSat 17:00 — 8 commitsSat 18:00 — 11 commitsSat 19:00 — 9 commitsSat 20:00 — 5 commitsSat 21:00 — 1 commitsSat 22:00 — 11 commitsSat 23:00 — 8 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits1,342 (60%)
Community commits892 (40%)

2,234 commits in total over the last year.

DateListRankStars gained
Nov 2, 2026daily#5+436
Nov 1, 2026daily#5+436
  • public-apis/public-apis

    A collective list of free APIs

    502.6K stars · Python

  • morluto/rea

    Reverse engineer anything with agents, from app behavior down to native binaries.

    486.9K stars · TypeScript

  • donnemartin/system-design-primer

    Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

    380.1K stars · Python

  • awesome-selfhosted/awesome-selfhosted

    A list of Free Software network services and web applications which can be hosted on your own servers

    342.5K stars

  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    315K stars · JavaScript

  • practical-tutorials/project-based-learning

    Curated list of project-based tutorials

    290.9K stars · Python