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
fix(ci): green the v8 branch — Link, SLO, format, demo JSON step
Beenu Arora58c5165173a8
diff --git a/.github/workflows/aisoc-cli.yml b/.github/workflows/aisoc-cli.ymlindex 5241dbe69..a6d0a5f1e 100644--- a/.github/workflows/aisoc-cli.yml+++ b/.github/workflows/aisoc-cli.yml@@ -88,8 +88,10 @@ jobs:run: |set -euo pipefailcd packages/aisoc-lite- node dist/cli.js triage --demo --json --no-telemetry \- | node -e "const d=JSON.parse(require('fs').readFileSync(0));if(d.summary.total!==200)process.exit(1)"+ # Write to a file rather than piping: readFileSync(0) truncates a pipe+ # at the 64KB buffer, and the 200-verdict --json payload exceeds that.+ node dist/cli.js triage --demo --json --no-telemetry > /tmp/aisoc-demo.json+ node -e "const d=JSON.parse(require('fs').readFileSync('/tmp/aisoc-demo.json','utf8'));if(d.summary.total!==200)process.exit(1)"- name: translate produces every dialect deterministically (no LLM key)run: |set -euo pipefaildiff --git a/apps/web/src/app/(marketing)/mesh/page.tsx b/apps/web/src/app/(marketing)/mesh/page.tsxindex 192a45146..fa8e7c1d0 100644--- a/apps/web/src/app/(marketing)/mesh/page.tsx+++ b/apps/web/src/app/(marketing)/mesh/page.tsx@@ -1,4 +1,5 @@import type { Metadata } from "next";+import Link from "next/link";import { getPublicSiteUrl } from "../../../lib/site";@@ -69,9 +70,9 @@ export default async function MeshPage() {<p style={{ color: "#8b93b7", fontSize: 15, marginTop: 8, maxWidth: 680 }}>The mesh adds a bounded (±0.10) community-consensus signal to the verdict engine. We will publish the{" "}<em>measured</em> false-positive-suppression lift (mesh enabled vs. disabled) on the{" "}- <a href="/benchmark" style={{ color: "#c4cae0" }}>+ <Link href="/benchmark" style={{ color: "#c4cae0" }}>benchmark page- </a>{" "}+ </Link>{" "}once it's run on real multi-instance data. Until then any lift figure shown is explicitly labelled{" "}<strong>simulated</strong> — we never present a synthetic number as measured production performance.</p>diff --git a/apps/web/src/app/(tools)/layout.tsx b/apps/web/src/app/(tools)/layout.tsxindex 2d10c82e5..579f6d937 100644--- a/apps/web/src/app/(tools)/layout.tsx+++ b/apps/web/src/app/(tools)/layout.tsx@@ -1,3 +1,4 @@+import Link from "next/link";import type { ReactNode } from "react";/**@@ -19,22 +20,22 @@ export default function ToolsLayout({ children }: { children: ReactNode }) {borderBottom: "1px solid #232b4d",}}>- <a href="/tools" style={{ color: "#e6e9f5", textDecoration: "none", fontWeight: 800, letterSpacing: 0.5 }}>+ <Link href="/tools" style={{ color: "#e6e9f5", textDecoration: "none", fontWeight: 800, letterSpacing: 0.5 }}>AiSOC <span style={{ color: "#8b93b7", fontWeight: 500 }}>· free tools</span>- </a>+ </Link><nav style={{ display: "flex", gap: 18, fontSize: 14 }}>- <a href="/tools/translate" style={{ color: "#c4cae0", textDecoration: "none" }}>+ <Link href="/tools/translate" style={{ color: "#c4cae0", textDecoration: "none" }}>Translate- </a>- <a href="/tools/nl2sigma" style={{ color: "#c4cae0", textDecoration: "none" }}>+ </Link>+ <Link href="/tools/nl2sigma" style={{ color: "#c4cae0", textDecoration: "none" }}>NL→Sigma- </a>- <a href="/tools/coverage" style={{ color: "#c4cae0", textDecoration: "none" }}>+ </Link>+ <Link href="/tools/coverage" style={{ color: "#c4cae0", textDecoration: "none" }}>Coverage- </a>- <a href="/tools/noise" style={{ color: "#c4cae0", textDecoration: "none" }}>+ </Link>+ <Link href="/tools/noise" style={{ color: "#c4cae0", textDecoration: "none" }}>Noise- </a>+ </Link><a href="https://github.com/beenuar/AiSOC" style={{ color: "#7b2bbe", textDecoration: "none", fontWeight: 700 }}>GitHub ★</a>diff --git a/apps/web/src/app/(tools)/tools/page.tsx b/apps/web/src/app/(tools)/tools/page.tsxindex 4109c808e..3f13107dd 100644--- a/apps/web/src/app/(tools)/tools/page.tsx+++ b/apps/web/src/app/(tools)/tools/page.tsx@@ -1,4 +1,5 @@import type { Metadata } from "next";+import Link from "next/link";import { getPublicSiteUrl } from "../../../lib/site";@@ -45,7 +46,7 @@ export default function ToolsIndex() {</p><div style={{ display: "grid", gridTemplateColumns: "repeat(auto-fit, minmax(280px, 1fr))", gap: 16, marginTop: 32 }}>{TOOLS.map((t) => (- <a+ <Linkkey={t.href}href={t.href}style={{@@ -60,7 +61,7 @@ export default function ToolsIndex() {><h2 style={{ fontSize: 19, fontWeight: 700, margin: 0 }}>{t.title}</h2><p style={{ color: "#8b93b7", fontSize: 14, marginTop: 8, lineHeight: 1.5 }}>{t.blurb}</p>- </a>+ </Link>))}</div></main>diff --git a/apps/web/src/app/(tools)/tools/translate/[pair]/page.tsx b/apps/web/src/app/(tools)/tools/translate/[pair]/page.tsxindex c95ac03ed..73cb75ff5 100644--- a/apps/web/src/app/(tools)/tools/translate/[pair]/page.tsx+++ b/apps/web/src/app/(tools)/tools/translate/[pair]/page.tsx@@ -1,4 +1,5 @@import type { Metadata } from "next";+import Link from "next/link";import { notFound } from "next/navigation";import { getPublicSiteUrl } from "../../../../../lib/site";@@ -75,9 +76,9 @@ export default async function PairPage({ params }: PageProps) {<main><script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} /><nav style={{ fontSize: 13, color: "#6b7394" }}>- <a href="/tools/translate" style={{ color: "#8b93b7" }}>+ <Link href="/tools/translate" style={{ color: "#8b93b7" }}>← All formats- </a>+ </Link></nav><h1 style={{ fontSize: 30, fontWeight: 800, margin: "12px 0 0" }}>Convert {fromL} to {toL}diff --git a/apps/web/src/app/r/[slug]/page.tsx b/apps/web/src/app/r/[slug]/page.tsxindex 2e0d1a838..5ffc63047 100644--- a/apps/web/src/app/r/[slug]/page.tsx+++ b/apps/web/src/app/r/[slug]/page.tsx@@ -1,4 +1,5 @@import type { Metadata } from "next";+import Link from "next/link";import { notFound } from "next/navigation";import { fetchPublicReplay } from "../../../lib/replay";@@ -39,9 +40,9 @@ export default async function ReplayPage({ params }: PageProps) {return (<main style={{ background: "#0b1020", minHeight: "100vh", color: "#e6e9f5", padding: "48px 24px" }}><div style={{ maxWidth: 1040, margin: "0 auto" }}>- <a href="/" style={{ color: "#8b93b7", textDecoration: "none", fontSize: 14 }}>+ <Link href="/" style={{ color: "#8b93b7", textDecoration: "none", fontSize: 14 }}>← AiSOC- </a>+ </Link><header style={{ margin: "16px 0 32px" }}><div style={{ color: "#8b93b7", fontSize: 13, textTransform: "uppercase", letterSpacing: 1 }}>Public investigation replay · redacteddiff --git a/docs/operations/slos.yaml b/docs/operations/slos.yamlindex 96c9d5ae4..7e61ea16a 100644--- a/docs/operations/slos.yaml+++ b/docs/operations/slos.yaml@@ -84,6 +84,11 @@ services:latency_p95_ms: 2000golden_signals: [traffic, errors]description: Atomic/Caldera adversary emulation + coverage.+ mesh:+ availability_target: 0.99+ latency_p95_ms: 500+ golden_signals: [latency, traffic, errors]+ description: Federated threat-intel mesh hub (hashed IOC sightings + verdict signatures, k-anonymity enforced).mcp:availability_target: 0.99latency_p95_ms: 2000diff --git a/services/agents/tests/test_swarm_vs_single.py b/services/agents/tests/test_swarm_vs_single.pyindex da08fdd37..be74b5ab0 100644--- a/services/agents/tests/test_swarm_vs_single.py+++ b/services/agents/tests/test_swarm_vs_single.py@@ -88,10 +88,7 @@ def test_swarm_beats_single_on_completeness_under_cost_ceiling():lift = swarm_macro - single_macro# Publish both numbers (visible in CI logs).- print(- f"[swarm-vs-single] single={single_macro:.3f} swarm={swarm_macro:.3f} "- f"lift={lift:+.3f} max_tokens={max_tokens}"- )+ print(f"[swarm-vs-single] single={single_macro:.3f} swarm={swarm_macro:.3f} " f"lift={lift:+.3f} max_tokens={max_tokens}")assert swarm_macro > single_macro, "swarm must not regress vs single-agent"assert lift >= MIN_LIFT, f"swarm lift {lift:.3f} below required {MIN_LIFT}"diff --git a/services/fusion/app/memory/cli.py b/services/fusion/app/memory/cli.pyindex ab85935bd..a2fb0b744 100644--- a/services/fusion/app/memory/cli.py+++ b/services/fusion/app/memory/cli.py@@ -51,8 +51,7 @@ def _load_key() -> str:priv = Ed25519PrivateKey.generate()pub = base64.b64encode(priv.public_key().public_bytes_raw()).decode()print(- "[aisoc memory] no AISOC_MEMORY_SIGNING_KEY set — generated an ephemeral key. "- f"Pin this public key on import:\n {pub}",+ "[aisoc memory] no AISOC_MEMORY_SIGNING_KEY set — generated an ephemeral key. " f"Pin this public key on import:\n {pub}",file=sys.stderr,)return base64.b64encode(priv.private_bytes_raw()).decode()