Ordinary sessions now pass skillPaths through the run request instead of hand-splicing a Go skill index into the system prompt, so both chat and native workflows share one disclosure path. The metadata sits in the cacheable prefix ahead of per-run context, and the name-scoped host skill loader remains the only reader when generic file tools are disabled. |
||
|---|---|---|
| .github/workflows | ||
| agents | ||
| cmd | ||
| docs | ||
| images | ||
| internal | ||
| knowledge_base | ||
| mcp-servers | ||
| plugins | ||
| roles | ||
| runtime/pi | ||
| scripts | ||
| skills | ||
| tools | ||
| web | ||
| .gitignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| README_CN.md | ||
| SECURITY.md | ||
| config.example.yaml | ||
| go.mod | ||
| go.sum | ||
| requirements.txt | ||
| run.sh | ||
| upgrade.sh | ||
README.md
CyberStrikeAI
Describe goals or tasks, run tool-calling security agents, and record verifiable execution evidence.
中文 · English
CyberStrikeAI is an open-source cybersecurity agent workbench built with Go + Pi (Go backend + React / Semi Design frontend). It unifies interactive security chat, goal-driven Deep Assessments, and list-driven Batch Tasks, enabling security agents to orchestrate tools and record structured execution evidence.
This repository (Sycun/CyberStrikeAI) is forked from the original open-source AIPentest/CyberStrikeAI repository with its full commit history, copyright notices, and Apache-2.0 License preserved. Following the upstream project's transition to closed source, this repository is independently maintained and developed as an open-source branch by Sycun, former core maintainer of the official project.
Key highlights · Preview · Quick start · Execution modes · Capabilities · Architecture · Documentation · Feedback
Key highlights
- Native Pi 1.7.0 agent runtime: Powered by native Pi session persistence, automatic context compaction, live mid-run steering (Interrupt & continue), and configurable reasoning-effort controls, with legacy Eino engine dependencies completely removed.
- Goal-driven Deep Assessments workbench: Long-running autonomous assessments backed by a shared project Attack-Surface Graph, hot/cold archived Exploration Graph, prioritized Intent Queue, and receipt-backed Facts & Acceptance Evidence Matrix.
- React 19 + Semi Design workbench: Modern single-page interface featuring unified detail drawers, project-grouped conversations, compact model/role pickers, domain/host/task vulnerability views, and one-click vulnerability retesting.
- Multi-gateway compatibility & adaptive context: Supports custom per-channel auth headers (same-origin guarded for third-party gateways), automatic runtime context-window probing,
local_autoprofiles for local inference servers (oMLX, Ollama, etc.), DeepSeek economy profiles, and dedicated HITL review model testing. - Isolated HTTP proxy pool & self-hosted operations: Provides an HTTP testing proxy pool with failover isolated from model API traffic, supervisor-free One-Click Update preserving self-signed TLS certs and active sessions, plus previewable Storage Cleanup.
Workbench preview
| Dashboard (Risk distribution & live metrics) | Deep Assessments (Dark theme · Goals & progress) |
|---|---|
![]() |
![]() |
| Deep Assessments · Exploration Graph (Intents, facts, findings & archive) | Chat Console (Project groups, tool receipts & summary) |
|---|---|
![]() |
![]() |
| Vulnerability Management (Domain/host tree & severity overview) | MCP & Tool Management (External MCP status & built-in tools) |
|---|---|
![]() |
![]() |
Quick start
1. Prepare the environment
| Dependency | Requirement | Purpose |
|---|---|---|
| Go | 1.25+; see go.mod | Build the backend server and runtime builder |
| Node.js and npm | Node.js 22.19+ | Build and run the Pi worker (and optional frontend rebuilds) |
| Python | 3.10+, with venv support |
Launcher and Python tool dependencies |
| Git | Available on PATH |
Clone source and run Web one-click updates |
You also need a model channel that supports tool calling, plus the local security tools or external MCP servers required by your tasks. The repository includes tool recipes, not preinstalled third-party security binaries. By default, run.sh configures temporary Go and PyPI mirrors for faster setup; set GOPROXY and PIP_INDEX_URL in your environment to override them.
2. Clone and start
Run the following commands in Bash on macOS or Linux:
git clone --branch main https://github.com/Sycun/CyberStrikeAI.git
cd CyberStrikeAI
cp config.example.yaml config.yaml
For local trials, set server.host in config.yaml to 127.0.0.1, then start the server:
bash run.sh --http
The script builds the Pi worker, creates a Python virtual environment, installs dependencies, and compiles the Go server (prebuilt frontend assets are already included under web/static/app/). Open http://127.0.0.1:8080/ by default, or check your terminal output for the active port.
Without --http, run.sh starts with HTTPS + HTTP/2 and generates a reusable local self-signed certificate when none is configured. For shared team deployments, see the deployment guide for bind addresses, TLS certificates, and access controls.
3. Complete the initial setup
- Sign in with the initial
adminpassword printed underADMIN SETUP REQUIREDin the terminal, then change it. - Go to System settings → Basic → AI channel config, enter your provider, Base URL, API key, and model, then save it as the default channel (values in
config.example.yamlare placeholders). - Install the local tools needed for your engagement or connect external MCP servers, and verify each tool before assigning it to an agent role.
- For multi-user deployments, create separate member accounts, roles, and project scopes under Platform Access → Add Member.
Use config.example.yaml as the full reference. See configuration and configuration profiles for model channels, local models, and context sizing.
Manual build and frontend customization
After preparing config.yaml, you can build the Pi worker and Go server step by step:
bash scripts/build-pi-runtime.sh
go build -o cyberstrike-ai ./cmd/server
./cyberstrike-ai -config config.yaml --http
If you modify frontend source files under web/frontend/, rebuild the static bundle before starting the server:
cd web/frontend && npm ci && npm run build
Deployments require the runtime directory, web/static/, and a matching Pi worker bundle (or a fresh build on the target host); copying the Go binary alone is not sufficient to run agents. Prepare Python tool dependencies separately. See the Pi runtime guide.
Execution modes
CyberStrikeAI provides three complementary ways to run security work over a shared project asset library, tool permissions, and vulnerability records:
- Chat: Interactive investigation and ad-hoc tool execution across single-agent, Deep, Plan-Execute, and Supervisor modes, with project-grouped conversations and live mid-run steering via Interrupt & continue.
- Deep Assessments: Goal-driven persistent assessment workbench powered by native Pi sessions. Maintains attack-surface graphs, exploration graphs, prioritized intent queues, in-task operator Q&A, and receipt-backed acceptance criteria across pause/resume cycles. See the deep assessments guide (zh-CN).
- Tasks (Task Management): Queue-based batch execution for explicit task lists. Open Tasks → New task (
Task Management), enter one task per line, and configure project scope, role, agent mode, tool approval, concurrency, and optional Cron schedules. Inspect per-subtask results and conversations, or pause, resume, and edit subtasks from the queue detail view. See batch task management (zh-CN).
Capabilities
| Capability | What it provides | Details |
|---|---|---|
| Pi agent orchestration | Single-agent, Deep, Plan-Execute, and Supervisor modes with live steering and reasoning controls | Agents and roles |
| Deep assessments | Goal-driven planning, shared attack-surface graph, hot/cold exploration graph, intent queues, and acceptance matrix | Deep assessments (zh-CN) |
| Batch task queues | Concurrent task lists, Cron schedules, pause/resume, and subtask conversation logs | Task management (zh-CN) |
| Tools, skills, and proxy pool | YAML tool recipes, MCP connections, on-demand skills, and isolated HTTP egress proxy pool | Tools · Skills · Proxy pool |
| Visual workflows | Compose agent, tool, conditional, and human-approval nodes | Workflows |
| Knowledge, evidence, and reports | RAG retrieval, project facts, raw tool receipts, attack-chain analysis, and Word / Markdown reports | Knowledge base · Reports |
| Project & vulnerability workspace | Project-scoped asset library, domain/host/task vulnerability views, and one-click retesting | Asset management |
| Human oversight & governance | RBAC, human-in-the-loop (HITL) approvals, call guards, audit logs, and token monitoring | Security model · HITL · Token usage |
| Integrations | Burp Suite extension, browser DevTools extension, chat bots, and MCP federation | Plugins · Bots · MCP |
Specialized operations also include WebShell management and C2. Enable only the capabilities required for your authorized scope; a bundled tool recipe does not imply the underlying binary is installed or validated in your environment.
Architecture
| Component | Responsibility |
|---|---|
| Go server and schedulers | HTTP/SSE APIs, deep-assessment and batch-queue scheduling, tool governance, storage cleanup, and evidence persistence |
| Pi runtime | Pi 1.7.0 model interaction, agent tool loops, native session persistence, compaction, steering, and tool discovery |
| Tool gateway | Dispatches local tools and MCP calls under role boundaries, permissions, HITL approvals, and output/timeout guards |
| SQLite and Pi sessions | Business state, graph nodes, and raw tool receipts in SQLite; model transcripts and compaction entries in Pi sessions |
| Web workbench | React 19 + Semi Design + Cytoscape frontend unifying chat, assessment graphs, task traces, and project assets |
Browser and proxy plugins
| Integration | Usage | Documentation and package |
|---|---|---|
| Burp Suite | Send selected HTTP requests to CyberStrikeAI for analysis | Setup · JAR |
| Chrome / Edge | Capture and forward requests from the CyberStrikeAI DevTools panel | Setup · ZIP |
Updates and version migration
Fresh installations using config.example.yaml point updates to this repository by default:
update:
repo: https://github.com/Sycun/CyberStrikeAI
When migrating an older installation, ensure update.repo is set to https://github.com/Sycun/CyberStrikeAI in config.yaml or under System settings → One-Click Update (leaving update.repo empty still points to the historical upstream URL, which no longer publishes open-source updates). One-click update pulls the latest source, rebuilds a matching Pi worker and server binary, and preserves existing self-signed TLS certificates and active sessions; see deployment for details.
Before upgrading from an older Eino-based release, back up your configuration and database and finish or export active workflow runs: legacy Eino binary workflow checkpoints cannot be resumed in this version. Historical records, configuration keys, and compatibility routes remain readable, with no legacy-engine fallback switch. See the Pi runtime and migration guide.
Validation and scope
Continuous integration covers Go backend tests, Pi runtime protocol checks, frontend builds, process isolation, HTTP proxy pool tests, and isolated regressions for deep assessments and batch queues; check GitHub Actions for current status. Automated checks do not replace live evaluation—model compatibility, token cost, and effectiveness on real targets depend on your configured model channel and environment.
Documentation
| What you want to do | Start here |
|---|---|
| Deploy and configure models | Deployment · Configuration · Config profiles · Troubleshooting |
| Run assessments and batch queues | Deep assessments (zh-CN) · Task management (zh-CN) |
| Customize agents, tools, and proxies | Pi runtime · Agents and roles · Tool recipes · HTTP proxy pool |
| Integrate external systems | API reference · API examples · MCP federation |
| Operate a team service | Security hardening · Tool governance · Runbooks |
| Contribute and explore the repo | Developer guide · Testing · Repository guide |
Browse all topics in the English documentation or the bilingual index.
Feedback and contributions
As an independently maintained open-source branch, community bug reports, feature requests, and pull requests (including tool recipes, UX refinements, and regression tests) are welcome in Issues and Pull Requests. When reporting issues, please include the commit hash, OS, model protocol/channel type, reproduction steps, and redacted logs—never upload live API keys, credentials, or sensitive engagement data.
Thanks to the original authors and past contributors of the earlier open-source AIPentest/CyberStrikeAI project, as well as the Pi, MCP, and broader open-source communities.
License and intended use
Licensed under the Apache License 2.0 with the original commit history and copyright notices preserved; third-party components retain their respective licenses and notices. Use this software only on systems you own or have explicit written authorization to test, in compliance with your agreed scope and applicable law. See SECURITY.md for vulnerability reporting.





