docs(readme): refresh bilingual README and Semi Design screenshots

This commit is contained in:
Sycun 2026-11-26 18:03:52 +08:00
parent 480f1ae7e2
commit a8ed1ba946
8 changed files with 196 additions and 170 deletions

177
README.md
View File

@ -1,19 +1,47 @@
<div align="center">
<img src="images/logo.png" alt="CyberStrikeAI" width="144">
<h1>CyberStrikeAI</h1>
<p><strong>Describe tasks. Let agents use tools and record execution evidence.</strong></p>
<p><strong>Describe goals or tasks, run tool-calling security agents, and record verifiable execution evidence.</strong></p>
<p><a href="README_CN.md">中文</a> · <strong>English</strong></p>
<p>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/pi-runtime.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/pi-runtime.yml/badge.svg?branch=main" alt="Pi runtime CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml/badge.svg?branch=main" alt="Build and regression CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/deep-assessments.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/deep-assessments.yml/badge.svg?branch=main" alt="Deep assessments CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/frontend-build.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/frontend-build.yml/badge.svg?branch=main" alt="Frontend build CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml/badge.svg?branch=main" alt="Self-update CI"></a>
</p>
</div>
CyberStrikeAI is a cybersecurity agent workbench built with **Go + Pi**. Run tasks through chat or manage supplied task lists in batch queues. Agents call tools and record results and evidence.
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 is maintained by **Sycun**, building on [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI) with the upstream history, license, and copyright notices preserved. Create a batch queue from **Task Management → New task**.
> This repository ([Sycun/CyberStrikeAI](https://github.com/Sycun/CyberStrikeAI)) is forked from the original open-source [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI) repository with its full commit history, copyright notices, and [Apache-2.0 License](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](https://github.com/Sycun)**, former core maintainer of the official project.
[Quick start](#quick-start) · [Task management](#delegation) · [Capabilities](#capabilities) · [Architecture](#architecture) · [Documentation](#documentation) · [Feedback](#contributing)
[Key highlights](#highlights) · [Preview](#screenshots) · [Quick start](#quick-start) · [Execution modes](#delegation) · [Capabilities](#capabilities) · [Architecture](#architecture) · [Documentation](#documentation) · [Feedback](#contributing)
<a id="highlights"></a>
## Key highlights
- **Native Pi 1.5.2 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_auto` profiles 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](docs/en-US/http-proxy-pool.md) isolated from model API traffic, supervisor-free **One-Click Update** preserving self-signed TLS certs and active sessions, plus previewable **Storage Cleanup**.
<a id="screenshots"></a>
## Workbench preview
| Dashboard (Risk distribution & live metrics) | Deep Assessments (Dark theme · Goals & progress) |
| :---: | :---: |
| ![Dashboard](images/dashboard.png) | ![Deep Assessments Dark Theme](images/dark.png) |
| Deep Assessments · Exploration Graph (Intents, facts, findings & archive) | Chat Console (Project groups, tool receipts & summary) |
| :---: | :---: |
| ![Exploration Graph](images/deep-assessment-graph.png) | ![Chat Console](images/web-console.png) |
| Vulnerability Management (Domain/host tree & severity overview) | MCP & Tool Management (External MCP status & built-in tools) |
| :---: | :---: |
| ![Vulnerability Management](images/vulnerability-management.png) | ![MCP Management](images/mcp-management.png) |
<a id="quick-start"></a>
@ -23,16 +51,16 @@ This repository is maintained by **Sycun**, building on [AIPentest/CyberStrikeAI
| Dependency | Requirement | Purpose |
| --- | --- | --- |
| Go | 1.25+; see [go.mod](go.mod) | Build the server |
| Node.js and npm | Node.js 22.19+ | Build and run the Pi worker |
| Python | 3.10+, with venv support | Launcher and Python tool dependencies |
| Git | Available on PATH | Clone and update the source |
| Go | 1.25+; see [go.mod](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 tools or MCP services required by your task. The repository contains tool recipes; it **does not install every security tool automatically**. The first build needs access to Go, npm, and Python dependency sources.
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
The following commands use Bash on macOS or Linux:
Run the following commands in Bash on macOS or Linux:
```bash
git clone --branch main https://github.com/Sycun/CyberStrikeAI.git
@ -40,29 +68,29 @@ cd CyberStrikeAI
cp config.example.yaml config.yaml
```
For a local trial, change the existing `server.host` in `config.yaml` to `127.0.0.1`, keeping the other settings. Then start the server:
For local trials, set `server.host` in `config.yaml` to `127.0.0.1`, then start the server:
```bash
bash run.sh --http
```
The script prepares the Pi worker, creates a Python virtual environment, installs dependencies, and builds the server. Open [http://127.0.0.1:8080/](http://127.0.0.1:8080/) by default; use the port shown in your configuration and terminal output.
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/](http://127.0.0.1:8080/) by default, or check your terminal output for the active port.
Without `--http`, `run.sh` uses HTTPS and generates a local self-signed certificate when none is configured. For a shared deployment, see the [deployment guide](docs/en-US/deployment.md) for listening addresses, certificates, and access controls.
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](docs/en-US/deployment.md) for bind addresses, TLS certificates, and access controls.
### 3. Complete the initial setup
1. Sign in with the initial `admin` password shown under `ADMIN SETUP REQUIRED` in the terminal, then change it.
2. In **System settings → Basic → AI channel config**, enter the provider, Base URL, API key, and model, then select a default channel. Credentials in the example configuration are placeholders.
3. Install the local tools needed for your task, or connect an available external MCP service. Verify that each tool works before assigning it to an agent.
4. For a shared service, create separate accounts and permissions for teammates under **Platform Access → Add Member**.
1. Sign in with the initial `admin` password printed under `ADMIN SETUP REQUIRED` in the terminal, then change it.
2. 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.yaml` are placeholders).
3. Install the local tools needed for your engagement or connect external MCP servers, and verify each tool before assigning it to an agent role.
4. For multi-user deployments, create separate member accounts, roles, and project scopes under **Platform Access → Add Member**.
Use [config.example.yaml](config.example.yaml) as the configuration reference. See [configuration](docs/en-US/configuration.md) and [configuration profiles](docs/en-US/configuration-profiles.md) for model channels, local models, and context settings.
Use [config.example.yaml](config.example.yaml) as the full reference. See [configuration](docs/en-US/configuration.md) and [configuration profiles](docs/en-US/configuration-profiles.md) for model channels, local models, and context sizing.
<details>
<summary><strong>Build and run manually</strong></summary>
<summary><strong>Manual build and frontend customization</strong></summary>
After completing the configuration above, you can build the Pi worker and Go server separately:
After preparing `config.yaml`, you can build the Pi worker and Go server step by step:
```bash
bash scripts/build-pi-runtime.sh
@ -70,17 +98,25 @@ go build -o cyberstrike-ai ./cmd/server
./cyberstrike-ai -config config.yaml --http
```
A deployment needs the runtime source and a matching Pi worker bundle, or a fresh build on the destination machine. Copying only the Go binary is not enough to run agents. Prepare Python tool dependencies separately. See the [Pi runtime guide](docs/en-US/pi-runtime.md).
If you modify frontend source files under `web/frontend/`, rebuild the static bundle before starting the server:
```bash
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](docs/en-US/pi-runtime.md).
</details>
<a id="delegation"></a>
## Task management
## Execution modes
Open **Task Management → New task** and enter one task per line. Configure the project, role, agent mode, tool approval, concurrency and optional Cron schedule. Filter, search and paginate queues; open a queue's detail dialog to inspect results and conversations, pause or resume execution, and edit eligible subtasks.
CyberStrikeAI provides three complementary ways to run security work over a shared project asset library, tool permissions, and vulnerability records:
Task management has returned to the v1.8.0 batch-queue behavior. Goal tasks and the subsequent unified-list redesign have been withdrawn. See [batch task management and data compatibility (Chinese)](docs/zh-CN/task-management.md).
- **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)](docs/zh-CN/deep-assessments.md).
- **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)](docs/zh-CN/task-management.md).
<a id="capabilities"></a>
@ -88,16 +124,17 @@ Task management has returned to the v1.8.0 batch-queue behavior. Goal tasks and
| Capability | What it provides | Details |
| --- | --- | --- |
| Pi agents | Single-agent, Deep, Plan-Execute, and Supervisor modes | [Agents and roles](docs/en-US/agent-and-role-guide.md) |
| Batch tasks | Task lists, concurrency, schedules, pause/resume and execution records | [Task management](docs/zh-CN/task-management.md) |
| Tools and skills | YAML recipes, MCP connections, role-specific tool sets, and on-demand skills | [Tools](tools/README_EN.md) · [Skills](skills/README.md) |
| Visual workflows | Compose agent, tool, condition, and approval nodes | [Workflows](docs/en-US/workflow-graph.md) |
| Knowledge and evidence | RAG retrieval, project facts, tool records, reports, and attack-chain analysis | [Knowledge base](docs/en-US/knowledge-base.md) |
| Project workspace | Assets, vulnerabilities, conversations, batch tasks, and shared project context | [Asset management](docs/en-US/asset-management.md) |
| Human oversight | RBAC, tool approvals, call guards, and audit logs | [Security model](docs/en-US/security-model.md) |
| Integrations | Burp Suite, browser extensions, bots, and external MCP services | [Plugins](#integrations) · [MCP](docs/en-US/mcp-federation.md) |
| Pi agent orchestration | Single-agent, Deep, Plan-Execute, and Supervisor modes with live steering and reasoning controls | [Agents and roles](docs/en-US/agent-and-role-guide.md) |
| Deep assessments | Goal-driven planning, shared attack-surface graph, hot/cold exploration graph, intent queues, and acceptance matrix | [Deep assessments (zh-CN)](docs/zh-CN/deep-assessments.md) |
| Batch task queues | Concurrent task lists, Cron schedules, pause/resume, and subtask conversation logs | [Task management (zh-CN)](docs/zh-CN/task-management.md) |
| Tools, skills, and proxy pool | YAML tool recipes, MCP connections, on-demand skills, and isolated HTTP egress proxy pool | [Tools](tools/README_EN.md) · [Skills](skills/README.md) · [Proxy pool](docs/en-US/http-proxy-pool.md) |
| Visual workflows | Compose agent, tool, conditional, and human-approval nodes | [Workflows](docs/en-US/workflow-graph.md) |
| Knowledge, evidence, and reports | RAG retrieval, project facts, raw tool receipts, attack-chain analysis, and Word / Markdown reports | [Knowledge base](docs/en-US/knowledge-base.md) · [Reports](docs/en-US/word-reports.md) |
| Project & vulnerability workspace | Project-scoped asset library, domain/host/task vulnerability views, and one-click retesting | [Asset management](docs/en-US/asset-management.md) |
| Human oversight & governance | RBAC, human-in-the-loop (HITL) approvals, call guards, audit logs, and token monitoring | [Security model](docs/en-US/security-model.md) · [HITL](docs/en-US/hitl-best-practices.md) · [Token usage](docs/en-US/token-usage-monitoring.md) |
| Integrations | Burp Suite extension, browser DevTools extension, chat bots, and MCP federation | [Plugins](#integrations) · [Bots](docs/en-US/robot.md) · [MCP](docs/en-US/mcp-federation.md) |
Specialized operations also include [WebShell](docs/en-US/webshell.md) and [C2](docs/en-US/c2.md). Configure the capabilities your task needs; a tool recipe does not mean its executable is installed or validated in your environment.
Specialized operations also include [WebShell management](docs/en-US/webshell.md) and [C2](docs/en-US/c2.md). 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.
<a id="architecture"></a>
@ -105,61 +142,37 @@ Specialized operations also include [WebShell](docs/en-US/webshell.md) and [C2](
| Component | Responsibility |
| --- | --- |
| **Go server and task engine** | Queue state, schedules, tool execution, and evidence |
| **Pi runtime** | Model interaction, agent tool loops, sessions, compaction, steering, and tool discovery |
| **Tool gateway** | Dispatch to MCP or local tools under role restrictions, permissions, approvals, and execution monitoring |
| **SQLite and Pi sessions** | Business state and evidence in SQLite; model conversations and compaction records in Pi sessions |
| **Web workbench** | Tasks, execution traces, and project materials |
**Pi 1.5.2 is the only agent runtime.** The Eino execution engine and dependencies have been removed. Batch queues use the existing Agent tool loop, projects and execution conversations.
| **Go server and schedulers** | HTTP/SSE APIs, deep-assessment and batch-queue scheduling, tool governance, storage cleanup, and evidence persistence |
| **Pi runtime** | **Pi 1.5.2** 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 |
<a id="integrations"></a>
## Plugins and interface
## Browser and proxy plugins
| Integration | Usage | Documentation and download |
| Integration | Usage | Documentation and package |
| --- | --- | --- |
| Burp Suite | Send selected HTTP requests to CyberStrikeAI for analysis | [Setup](plugins/burp-suite/cyberstrikeai-burp-extension/README.md) · [JAR](plugins/burp-suite/cyberstrikeai-burp-extension/dist/cyberstrikeai-burp-extension.jar) |
| Chrome / Edge | Capture and send requests from the CyberStrikeAI DevTools tab | [Setup](plugins/browser-extension/cyberstrikeai-browser-extension/README.md) · [ZIP](plugins/browser-extension/cyberstrikeai-browser-extension/dist/cyberstrikeai-browser-extension.zip) |
| Chrome / Edge | Capture and forward requests from the CyberStrikeAI DevTools panel | [Setup](plugins/browser-extension/cyberstrikeai-browser-extension/README.md) · [ZIP](plugins/browser-extension/cyberstrikeai-browser-extension/dist/cyberstrikeai-browser-extension.zip) |
<details>
<summary><strong>Explore the workbench</strong></summary>
## Updates and version migration
<table>
<tr>
<td width="50%"><img src="images/dashboard.png" alt="Dashboard"><br>Dashboard</td>
<td width="50%"><img src="images/dark.png" alt="Dark theme"><br>Dark theme</td>
</tr>
<tr>
<td width="50%"><img src="images/web-console.png" alt="Chat console"><br>Chat console</td>
<td width="50%"><img src="images/knowledge-base.png" alt="Knowledge base"><br>Knowledge base</td>
</tr>
<tr>
<td width="50%"><img src="images/mcp-management.png" alt="MCP management"><br>MCP management</td>
<td width="50%"><img src="images/plugins.png" alt="Burp Suite extension"><br>Burp Suite extension</td>
</tr>
</table>
These repository screenshots illustrate existing features. For the batch-task workflow, follow the [usage guide](docs/zh-CN/task-management.md).
</details>
## Updates and migration
For new installations, [config.example.yaml](config.example.yaml) points updates to this repository:
Fresh installations using [config.example.yaml](config.example.yaml) point updates to this repository by default:
```yaml
update:
repo: https://github.com/Sycun/CyberStrikeAI
```
For an existing installation, check the source under **Settings → One-click Update**. An empty `update.repo` still selects the official upstream, not this independently maintained version. The update process builds a Pi worker matching the source. See [deployment](docs/en-US/deployment.md) for the procedure.
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](docs/en-US/deployment.md) for details.
Before migrating from an Eino version, back up runtime configuration and data, and finish or export existing workflows: **old Eino binary workflow checkpoints cannot resume in this version**. Legacy API routes, configuration keys, and historical records retain data compatibility; there is no old-engine switch. See the [migration guide](docs/en-US/pi-runtime.md).
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](docs/en-US/pi-runtime.md).
## Validation status
## Validation and scope
Regression checks cover Go, frontend behavior and isolated batch-queue UI operations. Historical validation of withdrawn features does not describe current product capabilities. Model compatibility, cost and effectiveness require separate evaluation. See [GitHub Actions](https://github.com/Sycun/CyberStrikeAI/actions) for current checks.
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](https://github.com/Sycun/CyberStrikeAI/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.
<a id="documentation"></a>
@ -167,23 +180,23 @@ Regression checks cover Go, frontend behavior and isolated batch-queue UI operat
| What you want to do | Start here |
| --- | --- |
| Deploy and configure models | [Deployment](docs/en-US/deployment.md) · [Configuration](docs/en-US/configuration.md) · [Troubleshooting](docs/en-US/troubleshooting.md) |
| Manage batch tasks | [Usage and compatibility, Chinese](docs/zh-CN/task-management.md) |
| Customize agents and tools | [Pi runtime](docs/en-US/pi-runtime.md) · [Agents and roles](docs/en-US/agent-and-role-guide.md) · [Tool recipes](tools/README_EN.md) |
| Integrate an application | [API reference](docs/en-US/api-reference.md) · [API examples](docs/en-US/api-recipes.md) · [MCP](docs/en-US/mcp-federation.md) |
| Operate a team service | [Security hardening](docs/en-US/security-hardening.md) · [Runbooks](docs/en-US/runbooks.md) |
| Contribute code | [Developer guide](docs/en-US/developer-guide.md) · [Testing](docs/en-US/testing.md) · [Repository guide](docs/REPOSITORY_GUIDE.md) |
| Deploy and configure models | [Deployment](docs/en-US/deployment.md) · [Configuration](docs/en-US/configuration.md) · [Config profiles](docs/en-US/configuration-profiles.md) · [Troubleshooting](docs/en-US/troubleshooting.md) |
| Run assessments and batch queues | [Deep assessments (zh-CN)](docs/zh-CN/deep-assessments.md) · [Task management (zh-CN)](docs/zh-CN/task-management.md) |
| Customize agents, tools, and proxies | [Pi runtime](docs/en-US/pi-runtime.md) · [Agents and roles](docs/en-US/agent-and-role-guide.md) · [Tool recipes](tools/README_EN.md) · [HTTP proxy pool](docs/en-US/http-proxy-pool.md) |
| Integrate external systems | [API reference](docs/en-US/api-reference.md) · [API examples](docs/en-US/api-recipes.md) · [MCP federation](docs/en-US/mcp-federation.md) |
| Operate a team service | [Security hardening](docs/en-US/security-hardening.md) · [Tool governance](docs/en-US/tool-execution-governance.md) · [Runbooks](docs/en-US/runbooks.md) |
| Contribute and explore the repo | [Developer guide](docs/en-US/developer-guide.md) · [Testing](docs/en-US/testing.md) · [Repository guide](docs/REPOSITORY_GUIDE.md) |
Browse all topics in the [English documentation](docs/en-US/README.md) or [bilingual index](docs/README.md).
Browse all topics in the [English documentation](docs/en-US/README.md) or the [bilingual index](docs/README.md).
<a id="contributing"></a>
## Feedback and contributions
Report trial feedback in [this repository's Issues](https://github.com/Sycun/CyberStrikeAI/issues). Include the commit, operating system, model protocol/channel type, reproduction steps, and redacted logs. Do not upload API keys, credentials, or sensitive engagement materials. PRs for tool adapters, usability improvements, and regression cases are welcome.
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](https://github.com/Sycun/CyberStrikeAI/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.
This repository and the official upstream publish independently. For upstream community information, visit [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI). Thanks to the original authors and contributors, and to Pi, MCP, and the other open-source projects used here.
Thanks to the original authors and past contributors of the earlier open-source [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI) project, as well as the Pi, MCP, and broader open-source communities.
## License and intended use
The project is licensed under [Apache License 2.0](LICENSE); third-party components retain their own licenses and notices. Use it for security work on systems you own or are explicitly authorized to assess, within the agreed scope and applicable law. See [SECURITY.md](SECURITY.md) for security reporting.
Licensed under the [Apache License 2.0](LICENSE) 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](SECURITY.md) for vulnerability reporting.

View File

@ -1,19 +1,47 @@
<div align="center">
<img src="images/logo.png" alt="CyberStrikeAI" width="144">
<h1>CyberStrikeAI</h1>
<p><strong>描述任务,让智能体调用工具并记录执行证据。</strong></p>
<p><strong>描述目标或任务,驱动安全智能体调用工具并沉淀可核查的执行证据。</strong></p>
<p><strong>中文</strong> · <a href="README.md">English</a></p>
<p>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/pi-runtime.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/pi-runtime.yml/badge.svg?branch=main" alt="Pi runtime CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml/badge.svg?branch=main" alt="Build and regression CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/deep-assessments.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/deep-assessments.yml/badge.svg?branch=main" alt="Deep assessments CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/frontend-build.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/frontend-build.yml/badge.svg?branch=main" alt="Frontend build CI"></a>
<a href="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml"><img src="https://github.com/Sycun/CyberStrikeAI/actions/workflows/self-update.yml/badge.svg?branch=main" alt="Self-update CI"></a>
</p>
</div>
CyberStrikeAI 是基于 **Go + Pi** 的网络安全智能体工作台。通过对话执行任务,或使用批量队列管理任务清单;智能体调用工具并记录结果与证据。
CyberStrikeAI 是基于 **Go + Pi** 构建的开源网络安全智能体工作台(Go 后端 + React / Semi Design 前端),统一承载交互式安全对话、目标驱动的**深度测评**与清单驱动的**批量任务**,由智能体编排调用安全工具并沉淀结构化执行证据。
本仓库由 **Sycun** 维护,基于 [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI) 持续开发,保留上游历史、许可证与版权声明。批量任务入口为 **「任务管理 → 新建任务」**。
> 本仓库([Sycun/CyberStrikeAI](https://github.com/Sycun/CyberStrikeAI))Fork 自原开源仓库 [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI),完整保留原始提交历史、版权声明与 [Apache-2.0 许可证](LICENSE)。在原官方项目转向闭源后,本仓库由原官方核心维护者 **[Sycun](https://github.com/Sycun)** 作为独立开源分支继续维护与演进。
[快速上手](#quick-start) · [任务管理](#delegation) · [主要能力](#capabilities) · [架构](#architecture) · [文档](#documentation) · [反馈](#contributing)
[核心特性](#highlights) · [界面预览](#screenshots) · [快速上手](#quick-start) · [任务与测评模式](#delegation) · [主要能力](#capabilities) · [架构](#architecture) · [文档](#documentation) · [反馈与贡献](#contributing)
<a id="highlights"></a>
## 核心特性
- **Pi 1.5.2 原生智能体运行时**:全面采用原生 Pi 会话持久化、自动上下文压缩(Compaction)、执行中实时「中断并继续(Steering)」以及推理强度(Reasoning Effort)档位调节,已彻底移除早期 Eino 引擎依赖。
- **目标驱动的「深度测评」持久工作台**:围绕测评目标与验收条件长周期推进,内置项目级共享**攻击面图**、支持冷热分支归档的**探索图谱**、优先级**意图队列**,以及强制绑定真实工具回执的**事实记录与验收证据矩阵**。
- **React 19 + Semi Design 统一工作台**:采用现代化单页架构,支持抽屉式详情查阅、按项目分组管理对话、紧凑模型与角色切换,以及按域名、主机、任务多维聚合的漏洞管理与**一键复测**。
- **多网关兼容与上下文自适应**:支持渠道自定义鉴权请求头(适配各类第三方聚合网关,限制同源重定向防泄露)、运行时上下文窗口自动探测、本地推理服务(oMLX / Ollama 等)`local_auto` 画像、DeepSeek 经济上下文画像及独立 HITL 审计模型配置。
- **独立出站代理池与自托管运维**:提供与模型 API 流量隔离的 [HTTP 测试代理池与故障切换](docs/zh-CN/http-proxy-pool.md);内置保留自签证书与登录态的 Web 端**一键自更新**,以及可预览的运行空间**存储清理**。
<a id="screenshots"></a>
## 界面预览
| 系统仪表盘(风险分布与运行态概览) | 深度测评工作台(深色主题 · 目标与进度) |
| :---: | :---: |
| ![系统仪表盘](images/dashboard.png) | ![深度测评深色主题](images/dark.png) |
| 深度测评 · 探索图谱(意图、事实、漏洞与冷归档) | 对话控制台(项目分组、工具回执与任务总结) |
| :---: | :---: |
| ![探索图谱](images/deep-assessment-graph.png) | ![对话控制台](images/web-console.png) |
| 漏洞管理(按域名/主机树状聚合与严重度统计) | MCP 与工具管理(外部 MCP 连接与内置工具配置) |
| :---: | :---: |
| ![漏洞管理](images/vulnerability-management.png) | ![MCP 管理](images/mcp-management.png) |
<a id="quick-start"></a>
@ -23,16 +51,16 @@ CyberStrikeAI 是基于 **Go + Pi** 的网络安全智能体工作台。通过
| 依赖 | 要求 | 用途 |
| --- | --- | --- |
| Go | 1.25+,以 [go.mod](go.mod) 为准 | 构建服务 |
| Node.js 与 npm | Node.js 22.19+ | 构建和运行 Pi Worker |
| Python | 3.10+,可创建 venv | 启动脚本及 Python 工具依赖 |
| Git | 可用 | 获取源码与更新 |
| Go | 1.25+,以 [go.mod](go.mod) 为准 | 编译后端服务与运行时构建器 |
| Node.js 与 npm | Node.js 22.19+ | 构建与运行 Pi Worker(及可选前端二次构建) |
| Python | 3.10+,支持 `venv` | 启动脚本及 Python 工具依赖 |
| Git | 已加入 `PATH` | 克隆源码与 Web 端一键更新 |
还需要一个支持工具调用的模型渠道,以及本次任务实际使用的工具或 MCP 服务。仓库提供工具配方,**不会自动安装所有安全工具**。首次构建需要访问 Go、npm 和 Python 依赖源。
运行前还需准备支持工具调用(Tool Calling)的模型渠道,以及任务实际所需的本地安全工具或外部 MCP 服务。仓库内置工具配方,但**不会自动安装所有第三方安全工具**。`run.sh` 默认使用国内临时镜像加速 Go 与 pip 依赖下载,也可通过环境变量 `GOPROXY`、`PIP_INDEX_URL` 自定义。
### 2. 获取源码并启动
以下命令用于 macOS / Linux 的 Bash 环境:
以下命令适用于 macOS / Linux 的 Bash 环境:
```bash
git clone --branch main https://github.com/Sycun/CyberStrikeAI.git
@ -40,29 +68,29 @@ cd CyberStrikeAI
cp config.example.yaml config.yaml
```
本机体验时,先将 `config.yaml` 中已有的 `server.host` 改为 `127.0.0.1`,保留其他配置。然后启动:
本机试用建议先将 `config.yaml` 中的 `server.host` 改为 `127.0.0.1`,然后启动服务:
```bash
bash run.sh --http
```
脚本会准备 Pi Worker、创建 Python 虚拟环境、安装依赖并构建服务。默认访问 [http://127.0.0.1:8080/](http://127.0.0.1:8080/);端口以配置和终端输出为准。
脚本会自动构建 Pi Worker、创建 Python 虚拟环境、安装依赖并编译启动服务(前端静态产物已预构建在 `web/static/app/` 中,开箱即用)。默认监听 [http://127.0.0.1:8080/](http://127.0.0.1:8080/),实际端口以配置和终端输出为准。
不加 `--http` 时,`run.sh` 默认使用 HTTPS;未配置证书时使用本地自签证书。团队共享部署的监听地址、证书和访问控制见[部署指南](docs/zh-CN/deployment.md)。
不带 `--http` 时,`run.sh` 默认启用 HTTPS + HTTP/2(未配置证书时自动生成并复用本地自签证书)。团队共享部署的监听地址、TLS 证书与访问控制请参考[部署指南](docs/zh-CN/deployment.md)。
### 3. 完成首次配置
1. 使用终端 `ADMIN SETUP REQUIRED` 提示中的初始 `admin` 密码登录,然后修改密码。
2. 在 **系统设置 → 基本设置 → AI 通道配置** 中填写提供商、Base URL、API Key 和模型,并设为默认渠道。示例配置中的凭据只是占位符。
3. 安装本次任务需要的本地工具,或接入可用的外部 MCP 服务。确认工具能正常运行后,再将它交给智能体使用。
4. 多人共用服务时,在 **平台权限 → 添加成员** 中为队友创建各自的账号和权限。
1. 使用终端 `ADMIN SETUP REQUIRED` 输出的初始 `admin` 密码登录,并按提示修改密码。
2. 在 **系统设置 → 基本设置 → AI 通道配置** 中填写提供商、Base URL、API Key 和模型,保存后设为默认通道(示例配置中的凭据仅为占位符)。
3. 按需安装本地安全工具或接入外部 MCP 服务,确认工具可用后再分配给对应角色或智能体。
4. 多人协作时,可在 **平台权限 → 添加成员** 中为团队成员分配独立账号、角色与数据范围。
完整配置以 [config.example.yaml](config.example.yaml) 为准;模型渠道、本地模型与上下文设置见[配置参考](docs/zh-CN/configuration.md)和[配置画像](docs/zh-CN/configuration-profiles.md)。
完整配置项以 [config.example.yaml](config.example.yaml) 为准;模型通道、本地模型与上下文策略详见[配置参考](docs/zh-CN/configuration.md)与[配置画像](docs/zh-CN/configuration-profiles.md)。
<details>
<summary><strong>手动构建与启动</strong></summary>
<summary><strong>手动构建与前端二次开发</strong></summary>
完成上述配置后,也可以分别构建 Pi Worker 和 Go 服务:
完成 `config.yaml` 配置后,可分步构建 Pi Worker 与 Go 服务:
```bash
bash scripts/build-pi-runtime.sh
@ -70,120 +98,105 @@ go build -o cyberstrike-ai ./cmd/server
./cyberstrike-ai -config config.yaml --http
```
部署需要运行时源码及匹配的 Pi Worker 构建包,或在目标机器重新构建;只复制 Go 二进制不足以运行智能体。Python 工具依赖需另行准备。详见 [Pi 运行时说明](docs/zh-CN/pi-runtime.md)。
若修改了 `web/frontend/` 下的前端源码,重新构建静态产物后再启动服务即可:
```bash
cd web/frontend && npm ci && npm run build
```
部署时需同时保留运行时目录、`web/static/` 与匹配的 Pi Worker 构建产物(或在目标机器重新执行构建),仅复制单个 Go 二进制无法运行智能体;Python 工具依赖需另行准备。详见 [Pi 运行时说明](docs/zh-CN/pi-runtime.md)。
</details>
<a id="delegation"></a>
## 任务管理
## 任务与测评模式
进入 **任务管理 → 新建任务**,每行填写一项任务,可配置项目、角色、代理模式、工具审批、并发和 Cron 定时执行。队列列表支持状态筛选、搜索和分页;点击队列打开详情窗口,查看子任务结果与对话,并按状态执行暂停、继续、编辑等操作。
平台提供三种互补的执行入口,共享同一套项目资产库、工具权限与漏洞记录:
任务管理已恢复 v1.8.0 的批量队列逻辑,目标任务和后续统一列表改造已撤回。使用方式与数据兼容说明见[批量任务管理](docs/zh-CN/task-management.md)。
- **对话(Chat)**:面向交互式研判与即时操作,支持单智能体、Deep、Plan-Execute、Supervisor 模式,支持按项目分组管理会话,并可在执行中通过「中断并继续」实时补充人工指令。
- **深度测评(Deep Assessments)**:面向目标驱动的持续安全测评。围绕测评目标与验收条件,基于 Pi 原生会话维护攻击面图、探索图、优先级意图队列与原始执行回执,支持长周期暂停、恢复、任务内追问与验收证据核对。详见[深度测评说明](docs/zh-CN/deep-assessments.md)。
- **任务管理(Batch Tasks)**:面向清单驱动的批量队列执行。在 **任务管理 → 新建任务** 中每行填写一项任务,配置项目、角色、代理模式、工具审批、并发数与可选 Cron 定时规则,在队列详情中查看子任务结果与执行会话,并按状态暂停、继续或编辑子任务。详见[批量任务管理](docs/zh-CN/task-management.md)。
<a id="capabilities"></a>
## 主要能力
| 能力 | 可以做什么 | 说明 |
| 能力 | 功能概述 | 参考文档 |
| --- | --- | --- |
| Pi 智能体 | 单智能体、Deep、Plan-Execute、Supervisor 编排 | [智能体与角色](docs/zh-CN/agent-and-role-guide.md) |
| 批量任务 | 任务清单、并发、定时调度、暂停继续与执行记录 | [任务管理](docs/zh-CN/task-management.md) |
| 工具与 Skills | YAML 工具配方、MCP 接入、角色工具集合、按需加载技能 | [工具](tools/README.md) · [Skills](skills/README.md) |
| 可视化工作流 | 组合智能体、工具、条件和人工审批节点 | [工作流](docs/zh-CN/workflow-graph.md) |
| 知识与证据 | RAG 检索、项目事实、工具记录、报告和攻击链分析 | [知识库](docs/zh-CN/knowledge-base.md) |
| 项目工作空间 | 资产、漏洞、对话、批量任务与跨会话资料管理 | [资产管理](docs/zh-CN/asset-management.md) |
| 人工监督 | RBAC、工具审批、调用拦截和审计日志 | [安全模型](docs/zh-CN/security-model.md) |
| 外部集成 | Burp Suite、浏览器扩展、机器人和外部 MCP | [插件](#integrations) · [MCP](docs/zh-CN/mcp-federation.md) |
| Pi 智能体编排 | 单智能体、Deep、Plan-Execute、Supervisor 多模式执行、中途引导与推理档位控制 | [智能体与角色](docs/zh-CN/agent-and-role-guide.md) |
| 深度测评 | 目标驱动规划、共享攻击面图、探索图冷热记忆、意图队列与验收证据矩阵 | [深度测评](docs/zh-CN/deep-assessments.md) |
| 批量任务队列 | 清单并发执行、Cron 定时调度、暂停/继续与子任务会话追溯 | [批量任务管理](docs/zh-CN/task-management.md) |
| 工具、Skills 与代理池 | YAML 工具配方、外部 MCP 接入、按需技能加载与独立 HTTP 出站代理池 | [工具](tools/README.md) · [Skills](skills/README.md) · [代理池](docs/zh-CN/http-proxy-pool.md) |
| 可视化工作流 | 编排智能体、工具、条件分支与人工审批节点 | [工作流](docs/zh-CN/workflow-graph.md) |
| 知识、证据与报告 | RAG 检索、项目事实沉淀、原始工具回执、攻击链分析与 Word / Markdown 报告导出 | [知识库](docs/zh-CN/knowledge-base.md) · [报告导出](docs/zh-CN/word-reports.md) |
| 项目与漏洞工作台 | 项目级资产库、域名/主机/任务多维漏洞视图、详情抽屉一键复测 | [资产管理](docs/zh-CN/asset-management.md) |
| 人工监督与治理 | RBAC 权限控制、高风险工具审批(HITL)、调用拦截、操作审计与 Token 监控 | [安全模型](docs/zh-CN/security-model.md) · [HITL](docs/zh-CN/hitl-best-practices.md) · [Token 监控](docs/zh-CN/token-usage-monitoring.md) |
| 外部生态集成 | Burp Suite 插件、浏览器 DevTools 扩展、IM 机器人与外部 MCP 联邦 | [插件](#integrations) · [机器人](docs/zh-CN/robot.md) · [MCP](docs/zh-CN/mcp-federation.md) |
专用操作还包括 [WebShell](docs/zh-CN/webshell.md) 和 [C2](docs/zh-CN/c2.md)。按任务配置实际需要的能力;工具配方不代表对应程序已经安装或通过了当前环境的验收。
专项能力还包括 [WebShell 管理](docs/zh-CN/webshell.md) 与 [C2 协同](docs/zh-CN/c2.md)。请按授权任务范围启用所需模块;仓库包含工具配方不代表对应二进制已在本地安装或完成环境校验。
<a id="architecture"></a>
## 架构
## 架构概览
| 组成 | 职责 |
| 组件 | 核心职责 |
| --- | --- |
| **Go 服务与任务引擎** | 管理队列、定时调度、工具执行与证据 |
| **Pi 运行时** | 模型交互、智能体工具循环、会话、上下文压缩、steering 与工具检索 |
| **工具网关** | 将调用交给 MCP 或本地工具,沿用角色、权限、审批和执行监控 |
| **SQLite 与 Pi 会话** | 分别保存业务状态与证据、模型会话与压缩记录 |
| **Web 工作台** | 展示任务、执行轨迹与项目资料 |
当前仅使用 **Pi 1.5.2**,Eino 执行内核与依赖已移除。批量队列沿用现有 Agent 工具循环、项目与执行会话。
| **Go 服务与调度引擎** | 承载 HTTP/SSE 接口、深度测评与批量队列调度、工具执行管控、存储清理及证据落盘 |
| **Pi 运行时** | 基于 **Pi 1.5.2** 处理模型交互、工具调用循环、原生会话持久化、上下文压缩与中途引导(Steering) |
| **工具网关** | 统一分发本地工具与 MCP 调用,执行角色边界、权限校验、人工审批与超时/输出截断治理 |
| **SQLite 与 Pi 会话存储** | SQLite 保存业务状态、图谱节点与执行回执;Pi 会话记录模型上下文与压缩摘要 |
| **Web 工作台** | 基于 React 19 + Semi Design + Cytoscape 构建的前端界面,统一呈现对话、测评图谱、任务轨迹与项目资产 |
<a id="integrations"></a>
## 插件与界面
## 浏览器与抓包插件
| 集成 | 使用方式 | 文档与下载 |
| 集成组件 | 用途 | 文档与构建包 |
| --- | --- | --- |
| Burp Suite | 将选定 HTTP 请求交给 CyberStrikeAI 分析 | [安装说明](plugins/burp-suite/cyberstrikeai-burp-extension/README.zh-CN.md) · [JAR](plugins/burp-suite/cyberstrikeai-burp-extension/dist/cyberstrikeai-burp-extension.jar) |
| Chrome / Edge | 在 DevTools 的 CyberStrikeAI 标签页捕获并发送请求 | [安装说明](plugins/browser-extension/cyberstrikeai-browser-extension/README.zh-CN.md) · [ZIP](plugins/browser-extension/cyberstrikeai-browser-extension/dist/cyberstrikeai-browser-extension.zip) |
| Burp Suite 插件 | 将选中的 HTTP 请求一键发送至 CyberStrikeAI 进行安全分析 | [安装说明](plugins/burp-suite/cyberstrikeai-burp-extension/README.zh-CN.md) · [JAR](plugins/burp-suite/cyberstrikeai-burp-extension/dist/cyberstrikeai-burp-extension.jar) |
| Chrome / Edge 扩展 | 在浏览器 DevTools 的 CyberStrikeAI 面板捕获并提交请求 | [安装说明](plugins/browser-extension/cyberstrikeai-browser-extension/README.zh-CN.md) · [ZIP](plugins/browser-extension/cyberstrikeai-browser-extension/dist/cyberstrikeai-browser-extension.zip) |
<details>
<summary><strong>查看工作台界面</strong></summary>
## 更新与版本迁移
<table>
<tr>
<td width="50%"><img src="images/dashboard.png" alt="系统仪表盘"><br>系统仪表盘</td>
<td width="50%"><img src="images/dark.png" alt="深色主题"><br>深色主题</td>
</tr>
<tr>
<td width="50%"><img src="images/web-console.png" alt="对话控制台"><br>对话控制台</td>
<td width="50%"><img src="images/knowledge-base.png" alt="知识库"><br>知识库</td>
</tr>
<tr>
<td width="50%"><img src="images/mcp-management.png" alt="MCP 管理"><br>MCP 管理</td>
<td width="50%"><img src="images/plugins.png" alt="Burp Suite 插件"><br>Burp Suite 插件</td>
</tr>
</table>
仓库中的界面截图用于展示已有功能;批量任务的操作流程以[使用说明](docs/zh-CN/task-management.md)为准。
</details>
## 更新与迁移
新安装的 [config.example.yaml](config.example.yaml) 已将更新源设为本仓库:
新安装的 [config.example.yaml](config.example.yaml) 默认将更新源指向本仓库:
```yaml
update:
repo: https://github.com/Sycun/CyberStrikeAI
```
已有安装请在 **系统设置 → 一键更新** 核对来源。`update.repo` 留空仍会回到官方上游,不会自动选择这个个人维护版本。更新流程会构建匹配源码的 Pi Worker;部署步骤见[部署指南](docs/zh-CN/deployment.md)。
若从旧版安装迁移而来,请在 `config.yaml` 或 **系统设置 → 一键更新** 中确认更新源已设为 `https://github.com/Sycun/CyberStrikeAI`(`update.repo` 留空仍指向已停止开源更新的旧仓库地址)。一键更新会自动拉取源码、重新构建匹配的 Pi Worker 与服务二进制,并保留现有自签 TLS 证书与登录会话;详细步骤见[部署指南](docs/zh-CN/deployment.md)。
从 Eino 版本迁移时,先备份运行配置和数据,并完成或导出旧工作流:**旧 Eino 工作流二进制检查点不能在新版直接续跑**。旧 API 路由、配置键和历史记录只保留数据兼容,不提供旧引擎切换。详见[迁移说明](docs/zh-CN/pi-runtime.md)。
若从早期 Eino 版本升级,请先备份运行配置与数据库,并结束或导出旧工作流任务:**旧版 Eino 二进制工作流检查点无法在当前版本直接续跑**。历史数据记录、常用配置键与兼容路由仍保持可读,但不提供旧引擎切换开关。详见 [Pi 运行时与迁移说明](docs/zh-CN/pi-runtime.md)。
## 验证状态
## 验证与质量边界
回归覆盖 Go、前端及隔离的批量队列界面操作。已撤回功能的历史验收不代表当前版本能力;复杂长任务、各模型渠道的兼容性,以及意图识别准确率、成本和效果仍需继续评估。最新检查见 [GitHub Actions](https://github.com/Sycun/CyberStrikeAI/actions)。
持续集成覆盖 Go 后端测试、Pi 运行时协议校验、前端构建、进程隔离、代理池以及深度测评与批量队列的隔离回归检查,最新状态见 [GitHub Actions](https://github.com/Sycun/CyberStrikeAI/actions)。自动化回归不替代真实环境验收;具体模型渠道的兼容性、Token 成本与真实目标测试效果需结合实际环境评估。
<a id="documentation"></a>
## 文档导航
| 你想做什么 | 从这里开始 |
| 使用场景 | 推荐入口 |
| --- | --- |
| 部署并配置模型 | [部署](docs/zh-CN/deployment.md) · [配置](docs/zh-CN/configuration.md) · [排错](docs/zh-CN/troubleshooting.md) |
| 管理批量任务 | [操作与兼容说明](docs/zh-CN/task-management.md) |
| 调整智能体和工具 | [Pi 运行时](docs/zh-CN/pi-runtime.md) · [智能体与角色](docs/zh-CN/agent-and-role-guide.md) · [工具配方](tools/README.md) |
| 接入自己的应用 | [API 参考](docs/zh-CN/api-reference.md) · [API 示例](docs/zh-CN/api-recipes.md) · [MCP](docs/zh-CN/mcp-federation.md) |
| 维护团队服务 | [安全加固](docs/zh-CN/security-hardening.md) · [运维手册](docs/zh-CN/runbooks.md) |
| 参与开发 | [开发者指南](docs/zh-CN/developer-guide.md) · [测试](docs/zh-CN/testing.md) · [仓库说明](docs/REPOSITORY_GUIDE.md) |
| 部署服务与配置模型 | [部署指南](docs/zh-CN/deployment.md) · [配置参考](docs/zh-CN/configuration.md) · [配置画像](docs/zh-CN/configuration-profiles.md) · [故障排查](docs/zh-CN/troubleshooting.md) |
| 运行深度测评与批量任务 | [深度测评](docs/zh-CN/deep-assessments.md) · [批量任务管理](docs/zh-CN/task-management.md) |
| 定制智能体、工具与代理 | [Pi 运行时](docs/zh-CN/pi-runtime.md) · [智能体与角色](docs/zh-CN/agent-and-role-guide.md) · [工具配方](tools/README.md) · [HTTP 代理池](docs/zh-CN/http-proxy-pool.md) |
| 对接外部系统与自动化 | [API 参考](docs/zh-CN/api-reference.md) · [API 示例](docs/zh-CN/api-recipes.md) · [MCP 联邦](docs/zh-CN/mcp-federation.md) |
| 团队运维与安全加固 | [安全加固](docs/zh-CN/security-hardening.md) · [工具执行治理](docs/zh-CN/tool-execution-governance.md) · [运维手册](docs/zh-CN/runbooks.md) |
| 参与开发与了解仓库结构 | [开发者指南](docs/zh-CN/developer-guide.md) · [测试说明](docs/zh-CN/testing.md) · [仓库说明](docs/REPOSITORY_GUIDE.md) |
全部专题见[中文文档](docs/zh-CN/README.md)与[双语索引](docs/README.md)。
完整目录请浏览[中文文档索引](docs/zh-CN/README.md)或[中英双语索引](docs/README.md)。
<a id="contributing"></a>
## 反馈与贡献
请在[本仓库 Issues](https://github.com/Sycun/CyberStrikeAI/issues)反馈内测问题。附上提交版本、操作系统、模型协议/渠道类型、复现步骤和脱敏日志;不要上传 API Key、登录凭据或真实项目的敏感材料。欢迎提交工具适配、体验改进与回归用例的 PR。
本仓库作为独立开源分支持续演进,欢迎在 [Issues](https://github.com/Sycun/CyberStrikeAI/issues) 提交问题反馈与功能建议,也欢迎围绕工具配方适配、交互体验优化与回归测试提交 Pull Request。反馈问题时请附上 Commit 版本、操作系统、模型协议类型、复现步骤与脱敏日志,切勿上传真实 API Key、登录凭据或敏感目标数据。
本仓库与官方上游独立发布;上游项目及其社区信息请参阅 [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI)。感谢原项目作者、贡献者,以及 Pi、MCP 和其他开源项目。
感谢早期开源阶段 [AIPentest/CyberStrikeAI](https://github.com/AIPentest/CyberStrikeAI) 的原作者与历任贡献者,以及 Pi、MCP 等开源社区项目。
## 许可证与使用范围
## 许可证与使用声明
项目遵循 [Apache License 2.0](LICENSE),第三方组件保留各自许可证与声明。仅用于自有系统或已获明确授权的安全工作;使用者应遵守授权范围和适用法律。安全问题报告方式见 [SECURITY.md](SECURITY.md)。
本项目遵循 [Apache License 2.0](LICENSE) 开源许可证,完整保留原始提交历史与版权声明;第三方组件遵循其各自许可证与声明。本项目仅限用于自有系统或已获得明确书面授权的安全测试与研究,使用者须严格遵守授权范围及所在地法律法规。安全漏洞报告方式请参阅 [SECURITY.md](SECURITY.md)。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 419 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 941 KiB

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 KiB

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 KiB

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 775 KiB

After

Width:  |  Height:  |  Size: 408 KiB