Skip to content

armgit / AiSOC

Public Imported from GitHub
0

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.

4.7 KB
Raw Blame
{
  "name": "aisoc-monorepo",
  "version": "1.0.0",
  "private": true,
  "description": "AiSOC \u2014 Open-source AI-powered Security Operations Center (monorepo root). The publishable CLI package `aisoc` lives at packages/aisoc-lite.",
  "license": "MIT",
  "author": "AiSOC contributors",
  "workspaces": [
    "apps/*",
    "packages/*"
  ],
  "scripts": {
    "prepare": "sh scripts/setup_hooks.sh || exit 0",
    "hooks:setup": "sh scripts/setup_hooks.sh",
    "build": "turbo run build",
    "dev": "turbo run dev",
    "test": "turbo run test",
    "lint": "turbo run lint",
    "type-check": "turbo run type-check",
    "clean": "turbo run clean && rm -rf node_modules",
    "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
    "infra:plan": "cd infra/terraform && terraform plan",
    "infra:apply": "cd infra/terraform && terraform apply",
    "docker:dev": "docker compose up -d",
    "docker:down": "docker compose down",
    "seed:demo": "docker compose exec api python -m app.scripts.seed_demo",
    "demo:produce": "go run ./services/demo-producer",
    "demo:produce:fast": "go run ./services/demo-producer --rate 8 --batch 10",
    "detections:validate": "python3 scripts/validate_detections.py",
    "playbooks:validate": "python3 scripts/validate_playbooks.py",
    "playbooks:lint": "python3 scripts/lint_playbooks.py",
    "eval:run": "python3 scripts/run_evals.py",
    "eval:public": "python3 scripts/run_evals.py --out eval_report.json && python3 scripts/render_eval_charts.py eval_report.json",
    "marketplace:build": "python3 scripts/build_marketplace.py",
    "marketplace:check": "python3 scripts/build_marketplace.py --check",
    "marketplace:sync": "python3 scripts/build_marketplace.py && python3 scripts/curate_detections.py && cp marketplace/curated.json apps/web/public/marketplace/curated.json && echo 'marketplace index built and synced to apps/web/public/ and services/api/app/data/'",
    "marketplace:curate": "python3 scripts/curate_detections.py",
    "marketplace:curate:check": "python3 scripts/curate_detections.py --check",
    "aisoc:lab": "bash scripts/lab.sh",
    "aisoc:doctor": "tsx scripts/aisoc-doctor.ts",
    "aisoc:demo": "tsx scripts/aisoc-demo.ts",
    "aisoc:demo:down": "docker compose -f infra/compose/docker-compose.demo.yml down -v",
    "aisoc:demo:logs": "docker compose -f infra/compose/docker-compose.demo.yml logs -f",
    "aisoc:acceptance": "tsx scripts/aisoc-acceptance.ts",
    "aisoc:acceptance:cold": "tsx scripts/aisoc-acceptance.ts --cold",
    "aisoc:selfplay": "cd services/purple-team && python3 -m app.adversary.canned",
    "aisoc:selfplay:json": "cd services/purple-team && python3 -m app.adversary.canned --json",
    "aisoc:memory:export": "cd services/fusion && python3 -m app.memory.cli",
    "demo:public": "bash scripts/demo-public.sh",
    "demo:public:tunnel-only": "bash scripts/demo-public.sh --skip-stack",
    "demo:public:setup": "bash infra/cloudflare/tunnel.sh"
  },
  "devDependencies": {
    "@types/node": "^26.6.5",
    "prettier": "^3.9.10",
    "tsx": "^4.23.15",
    "turbo": "^2.11.9",
    "typescript": "^6.0.3"
  },
  "engines": {
    "node": ">=20.0.0",
    "pnpm": ">=8.0.0"
  },
  "packageManager": "[email protected]",
  "pnpm": {
    "overrides": {
      "axios": ">=1.20.0 <2",
      "shell-quote": ">=1.11.0",
      "form-data": ">=4.0.6",
      "ws": ">=8.21.0",
      "hono": ">=4.13.5",
      "@hono/node-server": ">=2.1.3 <3",
      "@vitest/mocker": ">=4.1.12 <5",
      "colord": ">=2.9.4",
      "joi": ">=17.13.9 <18",
      "qs": ">=6.16.1",
      "body-parser": ">=2.4.0 <3",
      "zod": ">=4.6.6 <5",
      "undici": ">=8.12.2 <9",
      "dompurify": ">=3.4.13 <4",
      "postcss-selector-parser": ">=7.1.3 <8",
      "http-proxy-middleware": ">=2.0.10 <4",
      "launch-editor": ">=2.14.2 <3",
      "follow-redirects": ">=1.16.2 <2",
      "uuid": ">=11.1.1 <12",
      "webpack-dev-middleware": ">=7.4.6 <8",
      "webpack-dev-server": ">=5.2.6 <6",
      "@babel/plugin-transform-modules-systemjs": ">=7.29.4 <8",
      "brace-expansion@1": ">=1.1.18 <2",
      "browserslist": ">=4.28.7 <5",
      "fast-uri": ">=3.1.9 <4",
      "image-size": ">=2.0.4 <3",
      "ip-address": ">=10.7.4 <11",
      "js-yaml@3": ">=3.15.2 <4",
      "js-yaml@4": ">=4.3.2 <5",
      "serialize-javascript": ">=7.1.3 <8",
      "http-cache-semantics": ">=4.3.0 <5",
      "sharp": ">=0.35.4",
      "svgo@3": ">=3.3.5 <4",
      "websocket-driver": ">=0.7.5",
      "tsup>esbuild": "^0.28.1",
      "vite>esbuild": "^0.28.1",
      "bundle-require>esbuild": "^0.28.1",
      "source-map-js": ">=1.2.2",
      "compression": ">=1.8.2",
      "tinypool": ">=2.1.1",
      "proxy-addr": ">=2.0.8",
      "glob@>=9.0.0": ">=14.0.2",
      "minimatch@>=9.0.0": ">=11.0.1"
    }
  }
}