AI red-team workbench: assets, threat modeling, Agent tasks, cloud assessment, reports and MCP.
10K+
English | 简体中文 | 繁體中文 | Русский | Français | 日本語 | Deutsch
| Channel | How to join |
|---|---|
![]() For users in China: scan this WeChat QR code to add me; I will invite you to the discussion group. | |
| Telegram | Planned |
| Discord | Join the community |
🌐 Read-only demo
Username
apt· Passwordapt1234567Browse synthetic assets, reports, and Agent workflows. The demo blocks task execution and data changes.
An LLM-driven red-team testing workbench for individual operators and local teams.
https://github.com/user-attachments/assets/ffd3d60d-03da-4cb7-bdf0-cfb291d09975
Real UI actions with synthetic data: add an asset, select linked assets and save a plan. Task results are pre-seeded examples, not a live penetration test.
APTv1.1.4: The Agent workflow canvas shows the saved input source, targets, source samples, and the number of existing findings. The update settings page and usage guidance have also been revised.
Update note: An update can fail when a container uses a custom seccomp profile. This issue was fixed in v1.1.6.
v1.1.2: Read saved evidence in Burp Suite, keep editor syntax highlighting aligned with the selected language, and recover MCP connections after local address changes. v1.1.2.
v1.1.1: Agent teams with Leader review, a customizable workflow canvas, separate security assessment and security testing flows, contextual in-app guidance, and deployment preservation that tolerates MCP reconnect timestamps. Scope and validation. IP proxy pool: v1.2.
v1.1: Connected scanner workflows and portable MCP. Scope and validation.
v1.0.4: Background tool installation, automatic readiness checks and platform-aware downloads; registered hosts support administrator-confirmed updates with backup, restart and rollback.
v1.0.3 — a further update to v1.0.2: download supported tools directly from their catalog entries, with clearer runtime details and download controls.
The v1.0.4 image is based on Debian 12 (bookworm) and provides native linux/amd64 and linux/arm64 variants. Docker selects the matching architecture; no host Node.js or Python is required.
| Host environment | Container architecture | Validation |
|---|---|---|
linux/amd64 | Verified on Ubuntu | |
linux/arm64 | Image verified; a native Linux ARM64 host has not been tested | |
linux/arm64 | Initialization and five core tool version checks verified | |
linux/amd64 | Compatible image; Intel Mac not tested | |
linux/amd64 | Use Linux containers; Windows host not tested |
These are Linux images, not native Windows or macOS images. Tool compatibility follows the container/execution server, not the browser's operating system. Full tool execution requires the relevant runtimes and supported Linux isolation; Docker Desktop does not supply the project's host network guard. Check each tool's compatibility and run readiness detection manually.
Docker installation: Windows / WSL 2 · macOS.
docker pull docker.io/johncoke/agenticpentest:latest
docker run -d --name agenticpentest --restart unless-stopped \
--cap-drop ALL --security-opt no-new-privileges:true \
-p 127.0.0.1:8765:8765 \
-e PUBLIC_ORIGIN=http://127.0.0.1:8765 \
-v agenticpentest-data:/var/lib/agenticpentest \
-v agenticpentest-tools:/opt/agenticpentest-tools \
docker.io/johncoke/agenticpentest:latest
http://127.0.0.1:8765 · Docker
This method uses the published image and persistent named volumes. Repository access is currently required to obtain the Compose file.
git clone https://github.com/AaronCaiii/AgenticPentest.git AgenticPenTest
cd AgenticPenTest
docker compose up -d --pull always --no-build
Linux amd64 with Git and Python 3. The installer asks for an installation directory (default under /opt), port, LAN access and tool profile. It uses an existing supported Node.js or installs an isolated, checksum-verified runtime.
git clone https://github.com/AaronCaiii/AgenticPentest.git AgenticPenTest
cd AgenticPenTest
python3 scripts/install-source.py
Open the printed URL after initialization. A fresh instance asks you to create the first administrator; there is no default account or password. The authorization notice appears before account creation. Installer options, proxy and startup details.
Use AP_LAN_ACCESS=true, LAN binding and the configured port. Validated private IPv4 origins serve browser/OAuth/MCP without editing PUBLIC_ORIGIN. AP_LAN_HOSTNAME accepts one exact Bonjour/Avahi name for stable desktop URLs. Authentication and permissions remain enforced; multicast reachability is required.
LAN setup and discovery limits
Back up the database with its matching key and configuration. Keep existing ports, environment and data/tool volumes; never use down -v.
With the restricted host channel registered, administrators can update from System settings → Version updates, with backup, progress and rollback. Older installations need an initial manual upgrade. Docker daemon proxy is configured on the host. Full setup is in the upgrade guide.
Docker Compose: docker compose pull then docker compose up -d --no-build. Standalone Docker: pull the new version and recreate using the original parameters and volumes. Source: stop the service, run git pull --ff-only, npm ci, npm run build, then restart. Preserve local changes and do not force-reset divergent history.
Full upgrade and backup steps
Docker includes MCP. Client setup and permissions.
| Module | Available capabilities |
|---|---|
| Workspaces and teams | Local login and first-admin setup; administrator/operator/viewer roles, invitations, welcome messages and password management; isolated personal data and shared team workspaces. |
| Dashboard | Asset, task, Agent and finding statistics; P0–P4 severity groups, candidate/confirmed states and filtered links into the corresponding records. |
| Asset management | CSV/TXT/JSON import templates, source uploads, canonical target grouping; network, identity/credential, data, channel and personnel categories with task/evidence references. |
| Asset mapping | Saved ports, services, addresses and findings; mind-map, tree and star layouts, drag/zoom, minimap, fullscreen directory and collapse; persisted layout and color preferences. |
| Plans and tasks | Agent/workflow selection, quick/full depth and applicable checks; concurrent execution, tool-selection reasons, step details, searchable logs, retained results, interrupt/resume and archive/trash. |
| Agent workflow canvas | Typed DAG workflows with immutable snapshots, Leader review before dependents, capability and tool-binding checks, resumable runs and a reusable node library. |
| Agent management | One Leader and eleven specialists, plus custom Agents; editable/resettable prompts, LLM translation, batch model assignment and explicit tool/workflow bindings. |
| LLM configuration | OpenAI Chat Completions/Responses, Anthropic and Gemini-compatible endpoints; custom Base URL, optional authenticated HTTP(S) proxies, connection tests and model discovery/manual IDs. SystemOne supports judgment tests, not text planning. |
| Tool management | Categories, search and pagination; file/ZIP upload and updates, source/runtime metadata, argument editing and execution preview, manual readiness checks and local or dependency-host adapters. |
| Cloud and hybrid assets | AWS, GCP, Azure and Alibaba Cloud China/International connections; official region selection, read-only assessment and hybrid correlation. Resource categories retain original service/type and meaning; search, filters and pagination (10 per page). Real cloud accounts remain unverified. |
| Proxy pool and egress | SOCKS5, HTTP CONNECT and WebSocket-tunnel nodes with primary/standby rotation, cooldowns, request budgets and windows, WAF signals, multi-hop chain relay, pinned C2 egress, automatic replacement and encrypted credentials. |
| Cloud orchestration | Fifteen backends from signed webhook through Alibaba Cloud ECS/FC, AWS EC2/App Runner, Azure VM/Container Apps, GCP Compute/Cloud Run, Tencent, Oracle, DigitalOcean, Vultr, Linode and Hetzner. Replacement creates first and releases after within a managed-instance limit; the four container backends also create the WebSocket tunnel service. |
| Scan result import | Nuclei/Nessus/Greenbone/Qualys/Rapid7; 50 MB/file; batch LLM retesting → threat modeling → PoC/Exploit drafts. |
| Security assessment | Evidence-assessment plans with materials and selected assets, gap-aware review, test-evidence items bound to published workflows, and review runs that retain their results. |
| Threat modeling | Editable STRIDE architecture and data flows, linked assets, version history and risk tracking; LLM proposals require explicit human acceptance. Create validation-plan drafts and export JSON, Markdown or HTML. |
| C2 servers | SSH/SFTP and jump/proxy connections, tabbed terminals, background-session recovery, connection/command history, private/shared Markdown notes, tags/groups, port connectivity and IP location. |
| Listeners and sessions | Server/OS/port selection, start/stop/cancel, live state/logs and a service overview; supported reverse-connection presets and configured forward WebShell adapters. |
| Engagements | Target scope, time windows, allowed/denied techniques and stop conditions; timeline execution details, result filtering and conversion of recorded events into findings. |
| Controlled execution chains | Policy and budget checks, verification/approval cards, registered actions, rollback results and evidence. Requires AP_CHAIN_EXECUTION=on and configured, ready action executors. |
| PoC/Exploit and review | Finding-linked AI drafts, model/language selection and requirement refinement; code editing, search, save/export and review on a configured execution node with live output. Generated code still needs review and compatible dependencies. |
| Findings and reports | Finding filters, confirmation and retest evidence; six templates—pentest, assessment, audit, black-box, white-box and MITRE ATT&CK—with multilingual Markdown/HTML export, bulk archive/trash and 30-day/7-day retention. |
| Settings and interface | Task/SSH/dependency/transfer limits, authenticated HTTP(S) proxies, database export and confirmed reset; administrator-confirmed platform updates through a registered host channel, with progress, backups and rollback; seven UI languages and light/dark themes. |
| Developer MCP | stdio and Streamable HTTP, 100 typed tools covering every non-secret domain, scoped credentials with expiry/revocation, OAuth PKCE, auditing, idempotent mutations, progress/cursor logs and saved job/report resources. |
AgenticPenTest displays an authorization acknowledgement and legal footer; administrators can manage the notice in system settings.
View the maintained feature comparison
MCP clients drive the workbench through the same backend as the Web UI. The 100 typed tools are limited by each credential’s permissions and account role.
Coverage spans assets and observations, engagements, plans and tasks, Agents, tools, findings and reports, scanner imports and retest batches, threat models, PoC, workflow canvases, assessments, cloud inventory, the proxy pool and C2 hosts. Credential entry, shell sessions, account/team administration and platform updates stay in the UI, because MCP retains inputs for idempotent retries.
Default Agents are task participants, not permanently running processes. Only required enabled specialists participate; each uses its bound model and role prompt. Decisions use observed evidence. Completion reflects coverage, not merely tool exit codes.
Dockerfile Container image build
compose.yaml Deployment with the published image
src/ Backend, execution adapters and MCP service
frontend/ Widget source
public/ Served UI and generated bundles
i18n/ Translation source
config/ Agent presets, tool recipes and migration baselines
scripts/ Build, installation, maintenance and stdio bridge
tests/ Feature tests and isolated fixtures
docs/ Guides, translated READMEs and screenshots
deploy/ Container runtime helpers
Git does not include databases, model/SSH keys or test history. Initialization preserves existing data; back up SQLite and data/master.key outside Git.
Use the Bug report / Feature request issue forms and PR template. Include reproduction steps, environment and relevant validation; remove credentials and private target data.
From v1.0.1, no license is required.
A team administrator opens System settings → Network restrictions and confirms their current password. Configure authorized CIDRs and domain names. The range 0.0.0.0/0 permits IPv4 targets; ::/0 permits IPv6 targets. Special-purpose exclusions still apply. A rule such as *.example.com covers subdomains at any depth, but not example.com itself; add the root separately when needed.
[email protected] — Replies within 24 hours.
Business cooperation and sponsorship: contact [email protected]. Sponsorship helps support continued development and maintenance.
This project is supported by GooAnn (谷安天下).
| Sponsor | Services |
|---|---|
![]() | GooAnn (谷安天下) is a professional training provider with offices in mainland China and Hong Kong, China. gooann.com Its IT and cybersecurity certification training includes courses for OffSec certifications such as OSCP and OSWE, ISC2 certifications such as CISSP and CCSP, and ISACA certifications such as CISA and CISM. It also offers professional and online training, security awareness education, cybersecurity and digital risk consulting, and IT audit services. Explore training |
Obtain target-owner authorization before testing, stay within its scope and comply with local laws. Unlawful use is prohibited; users are responsible for the consequences of their use. AgenticPenTest displays an authorization acknowledgement and legal footer.
Project-owned code is licensed under MIT. Third-party tools retain their own licenses.
The default Codespace blocks subprocess and remote execution without the required host guard. Read setup and execution limits
Support continued development and maintenance of AgenticPenTest on Afdian.
Content type
Image
Digest
sha256:dc617330f…
Size
321.2 MB
Last updated
1 day ago
docker pull johncoke/agenticpentest