AI Skill Hub 强烈推荐:AiSOC 是一款优质的Agent工作流。已获得 1.1k 颗 GitHub Star,AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
AiSOC 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
AiSOC 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install aisoc
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install aisoc
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/beenuar/AiSOC
cd AiSOC
pip install -e .
# 验证安装
python -c "import aisoc; print('安装成功')"
# 命令行使用
aisoc --help
# 基本用法
aisoc input_file -o output_file
# Python 代码中调用
import aisoc
# 示例
result = aisoc.process("input")
print(result)
# aisoc 配置文件示例(config.yml) app: name: "aisoc" debug: false log_level: "INFO" # 运行时指定配置文件 aisoc --config config.yml # 或通过环境变量配置 export AISOC_API_KEY="your-key" export AISOC_OUTPUT_DIR="./output"
<img src="apps/web/public/logo-mark.svg" alt="AiSOC" width="120" />
VERSION is 7.3.1; everything below is captured under [Unreleased] in CHANGELOG.md and will tag with the v8.0 cut.
Latest — security & stability (May 27–28, 2026) — hardening, dependency, and boot-reliability work merged into main. - Security Audit green — cryptography floor raised to 44.0.1 to clear CVE-2024-12797 and later 42.x advisories across services/connectors and services/osquery-tls; advisories without an upstream fix are time-boxed (90-day expiry) in scripts/security_audit_ignores.txt (#229). - Tenant-isolation fix — detection-loop suggestion lookups are now scoped to the caller's tenant, closing a cross-tenant read path (#221). - Full stack boots clean — the reserved window column is now quoted and pydantic[email] ships in the image, so docker compose comes up end-to-end without manual patching (#227). - OpenAPI auto-export unblocked — the spec-export CI job now has contents: write, so the committed OpenAPI document re-syncs on every merge (#228). - CodeQL quality notes cleared — remaining low-severity CodeQL findings resolved on main (#224). - Dependency refresh — zod 3 → 4.4.3 (#225), recharts 2 → 3.8.1 (#209), plus a Dependabot sweep across fastapi, uvicorn, pydantic, structlog, openai, weasyprint, strawberry-graphql, prometheus-client, go-chi, turbo, and @types/react. - Credits — new Credits section thanking contributors and security researchers (#223).
Console workbenches (v1.5 PR-1 → PR-6) — the SOC operator surface is now a workbench, not a list. - Global time-window selector + topbar context — one selector at the top of the console drives every page (Alerts, Cases, Hunts, Funnel KPIs, Pipeline Health). Persists across reloads, deep-linkable as a URL param. - Tenant switcher + role badge — MSSP operators flip tenants from the topbar; the role badge makes it impossible to confuse a viewer session with an admin session. New endpoint: GET /api/v1/tenants/me/identity. - Critical severity tier — the severity ladder is now info | low | medium | high | critical. Vendor-native criticals (Azure 5-tier, GCP SCC, GitHub critical, ServiceNow priority 1, GuardDuty ≥ 8.0, AuditD identity-destruction, K8s cluster-admin, Tailscale tailnet lockdown) map straight through instead of being collapsed into high. Confidence (alert.confidence, 0–100, band low|medium|high) is now decoupled from severity and emitted by services/fusion ConfidenceScorer. - Operations funnel + pipeline health — new /metrics/funnel and /health/pipeline endpoints feed the FunnelKpiBar (Detected → Triaged → Investigated → Resolved) and an Efficiency Report so SOC leads can answer "where are we losing time?" without a Grafana detour. Docs: apps/docs/docs/console/funnel-kpis.md. - Investigation Rail (W6 / PR-4) — /alerts is now a two-pane workbench with narrative, related entities (pivotPath deep links), 6-event mini-timeline, and structured recommended actions. Fusion writes a deterministic correlation narrative at fuse time. Docs: apps/docs/docs/console/investigation-rail.md. - Investigation Queue workbench (PR-5 / W7) — /queue is the page a Tier-1 analyst lives on: server-anchored SLA countdowns, atomic claim semantics, one-click triage actions. Docs: apps/docs/docs/console/queue.md. - Rule Tuning workbench (PR-6 / W8) — /detection/tuning ranks noisy rules by precision impact and ships one-click suppression + allow-list edits with full audit trail. Docs: apps/docs/docs/console/rule-tuning.md. - Zero-prerequisite installer — install.sh / install.ps1 now bootstrap from a clean machine (Docker, Compose, Node, pnpm, Python) with idempotency and a graduated uninstall.sh. Documented in apps/docs/docs/installation.md, surfaced as Path 0 in the quickstart.
v8.0 wave-1 (architectural foundation, PR #125) — the foundation for the v8.0 line. - Graph at ingest — Neo4j entity graph (17 node labels, 14 edge types) written inline with Kafka consumption. Batched UNWIND upserts + fire-and-forget retry queue keep ingest latency budget intact. Schema doc: apps/docs/docs/architecture/graph-schema.md. - Four-agent rebrand — DetectAgent, TriageAgent, HuntAgent, RespondAgent are now the public façade; back-compat aliases preserve existing imports. Funnel KPI doc: apps/docs/docs/console/funnel-kpis.md. - /hunt natural-language surface — type a hypothesis in English, get ES|QL / SPL / KQL templates back, save and schedule the hunt. HuntAgent never writes raw queries. Saved hunts deep-link into the Investigation Rail via pivotPath. - Sixteen first-party connectors — wave-1 (tines, torq, falco, pagerduty, opsgenie, confluence_audit) and wave-2 fixtures (cloudflare_zt, sysdig, vault, snowflake). Five severity tiers preserved end-to-end. - L0–L4 automation maturity model — apps/docs/docs/concepts/automation-maturity.md plus the marketing surfaces. Ladder: L0 manual → L4 fully autonomous closure with human sign-off. - Public weekly benchmark scoreboard — apps/docs/docs/benchmark-scoreboard.mdx reads apps/docs/static/data/scoreboard.json, refreshed weekly by .github/workflows/wet-eval.yml. Substrate rows are visually separated from wet-eval rows — substrate numbers can never be quoted as live agent performance.
Security & correctness wave — 12 critical/high CVE-class fixes shipped before the v8.0 cut. See apps/docs/docs/operations/security.md for the full inventory. - Rule-engine eval() RCE eliminated — conditions are parsed to a whitelisted AST in services/api/app/services/rules_engine.py (#116). - /hunts and /cases tenant isolation enforced at the query layer (WHERE tenant_id = …), not via RLS alone (#117, #118). - CORS lockdown — a shared cors.py is vendored byte-identical into every Python service and refuses to start with * + credentials in production (#119). - Playbook SSRF guard — every outbound http_request / notify runs through services/agents/app/playbook/ssrf_guard.py with a cloud-metadata block list (#120). - Plugin-manager OCI install hardening — signed manifests verified against an allow-list, image digests pinned and re-verified on every load (#121). - Audit-log integrity (H-4 + M-12) — actor_ip spoofing closed via the new TRUSTED_PROXIES allow-list, secrets stripped from changes, hash-chain tamper-proofing (#122). - /alerts/submit abuse + replay hardening — payload caps (events / per-event bytes / total bytes), Idempotency-Key header, recursive raw_event redaction, timestamp clamping (#123). - Pydantic v1 → v2 settings migration (#124), bounded eval() + playbook timeouts (#126), one-flag dev-mode (AISOC_DEV_MODE — supersedes DEV_MODE / SKIP_AUTH / AISOC_DEMO_MODE, #127), untrusted-enrichment sanitisation before LLM (#128). - Python CodeQL alert count on main driven to zero (#133, #136, #137); enforced as a CI gate going forward. - First community contribution merged: #135 (UEBA env-var alignment, closes #134). Every UEBA variable accepts both unprefixed (DATABASE_URL) and legacy (UEBA_DATABASE_URL) forms; unprefixed wins.
Stage 2 / Stage 3 platform additions — landed alongside v8.0 wave-1. - Wazuh Indexer ingest connector — polls wazuh-alerts-* over HTTPX, paginates time-windowed queries, retries on 5xx; collapses Wazuh severity into the AiSOC ladder. Docs: apps/docs/docs/connectors/wazuh.md. The connector registry now declares 52 first-party connectors. - auditd file_tail connector + aisoc.rules profile — replaces the host-agent dependency for Linux endpoint visibility; 4 new detections pivot on the bundled aisoc_* audit keys. Docs: apps/docs/docs/connectors/auditd.md. - Live Actions dispatcher — generic vendor/capability surface so plugins can register executors against the in-tree taxonomy (isolate_host, disable_user, block_ip, …) without forking. Unknown pairs return a typed LiveActionResult(FAILED, "executor_not_found") — never a 500. Docs: apps/docs/docs/concepts/live-actions.md. - Deterministic NL → ES|QL / KQL / SPL translator — replaces the template fallback in /nl_query with an IR + grammar validator; 50-pair gold eval set scores 100% syntactic, 100% semantic. Air-gapped by default; optional gpt-4o-mini enhancement falls back deterministically. - STIX → MISP push — every STIX 2.1 indicator/bundle published through /api/v1/threatintel/stix/... can now be mirrored into the configured MISP instance. Air-gap gated, with a ?push_to_misp=true query param and a dry-run endpoint for air-gapped audits. Docs: apps/docs/docs/integrations/misp-push.md. - GCP Cloud Run + Cloud SQL Terraform skeleton — serverless-first BYOC equivalent of the existing AWS module. One terraform apply stands AiSOC up on GCP with private-IP networking, Secret Manager, and Artifact Registry. Docs: apps/docs/docs/deployment/gcp.md. - Blameless case post-mortem endpoint — GET /api/v1/cases/{case_id}/postmortem?format=json|html produces a deterministic retrospective covering contributing factors, detection timing/gaps, response phases, blast radius, and action items. Analyst handles are explicitly redacted from the narrative. Docs: apps/docs/docs/operations/case-reports.md. - Per-rule cross-fire FP gate — services/agents/tests/test_detection_fp_rate.py replays every rule's match_when against every other rule's positive fixture; current corpus 816 native rules, worst FPR 0.49% (5% ceiling). Wired into scripts/run_evals.py as suites.detection_fp_rate. - Operator-facing documentation refresh — new pages for notifications, plugin lifecycle, and credentials / vault rotation; v2.2 architecture diagram and the corrected 52-connector count (now including Wazuh Indexer + auditd file_tail) rolled through every surface.
The full inventory (with file paths, env-var changes, and test counts) lives in the [Unreleased] section of CHANGELOG.md.
---
AiSOC bundles the components a SOC normally pieces together from separate vendors:
audit.log tail), and network (Tailscale, Zscaler, Cisco Umbrella). Each connector renders a schema-driven form, runs a live Test connection round-trip before save, encrypts every secret with the application-layer CredentialVault (Fernet AES-128-CBC + HMAC-SHA256), and starts polling on a per-instance schedule. Walkthrough: docs/connectors. Threat model + key rotation: docs/operations/credentials.aisoc-osquery-tls FastAPI service (services/osquery-tls/) and aisoc-direct lightweight agent connector ship a self-hosted osquery TLS plugin, FleetDM-compatible config/log endpoints, and a direct-from-agent ingest path that bypasses third-party SaaS. Built-in file integrity monitoring (FIM) endpoint (services/osquery-tls/app/api/v1/endpoints/fim.py) ingests file_events and synthesizes alerts on writes to /etc/passwd, /etc/shadow, sshd configs, sudoers, and Windows registry hives; bundled osquery packs cover incident response, OSquery-ATT&CK, and FIM out of the box. 16 native osquery detections (detections/endpoint/osquery-*.yaml, IDs det-endpoint-281..296) cover credential access, persistence, lateral movement, defense evasion, and discovery — paired with positive/negative test fixtures (detections/fixtures/osquery_*.json) and CI-gated against the Detection Validation workflow. Live-query playbook step (osquery_live_query) lets responders push allowlisted distributed queries to single hosts or fleet-wide via osctrl/FleetDM with HMAC-signed ChatOps approval. 5 custom Go-based virtual tables (services/osquery-extensions/) extend the agent with aisoc_browser_extensions, aisoc_kernel_modules, aisoc_attck_persistence, aisoc_pending_actions, and aisoc_alert_cache for richer endpoint visibility and bidirectional response. Walkthroughs: docs/connectors/osctrl, docs/connectors/fleetdm.services/fusion/tests/test_entity_risk.py).services/connectors/app/federated/.services/api/app/api/v1/endpoints/detection_proposals.py.hunts/ declare a hypothesis, MITRE ATT&CK tags, log sources, indicators, and a cron schedule. The hunt engine in services/agents/app/hunt/ loads the corpus at startup, runs hunts on their schedule, and stores findings in the DB.services/purple-team/app/services/drift.py.services/actions/app/executors/chatops.py.scripts/generate_adversary_incidents.py; eval: services/agents/tests/test_adversary_eval.py.block_ip ≥ 0.90, close_alert ≥ 0.60) gate every autonomous decision. Tenant admins can tighten or loosen thresholds via API; all guard-rail decisions are logged.aisoc_run_costs and surfaced in SOC dashboards.true_positive, false_positive, benign, escalate) in one click. Corrections persist on the alert, flow into aisoc_institutional_memory keyed by an alert signature (category + connector + primary MITRE technique), and adjust FPR metrics automatically. The API surfaces retroactive candidates — past alerts in the same tenant matching the same signature whose disposition would now flip — for one-click bulk re-disposition.POST /nl-query/execute). The API translates it to ES|QL, SPL, and KQL; for Elasticsearch-backed tenants it executes the ES|QL query live and returns structured results, column metadata, and the query text for all three dialects.POST /identity-timeline/build). The timeline queries alerts and raw events, annotates each event with the relevant ATT&CK technique, computes an entity risk score, and returns a sorted, deduplicated event list for triage.POST /translation/translate). An LLM handles complex logic; a regex fallback handles simple field-mapping rules with no external dependency.POST /hunts); the API auto-generates ready-to-execute queries in ES|QL, SPL, and KQL; analysts record findings against any run and the workbench tracks open, completed, and inconclusive hunts.POST /phishing/submit); the LLM extracts IOCs, assigns a verdict (phishing / benign / spam / malware / unknown), maps to MITRE ATT&CK, and optionally links the submission to an existing case.POST /kb/ingest); the API chunks and full-text indexes each document; analysts query with natural language (POST /kb/query) and receive the top matching chunks plus an LLM-synthesised answer with citation, backed by PostgreSQL FTS when no vector store is configured.
0. One-click installer — zero prerequisitesDon't have Docker, Node, pnpm, or even git installed? Use the bootstrap installer. It detects your OS, installs everything idempotently, clones the repo, and launches the demo. ```bash Deploy in 60 secondsFour frictionless paths to a running, seeded AiSOC instance with 2. Docker Compose — one command, local
Pulls prebuilt Screencast path —
This seeds exactly four cases — Deployment optionsEach target ships a tested config in
The Render, Railway, and Coolify configs deploy the lean demo profile: api, agents, web, realtime, Postgres, and Redis. ClickHouse, Kafka, OpenSearch, Neo4j, and Qdrant are gated behind compose profiles. For a production-grade install with the full storage tier, use Helm or Terraform. --- (origin-cert flow only — useful before `cloudflared service install`Optional: pre-flight check (Docker daemon, RAM, ports) before a long buildpnpm aisoc:doctor Build and start all 22 services. Cold first run: 10-20 min (build) + ~90s (warm-up).Quick startOne-shot demoTo see AiSOC investigate an in-flight ransomware case in your browser:
That single command:
Target on a clean Mac with a warm Docker daemon: clone-to-investigation in under 5 minutes.
What you'll see when the browser opens:
When you're done: Hosted, public-internet equivalentThe same stack ships a Cloudflare Tunnel template (see Public demo on your own domain) and tested deployment configs for Render and Fly.io — both wire The full development quick start with all services (UEBA, Honeytokens, Purple Team, ClickHouse, OpenSearch, Neo4j, Qdrant) is below. Public demo on your own domainThe same demo stack can be reached from the public internet without exposing ports, opening firewall rules, or paying for a cloud VM. AiSOC ships a Cloudflare Tunnel template plus a wrapper script that:
The result: a publicly reachable, fully self-hosted SOC console, served from your laptop, accepting only traffic that came in through Cloudflare. No inbound ports are opened on your router or firewall. Prerequisites
Run it```bash Optional enrichmentCYBLE_API_KEY=... VIRUSTOTAL_API_KEY=... ABUSEIPDB_API_KEY=... GREYNOISE_API_KEY=... SHODAN_API_KEY=... Optional TAXII feedsTAXII_FEEDS=https://cti-taxii.mitre.org/taxii/,enterprise-attack,, Optional SSO (SAML 2.0)SAML_IDP_METADATA_URL=https://your-idp.example.com/metadata Optional SSO (OIDC)OIDC_DISCOVERY_URL=https://your-idp.example.com/.well-known/openid-configuration OIDC_CLIENT_ID=aisoc OIDC_CLIENT_SECRET=... Optional Purple TeamCALDERA_URL=http://localhost:8888 CALDERA_API_KEY=... ATOMIC_RED_TEAM_PATH=/opt/atomic-red-team/atomics bash
How AiSOC compares
Closed-source AI SOC vendors ship working products. AiSOC's contribution is making the agent itself open, the per-step decision trail readable, and the substrate gated by a public eval harness on every PR targeting ---
🎯 aiskill88 AI 点评
A 级
2026-05-29
AiSOC是一个高质量的开源AI安全项目 📚 实用指南(长尾问题)
适合谁
最佳实践
常见错误
部署方案
⚡ 核心功能
👥 适合谁
⭐ 最佳实践
⚠️ 常见错误
👥 适合人群🎯 使用场景
⚖️ 优点与不足✅ 优点
⚠️ 不足
⚠️ 使用须知
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。 建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。 📄 License 说明
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。 🔗 相关工具推荐📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
Claude代码智能体系统 基于Claude的MCP开源智能体框架,集成技能、本能、记忆和搜索能力。通过优化agent性能,支持复杂代码生成和自动化开发任务。适合AI开 技能寻求者 MCP · Agent · 工作流 natively-cluely-ai-assistant — Claude Skill 中文使用文档 免费开源的AI面试助手,实时转录,隐蔽模式,局部RAG,BYOK。无订阅,防止数据泄露。 gptme Agent工作流 MCP · Agent · 工作流 Chatterbox-TTS-Server — AI 语音合成工具中文文档 自托管的高质量文本转语音解决方案,提供Web UI、OpenAI兼容API、预设声音库和声音克隆功能。支持大规模有声书生成,适合内容创作者、 pipelock MCP工具 MCP · Agent · 工作流 ❓ 常见问题 FAQAiSOC 是一款Python开发的AI辅助工具。开源AI工作流:Open-source AI-powered Security Operations Center — alert fusion, purple-team dr。⭐1.1k · Python 主要应用场景包括:安全运营中心自动化。
💡 AI Skill Hub 点评
总体来看,AiSOC 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。 🌐 原始信息
🔗 原始来源
🐙 GitHub 仓库 https://github.com/beenuar/AiSOC
🌐 官方网站 https://tryaisoc.com
收录时间:2026-05-29 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。 🤖 交给 Agent 安装 · AiSOC选择 Agent 类型,复制安装指令后粘贴到对应客户端 claude skill install https://github.com/beenuar/AiSOC
|