[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116132":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":17,"lastSyncTime":33,"discoverSource":34},116132,"AgenticPentest","AaronCaiii\u002FAgenticPentest","AaronCaiii","Agent-powered red team testing workbench with asset mapping, threat modeling, multi-agent workflows, cloud assessment, reports and MCP.","https:\u002F\u002Fhub.docker.com\u002Fr\u002Fjohncoke\u002Fagenticpentest",null,"JavaScript",57,17,1,0,4,2,46.17,"MIT License",false,"main",[23,24,25,26,27,28],"ai-agents","cybersecurity","mcp","penetration-testing","red-team","threat-modeling","2026-11-21 15:45:54","2026-11-21 11:47:56","\u003Cp align=\"center\">\u003Cimg src=\"public\u002Fbrand.svg\" alt=\"AgenticPenTest\" width=\"720\">\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">🛡️ AgenticPenTest\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"README.md\">English\u003C\u002Fa> |\n  \u003Ca href=\"docs\u002Fi18n\u002FREADME.zh-CN.md\">简体中文\u003C\u002Fa> |\n  \u003Ca href=\"docs\u002Fi18n\u002FREADME.zh-TW.md\">繁體中文\u003C\u002Fa> |\n  \u003Ca href=\"docs\u002Fi18n\u002FREADME.ru.md\">Русский\u003C\u002Fa> |\n  \u003Ca href=\"docs\u002Fi18n\u002FREADME.fr.md\">Français\u003C\u002Fa> |\n  \u003Ca href=\"docs\u002Fi18n\u002FREADME.ja.md\">日本語\u003C\u002Fa> |\n  \u003Ca href=\"docs\u002Fi18n\u002FREADME.de.md\">Deutsch\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"docs\u002Fimages\u002Fplatform-tour.en.gif\">\u003Cimg src=\"docs\u002Fimages\u002Fplatform-tour.en.gif\" alt=\"Platform tour\" width=\"960\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cstrong>An LLM-driven red-team testing workbench for individual operators and local teams.\u003C\u002Fstrong>\u003C\u002Fp>\n\n### 🎬 English operation demo · 43 seconds · MP4\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fffd3d60d-03da-4cb7-bdf0-cfb291d09975\n\nReal 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.\n\n\n**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.\n\n**Update note:** An update can fail when a container uses a custom seccomp profile. This issue was fixed in v1.1.6.\n\n**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](docs\u002Freleases\u002Fv1.1.2.md).\n\n**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](docs\u002Freleases\u002Fv1.1.1.md). IP proxy pool: v1.2.\n\n**v1.1:** Connected scanner workflows and portable MCP. [Scope and validation](docs\u002Freleases\u002Fv1.1.md).\n\n**v1.0.4:** Background tool installation, automatic readiness checks and platform-aware downloads; registered hosts support administrator-confirmed updates with backup, restart and rollback.\n\n**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.\n\n## 🚀 Deployment\n\n### 🐳 1. Pull and run the Docker image\n\nThe v1.0.4 image is based on Debian 12 (bookworm) and provides native `linux\u002Famd64` and `linux\u002Farm64` variants. Docker selects the matching architecture; no host Node.js or Python is required.\n\n| Host environment | Container architecture | Validation |\n| --- | --- | --- |\n| \u003Cimg src=\"docs\u002Fmedia\u002Fplatform-icons\u002Flinux.svg\" width=\"20\" height=\"20\" alt=\"\"> Linux x86-64 · Docker Engine | `linux\u002Famd64` | Verified on Ubuntu |\n| \u003Cimg src=\"docs\u002Fmedia\u002Fplatform-icons\u002Flinux.svg\" width=\"20\" height=\"20\" alt=\"\"> Linux ARM64 · Docker Engine | `linux\u002Farm64` | Image verified; a native Linux ARM64 host has not been tested |\n| \u003Cimg src=\"docs\u002Fmedia\u002Fplatform-icons\u002Fmacos.svg\" width=\"20\" height=\"20\" alt=\"\"> macOS · Apple Silicon · Docker Desktop | `linux\u002Farm64` | Initialization and five core tool version checks verified |\n| \u003Cimg src=\"docs\u002Fmedia\u002Fplatform-icons\u002Fmacos.svg\" width=\"20\" height=\"20\" alt=\"\"> macOS · Intel · Docker Desktop | `linux\u002Famd64` | Compatible image; Intel Mac not tested |\n| \u003Cimg src=\"docs\u002Fmedia\u002Fplatform-icons\u002Fwindows.svg\" width=\"20\" height=\"20\" alt=\"\"> Windows 11 x64 · Docker Desktop \u002F WSL 2 | `linux\u002Famd64` | Use Linux containers; Windows host not tested |\n\nThese are Linux images, not native Windows or macOS images. Tool compatibility follows the container\u002Fexecution 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.\n\nDocker installation: [Windows \u002F WSL 2](https:\u002F\u002Fdocs.docker.com\u002Fdesktop\u002Fsetup\u002Finstall\u002Fwindows-install\u002F) · [macOS](https:\u002F\u002Fdocs.docker.com\u002Fdesktop\u002Fsetup\u002Finstall\u002Fmac-install\u002F).\n\n```bash\ndocker pull docker.io\u002Fjohncoke\u002Fagenticpentest:latest\ndocker run -d --name agenticpentest --restart unless-stopped \\\n  --cap-drop ALL --security-opt no-new-privileges:true \\\n  -p 127.0.0.1:8765:8765 \\\n  -e PUBLIC_ORIGIN=http:\u002F\u002F127.0.0.1:8765 \\\n  -v agenticpentest-data:\u002Fvar\u002Flib\u002Fagenticpentest \\\n  -v agenticpentest-tools:\u002Fopt\u002Fagenticpentest-tools \\\n  docker.io\u002Fjohncoke\u002Fagenticpentest:latest\n```\n\n\u003Chttp:\u002F\u002F127.0.0.1:8765> · [Docker](docs\u002Flocales\u002Fen\u002Fdocs\u002Fdocker.md)\n\n### 🧩 2. Deploy with Docker Compose\n\nThis method uses the published image and persistent named volumes. Repository access is currently required to obtain the Compose file.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FAaronCaiii\u002FAgenticPentest.git AgenticPenTest\ncd AgenticPenTest\ndocker compose up -d --pull always --no-build\n```\n\n### 🛠️ 3. Install from source\n\nLinux amd64 with Git and Python 3. The installer asks for an installation directory (default under `\u002Fopt`), port, LAN access and tool profile. It uses an existing supported Node.js or installs an isolated, checksum-verified runtime.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FAaronCaiii\u002FAgenticPentest.git AgenticPenTest\ncd AgenticPenTest\npython3 scripts\u002Finstall-source.py\n```\n\nOpen 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](docs\u002Flocales\u002Fen\u002Fdocs\u002Finstall-source.md).\n\n\u003Ca id=\"lan-access\">\u003C\u002Fa>\n\n### Portable LAN access\n\nFor a laptop that changes networks, set `AP_LAN_ACCESS=true`, listen on `BIND_HOST=0.0.0.0`, and keep the published port in `PUBLIC_ORIGIN`. Connect to `http:\u002F\u002F\u003Ccurrent-private-IPv4>:\u003Cport>` or its `\u002Fmcp` endpoint. Browser links, OAuth discovery and MCP challenges follow the validated current address; changing networks does not require editing `PUBLIC_ORIGIN`. Existing credentials remain tied to the same installation, and refresh tokens can continue through its new address. Each authorization flow retains its original issuer and resource binding. With no hostname configured, this opt-in mode accepts only private IPv4 literals (10\u002F8, 172.16\u002F12, 192.168\u002F16) at that port; same-origin, login, permissions and revocation remain enforced. Default: disabled.\n\nTo keep desktop MCP client URLs unchanged too, set `AP_LAN_HOSTNAME=workbench.local` once to the host's actual Bonjour\u002FAvahi name. The connection panel then provides `http:\u002F\u002Fworkbench.local:\u003Cport>\u002Fmcp`; mDNS resolves its current IP on the same local network. Only that exact configured name is allowed. Clients need local name resolution and network reachability; multicast-blocked Wi-Fi, separate VLANs and cloud connectors need managed DNS or a VPN. Existing IP URLs remain valid.\n\n\u003Ca id=\"upgrading\">\u003C\u002Fa>\n\n## 🔄 Upgrade v1.0.1 → v1.0.4, then update in settings\n\n**First upgrade: manual. Later upgrades: from the interface.** v1.0.1 cannot install this feature from its update-check screen. Follow one deployment path below, then register its host channel once. Stop tasks, tool installs and SSH connections first. Keep the database with its matching key, configuration, ports, environment and tool storage; never run `docker compose down -v` or initialize a new database over an existing installation. Commands below use Bash on Linux\u002FmacOS; Windows Docker users run host commands inside the appropriate WSL 2 Linux environment.\n\n\u003Cdetails>\n\u003Csummary>🐳 Docker \u002F Docker Compose: first manual upgrade\u003C\u002Fsummary>\n\nRun on the Docker host, in the original deployment directory. Set `AP_CONTAINER` to the actual name (Compose commonly uses `agenticpentest-workbench-1`). The image namespace is read from that container. Pull before stopping it; copy its data only after it stops. Backups contain credentials: keep them private and allow space for the tool backup. If data or tools use a custom container path, replace that path with the one shown by `docker inspect`.\n\n```bash\nAP_CONTAINER=agenticpentest\nAP_BACKUP=\"$HOME\u002FAgenticPenTest-backups\u002Fv1.0.4-$(date +%Y%m%d-%H%M%S)\"\numask 077\nmkdir -p \"$AP_BACKUP\"\ndocker inspect \"$AP_CONTAINER\" > \"$AP_BACKUP\u002Fcontainer.json\"\nAP_OLD_IMAGE=\"$(docker inspect --format '{{.Image}}' \"$AP_CONTAINER\")\"\nAP_IMAGE=\"$(docker exec \"$AP_CONTAINER\" node -p \"require('.\u002Fconfig\u002Fdistribution.json').image\")\"\ndocker tag \"$AP_OLD_IMAGE\" \"$AP_IMAGE:rollback-before-v1.0.4\"\ndocker pull \"$AP_IMAGE:v1.0.4\"\nAP_TOOLKIT=\"$(docker exec \"$AP_CONTAINER\" node -p \"process.env.TOOLKIT_ROOT || '\u002Fopt\u002Fagenticpentest-tools'\")\"\ndocker stop \"$AP_CONTAINER\"\ndocker cp \"$AP_CONTAINER:\u002Fvar\u002Flib\u002Fagenticpentest\u002F.\" \"$AP_BACKUP\u002Fdata\"\ndocker cp \"$AP_CONTAINER:$AP_TOOLKIT\u002F.\" \"$AP_BACKUP\u002Ftools\"\n```\n\n**Compose:** set the original Compose file, absolute env-file path and project name. Repeat every original `-f` override in both commands. The code below preserves the env file and updates only `AP_IMAGE`; it does not rename volumes. Keep these files on the host for future updates.\n\n```bash\nAP_COMPOSE=\"$PWD\u002Fcompose.yaml\"\nAP_ENV=\"$PWD\u002F.env\"\nAP_PROJECT=agenticpentest\ntouch \"$AP_ENV\"\ncp -p \"$AP_ENV\" \"$AP_BACKUP\u002Fruntime.env\"\npython3 - \"$AP_ENV\" \"$AP_IMAGE:v1.0.4\" \u003C\u003C'PY'\nfrom pathlib import Path\nimport re, sys\np = Path(sys.argv[1])\ntext = p.read_text()\nline = 'AP_IMAGE=' + sys.argv[2]\ntext = re.sub(r'^AP_IMAGE=.*$', line, text, flags=re.M) if re.search(r'^AP_IMAGE=', text, re.M) else text.rstrip() + '\\n' + line + '\\n'\np.write_text(text)\nPY\ndocker compose -f \"$AP_COMPOSE\" --env-file \"$AP_ENV\" -p \"$AP_PROJECT\" pull workbench\ndocker compose -f \"$AP_COMPOSE\" --env-file \"$AP_ENV\" -p \"$AP_PROJECT\" up -d --no-build workbench\n```\n\n**Standalone Docker:** the following recreation command is only for the unmodified quick-start configuration below. For a customized installation, reproduce its original ports, environment, volumes\u002Fbind mounts, network and security settings from the saved `container.json`; do not substitute the default volumes. Keep `--cap-drop ALL --security-opt no-new-privileges:true` for the managed standalone update path. The stopped old container is retained during verification.\n\n```bash\ndocker rename \"$AP_CONTAINER\" \"$AP_CONTAINER-before-v1.0.4\"\ndocker run -d --name \"$AP_CONTAINER\" --restart unless-stopped \\\n  --cap-drop ALL --security-opt no-new-privileges:true \\\n  -p 127.0.0.1:8765:8765 \\\n  -e PUBLIC_ORIGIN=http:\u002F\u002F127.0.0.1:8765 \\\n  -v agenticpentest-data:\u002Fvar\u002Flib\u002Fagenticpentest \\\n  -v agenticpentest-tools:\u002Fopt\u002Fagenticpentest-tools \\\n  \"$AP_IMAGE:v1.0.4\"\n```\n\nWait until health is `healthy` and the package version is `1.0.4`, then open the original URL and sign in with the existing account. Check assets, models, tasks and reports. For standalone Docker, only after verification remove the stopped old container with `docker rm \"$AP_CONTAINER-before-v1.0.4\"` (no `-v`); retain the backup and rollback image. If startup fails, restore the saved data\u002Fkey and original image\u002Fconfiguration before retrying.\n\n```bash\ndocker inspect --format '{{.State.Health.Status}}' \"$AP_CONTAINER\"\ndocker exec \"$AP_CONTAINER\" node -p \"require('.\u002Fpackage.json').version\"\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>🛠️ Source: first manual upgrade\u003C\u002Fsummary>\n\nThese managed-source steps target Linux. Run as the existing non-root service owner in the current source directory. Replace `AP_DATA`, `AP_UNIT` and `AP_ORIGIN` with the actual absolute data path, service name and browser URL. If the old installation runs in a terminal, stop that process with Ctrl+C before copying data. Preserve existing external tool directories; back them up separately. Do not rerun the fresh installer or `npm run init` against this installation.\n\n```bash\nAP_SOURCE=\"$PWD\"\nAP_DATA=\"$AP_SOURCE\u002Fdata\"\nAP_UNIT=agenticpentest.service\nAP_ORIGIN=http:\u002F\u002F127.0.0.1:8765\nAP_REPOSITORY=\"$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))[\"repository\"])' \"$AP_SOURCE\u002Fconfig\u002Fdistribution.json\")\"\nAP_BACKUP=\"$HOME\u002FAgenticPenTest-backups\u002Fsource-v1.0.4-$(date +%Y%m%d-%H%M%S)\"\numask 077\nmkdir -p \"$AP_BACKUP\"\nif systemctl is-active --quiet \"$AP_UNIT\"; then sudo systemctl stop \"$AP_UNIT\"; fi\ntar -czf \"$AP_BACKUP\u002Fdata.tar.gz\" -C \"$AP_DATA\" .\nif [ -f \"$AP_SOURCE\u002F.env\" ]; then cp -p \"$AP_SOURCE\u002F.env\" \"$AP_BACKUP\u002Fapp.env\"; fi\n```\n\n**Clean official Git checkout:** run the following only when `git status --short` is empty. Preserve custom changes first; never force-reset a dirty checkout or divergent history. This selects the published `v1.0.4` tag rather than an arbitrary newer main commit.\n\n```bash\ncd \"$AP_SOURCE\"\ngit status --short\ngit rev-parse HEAD > \"$AP_BACKUP\u002Fsource-commit.txt\"\ngit fetch origin main refs\u002Ftags\u002Fv1.0.4:refs\u002Ftags\u002Fv1.0.4\ngit merge --ff-only v1.0.4\n```\n\n**ZIP installation, missing Git metadata, or divergent history:** skip the previous Git block. Create a new sibling checkout, keep the old directory for rollback, copy its existing env file and reuse its absolute `AP_DATA` path and matching key. The new directory must not exist. Keep original external tool paths in the environment; after a directory change update the service WorkingDirectory\u002FExecStart\u002Fenv-file paths. Do not copy an empty data directory over the original.\n\n```bash\nAP_PREVIOUS_SOURCE=\"$AP_SOURCE\"\nAP_SOURCE=\"${AP_PREVIOUS_SOURCE}-v1.0.4\"\ngit clone --branch v1.0.4 \"$AP_REPOSITORY\" \"$AP_SOURCE\"\nif [ -f \"$AP_PREVIOUS_SOURCE\u002F.env\" ]; then cp -p \"$AP_PREVIOUS_SOURCE\u002F.env\" \"$AP_SOURCE\u002F.env\"; fi\nif [ -d \"$AP_PREVIOUS_SOURCE\u002F.runtime\u002Fnode\" ]; then\n  mkdir -p \"$AP_SOURCE\u002F.runtime\"\n  cp -a \"$AP_PREVIOUS_SOURCE\u002F.runtime\u002Fnode\" \"$AP_SOURCE\u002F.runtime\u002Fnode\"\nfi\ncd \"$AP_SOURCE\"\n```\n\n**Both source paths:** build in the selected checkout, retaining its existing environment. An isolated Node runtime is reused when present. Install the pinned cloud SDKs; configure download proxy environment variables if required. Then use the source service\u002Fregistration steps below. Native Windows\u002FmacOS source processes can be upgraded manually with Git\u002Fnpm, but do not support this Linux\u002Fsystemd update channel.\n\n```bash\ncd \"$AP_SOURCE\"\nexport PATH=\"$AP_SOURCE\u002F.runtime\u002Fnode\u002Fbin:$PATH\"\nnpm ci\nnpm run build\npython3 scripts\u002Fsetup-cloud-sdk.py --install\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>🔑 One-time host update-channel registration\u003C\u002Fsummary>\n\nRun on the deployment host as the user who manages Docker or owns the source service, **not inside the web container and not as root**. The registering user needs Docker access (or approved non-interactive sudo) or narrowly scoped service permissions. Enable the host SSH server and install Git\u002FPython 3. Ubuntu\u002FDebian preparation is below; on macOS enable Remote Login and ensure Git\u002FPython 3 are available. Verify SSH key authentication locally; create `~\u002F.ssh\u002Fauthorized_keys` first if absent. Do not replace existing keys.\n\n```bash\nsudo apt-get update\nsudo apt-get install -y openssh-server git python3\nsudo systemctl enable --now ssh\nmkdir -p ~\u002F.ssh\ntouch ~\u002F.ssh\u002Fauthorized_keys\nchmod 700 ~\u002F.ssh\nchmod 600 ~\u002F.ssh\u002Fauthorized_keys\n```\n\nOn other Linux distributions use their SSH service\u002Fpackage names. Registration pins the local SSH host key and creates a separate key limited to the updater command. Do not mount the Docker socket in the workbench.\n\n**Updater SSH key**\n\n- Registration with `--apply` generates a dedicated key. The workbench reads `\u003CWORKBENCH_DATA>\u002Fupdater\u002Fid_ed25519` (Docker default: `\u002Fvar\u002Flib\u002Fagenticpentest\u002Fupdater\u002Fid_ed25519`) using the adjacent `client.json`. The host keeps the original key under the registration `--state-dir`, or `~\u002F.local\u002Fshare\u002FAgenticPenTest\u002Fupdater\u002F\u003Cinstallation-hash>\u002F` by default. It does not reuse `~\u002F.ssh\u002Fid_ed25519`.\n- The key authenticates only to the registered updater: the SSH host key is pinned, and its `authorized_keys` entry uses `restrict,command=\"...\"` to force the update command. It is not returned through HTTP or MCP.\n- On Linux\u002FmacOS, keep the registration and updater directories at `0700`, and `id_ed25519` and `client.json` at `0600`, readable only by their owning service\u002Fregistration account. Keep private keys out of Git, images and logs.\n- To revoke access, first wait for any update\u002Frollback to finish. Remove only the host `authorized_keys` entry whose comment matches `AgenticPenTest updater \u003CregistrationId>`, then remove that installation's `updater\u002Fclient.json` and `updater\u002Fid_ed25519`, and its original key pair in the host registration directory. Preserve other SSH keys, application data and backups. Register again to create a new key.\n\n**Docker:** use a v1.0.4 checkout matching the deployed image. If one is already available, `cd` to it; otherwise clone the repository recorded in the image. Choose another empty `AP_HOST_SOURCE` if that directory exists. Keep the variables from the upgrade step in this shell; `AP_ENV` must remain an absolute host path.\n\n```bash\nAP_REPOSITORY=\"$(docker inspect --format '{{ index .Config.Labels \"org.opencontainers.image.source\" }}' \"$AP_CONTAINER\")\"\nAP_HOST_SOURCE=\"$HOME\u002FAgenticPenTest-host\"\ngit clone --branch v1.0.4 \"$AP_REPOSITORY\" \"$AP_HOST_SOURCE\"\ncd \"$AP_HOST_SOURCE\"\n```\n\nCompose registration: preview first, inspect the output, then apply:\n\n```bash\npython3 scripts\u002Fsetup-platform-updater.py docker --container \"$AP_CONTAINER\" --env-file \"$AP_ENV\"\npython3 scripts\u002Fsetup-platform-updater.py docker --container \"$AP_CONTAINER\" --env-file \"$AP_ENV\" --apply\n```\n\nStandalone Docker registration: omit the env-file argument:\n\n```bash\npython3 scripts\u002Fsetup-platform-updater.py docker --container \"$AP_CONTAINER\"\npython3 scripts\u002Fsetup-platform-updater.py docker --container \"$AP_CONTAINER\" --apply\n```\n\nThe user must be able to pull the mapped image (`docker login` on the host when required). Registry downloads use the **Docker daemon proxy**; system-settings proxy only covers application\u002Fmetadata traffic. On macOS the default SSH host is `host.docker.internal`; Linux uses loopback or the Docker bridge gateway. Add `--host`, `--ssh-port` or `--host-key \u002Fabsolute\u002Fpath\u002Fto\u002Fssh_host_ed25519_key.pub` to both registration commands when defaults differ. Public metadata checks need no token. Preserve any existing network-guard integration and its re-registration permissions.\n\n**Source:** retain an existing systemd unit and its runtime parameters. Check `systemctl show \"$AP_UNIT\" -p User -p WorkingDirectory -p ExecStart -p EnvironmentFiles`; it must run this exact checkout as the registering user and use the original data\u002Forigin. If an existing unit needs path changes, edit it with `sudo systemctl edit --full \"$AP_UNIT\"`. Only if there is no unit, use the following template after stopping the foreground process. Set `AP_TOOLKIT` to the existing absolute tool path (for the sibling-checkout route, this may remain under the old directory). Do not overwrite an existing unit with the template.\n\n```bash\nAP_USER=\"$(id -un)\"\nAP_NODE=\"$(command -v node)\"\nAP_TOOLKIT=\"$AP_SOURCE\u002Ftools\u002Ftoolkit\"\nif [ -x \"$AP_SOURCE\u002F.runtime\u002Fnode\u002Fbin\u002Fnode\" ]; then AP_NODE=\"$AP_SOURCE\u002F.runtime\u002Fnode\u002Fbin\u002Fnode\"; fi\nif ! systemctl cat \"$AP_UNIT\" >\u002Fdev\u002Fnull 2>&1; then\nsudo tee \"\u002Fetc\u002Fsystemd\u002Fsystem\u002F$AP_UNIT\" >\u002Fdev\u002Fnull \u003C\u003CEOF\n[Unit]\nDescription=AgenticPenTest\nAfter=network.target\n[Service]\nType=simple\nUser=$AP_USER\nWorkingDirectory=$AP_SOURCE\nEnvironmentFile=-\"$AP_SOURCE\u002F.env\"\nEnvironment=\"WORKBENCH_DATA=$AP_DATA\" \"PUBLIC_ORIGIN=$AP_ORIGIN\" \"TOOLKIT_ROOT=$AP_TOOLKIT\"\nExecStart=\"$AP_NODE\" \"--env-file-if-exists=$AP_SOURCE\u002F.env\" \"$AP_SOURCE\u002Fserver.mjs\"\nRestart=on-failure\n[Install]\nWantedBy=multi-user.target\nEOF\nsudo systemctl daemon-reload\nsudo systemctl enable --now \"$AP_UNIT\"\nfi\n```\n\nIf this installation already uses a Linux host network guard, refresh its registration to the new Node host PID after the first manual restart, preserving the original limits. Do this before source-channel registration so the updater recognizes the guard. Follow the existing [guard procedure](docs\u002Flocales\u002Fen\u002Fdeploy\u002Fnetwork-guard\u002FREADME.md); do not remove its socket mount or weaken its policy to complete an upgrade.\n\nGrant only start\u002Fstop access to this one service, validate the sudo rule, start the service, then preview\u002Fapply registration. If a rule already exists, have the administrator integrate these entries instead of overwriting it. Deployments with a host network guard additionally need its reviewed re-registration permission; the two service permissions alone do not grant that access.\n\n```bash\nAP_USER=\"$(id -un)\"\nAP_SYSTEMCTL=\"$(command -v systemctl)\"\nAP_RULE=\"$(mktemp)\"\nprintf '%s ALL=(root) NOPASSWD: %s start %s, %s stop %s\\n' \\\n  \"$AP_USER\" \"$AP_SYSTEMCTL\" \"$AP_UNIT\" \"$AP_SYSTEMCTL\" \"$AP_UNIT\" > \"$AP_RULE\"\nsudo visudo -cf \"$AP_RULE\"\nif sudo test -e \u002Fetc\u002Fsudoers.d\u002Fagenticpentest-updater; then\n  cat \"$AP_RULE\"\n  sudo visudo -f \u002Fetc\u002Fsudoers.d\u002Fagenticpentest-updater\nelse\n  sudo install -m 0440 \"$AP_RULE\" \u002Fetc\u002Fsudoers.d\u002Fagenticpentest-updater\nfi\nrm -- \"$AP_RULE\"\nsudo systemctl start \"$AP_UNIT\"\nsystemctl is-active \"$AP_UNIT\"\ncurl -fsS \"$AP_ORIGIN\u002Fapi\u002Fauth\"\ncd \"$AP_SOURCE\"\npython3 scripts\u002Fsetup-platform-updater.py source --source-root \"$AP_SOURCE\" --unit \"$AP_UNIT\" --data-dir \"$AP_DATA\" --origin \"$AP_ORIGIN\"\npython3 scripts\u002Fsetup-platform-updater.py source --source-root \"$AP_SOURCE\" --unit \"$AP_UNIT\" --data-dir \"$AP_DATA\" --origin \"$AP_ORIGIN\" --apply\n```\n\n\u003C\u002Fdetails>\n\n### ✅ Subsequent updates and verification\n\n1. Open **System settings → Version updates → Check for updates** as the actual team administrator; entering personal workspace mode does not grant administrator rights. Confirm the host channel is connected.\n2. Select **Update platform**, enter the administrator’s current password and confirm. Checking alone never installs updates. The updater selects the checked official source revision and its matching architecture-specific image.\n3. Watch progress\u002Flogs while it downloads, backs up, restarts and validates. Browser refresh and the service interruption do not lose update progress; after success the page returns to the workbench. Failure triggers rollback.\n4. Verify the version\u002Fsource revision and original records. Retain the database\u002Fkey backup and a known-good rollback image. The updater cleans only this project’s eligible cache\u002Fimages, keeping the running image and one verified rollback.\n\nSupported automatic paths: Linux Compose, standalone Docker on Linux\u002FmacOS, and clean Linux Git + systemd source deployments. Codespaces, archive-only sources and native Windows\u002FmacOS source processes retain manual upgrades. If the channel cannot connect, check SSH, its pinned host key, permissions and host address. If an image is not published, wait for Actions rather than deleting volumes. Keep tool installs stopped during a platform update; they do not survive a workbench-server restart.\n\n[Detailed channel, rollback and troubleshooting guide](docs\u002Flocales\u002Fen\u002Fdocs\u002Fguides\u002Fplatform-updates.md).\n\n## ✨ Features\n\nDocker includes MCP. [Client setup and permissions](docs\u002Flocales\u002Fen\u002Fdocs\u002Fdevelopment\u002Fmcp-service.md).\n\n| Module | Available capabilities |\n| --- | --- |\n| Workspaces and teams | Local login and first-admin setup; administrator\u002Foperator\u002Fviewer roles, invitations, welcome messages and password management; isolated personal data and shared team workspaces. |\n| Dashboard | Asset, task, Agent and finding statistics; P0–P4 severity groups, candidate\u002Fconfirmed states and filtered links into the corresponding records. |\n| Asset management | CSV\u002FTXT\u002FJSON import templates, source uploads, canonical target grouping and deduplication; network, identity\u002Fcredential, data, channel and personnel categories with task\u002Fevidence references. |\n| Asset mapping | Saved ports, services, addresses and findings; mind-map, tree and star layouts, drag\u002Fzoom, minimap, fullscreen directory and collapse controls; persisted layout and color preferences. |\n| Plans and tasks | Agent\u002Fworkflow selection, quick\u002Ffull depth and applicable checks; concurrent execution, tool-selection reasons, step details, searchable\u002Fformatted logs, retained results, interrupt\u002Fresume and task archive\u002Ftrash. |\n| Agent management | One Leader and eleven specialists, plus custom Agents; editable\u002Fresettable prompts, LLM translation, batch model assignment and explicit tool\u002Fworkflow bindings. |\n| LLM configuration | OpenAI Chat Completions\u002FResponses, Anthropic and Gemini-compatible endpoints; custom Base URL, optional authenticated HTTP(S) proxies, connection tests and model discovery\u002Fmanual IDs. SystemOne supports judgment tests, not text planning. |\n| Tool management | Categories, search and pagination; file\u002FZIP upload and updates, source\u002Fruntime metadata, argument editing and execution preview, manual readiness checks and local or dependency-host adapters. |\n| Cloud and hybrid assets | AWS, GCP, Azure and Alibaba Cloud China\u002FInternational connections; official region selection, read-only assessment and hybrid correlation. Resource categories retain original service\u002Ftype and documented meaning; search, category filters and configurable pagination (10 per page). Real cloud accounts remain unverified. |\n| Scan result import | Nuclei\u002FNessus\u002FGreenbone\u002FQualys\u002FRapid7; 50 MB\u002Ffile; batch LLM retesting → threat modeling → PoC\u002FExploit drafts. |\n| 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. |\n| C2 servers | SSH\u002FSFTP and jump\u002Fproxy connections, tabbed terminals, background-session recovery, connection\u002Fcommand history, private\u002Fshared Markdown notes, tags\u002Fgroups, port connectivity and IP location. |\n| Listeners and sessions | Server\u002FOS\u002Fport selection, start\u002Fstop\u002Fcancel, live state\u002Flogs and a service overview; supported reverse-connection presets and configured forward WebShell adapters. |\n| Engagements | Target scope, time windows, allowed\u002Fdenied techniques and stop conditions; timeline execution details, result filtering and conversion of recorded events into findings. |\n| Controlled execution chains | Policy and budget checks, verification\u002Fapproval cards, registered actions, rollback results and evidence. Requires `AP_CHAIN_EXECUTION=on` and configured, ready action executors. |\n| PoC\u002FExploit and review | Finding-linked AI drafts, model\u002Flanguage selection and requirement refinement; code editing, search, save\u002Fexport and review on a configured execution node with live output. Generated code still needs review and compatible dependencies. |\n| 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\u002FHTML preview\u002Fexport, bulk archive\u002Ftrash operations and 30-day archive\u002F7-day trash retention. |\n| Settings and interface | Task\u002FSSH\u002Fdependency\u002Ftransfer 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\u002Fdark themes. |\n| Developer MCP | stdio and Streamable HTTP, 37 typed tools, workspace\u002Fscoped credentials, expiry\u002Frevocation, OAuth PKCE, call auditing, idempotent mutations, task progress\u002Fcursor logs and saved job\u002Freport resources. |\n\nAgenticPenTest displays an authorization acknowledgement and legal footer; administrators can manage the notice in system settings.\n\n## 🚦 Open-source feature comparison\n\n🟢 Implemented · 🔴 Not implemented · — Not confirmed in public documentation. **Unconfirmed does not mean unsupported.**\n\n| Feature | **AgenticPenTest** | [ARTEX](https:\u002F\u002Fgithub.com\u002FRuoJi6\u002FARTEX#readme) | [PentAGI](https:\u002F\u002Fgithub.com\u002Fvxcontrol\u002Fpentagi#readme) | [PentestGPT](https:\u002F\u002Fgithub.com\u002FGreyDGL\u002FPentestGPT#readme) | [Strix](https:\u002F\u002Fgithub.com\u002Fusestrix\u002Fstrix#readme) | [Faraday](https:\u002F\u002Fgithub.com\u002Finfobyte\u002Ffaraday#readme) |\n| --- | :---: | :---: | :---: | :---: | :---: | :---: |\n| LLM Agent scheduling and actual tool execution | **🟢** | 🟢 | 🟢 | 🟢 | 🟢 | — |\n| Web asset and finding management | **🟢** | 🟢 | — | — | — | 🟢 |\n| Editable STRIDE architecture modeling | **🟢** | — | — | — | — | — |\n| AWS \u002F GCP \u002F Azure \u002F Alibaba read-only inventory | **🟢** | — | — | — | — | — |\n| Scoped workspace MCP server: stdio + Streamable HTTP | **🟢** | — | — | — | — | — |\n| Docker self-hosting | **🟢** | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |\n| Administrator-managed domain\u002FCIDR scope and kernel egress guard | **🟢** | — | — | — | — | — |\n| Cross-task semantic memory with vector \u002F graph storage | **🔴** | — | 🟢 | — | — | — |\n| HTTP interception proxy | **🔴** | — | — | — | 🟢 | — |\n| HTTP traffic recording and request replay | **🔴** | 🟢 | — | — | — | — |\n| ScopeSentry asset synchronization | **🔴** | 🟢 | — | — | — | — |\n| Dedicated external scanner report-import adapters | **🟢** | — | — | — | — | 🟢 |\n\nThe MCP row means a developer-facing server with workspace permissions, not merely an outbound MCP client or a coding-agent skill.\n\n## 🖼️ Interface preview\n\n\u003Cdetails>\n\u003Csummary>📸 Static screenshots\u003C\u002Fsummary>\n\n| Dashboard | Asset management |\n| --- | --- |\n| \u003Ca href=\"docs\u002Fimages\u002Fen\u002Fdashboard.webp\">\u003Cimg src=\"docs\u002Fimages\u002Fen\u002Fdashboard.webp\" alt=\"Dashboard\" width=\"480\">\u003C\u002Fa> | \u003Ca href=\"docs\u002Fimages\u002Fen\u002Fassets.webp\">\u003Cimg src=\"docs\u002Fimages\u002Fen\u002Fassets.webp\" alt=\"Asset management\" width=\"480\">\u003C\u002Fa> |\n| **Threat modeling** | **Tasks and evidence** |\n| \u003Ca href=\"docs\u002Fimages\u002Fen\u002Fthreat-modeling.webp\">\u003Cimg src=\"docs\u002Fimages\u002Fen\u002Fthreat-modeling.webp\" alt=\"Threat modeling\" width=\"480\">\u003C\u002Fa> | \u003Ca href=\"docs\u002Fimages\u002Fen\u002Ftasks.webp\">\u003Cimg src=\"docs\u002Fimages\u002Fen\u002Ftasks.webp\" alt=\"Tasks and evidence\" width=\"480\">\u003C\u002Fa> |\n\n\u003C\u002Fdetails>\n\n## 🧭 First engagement\n\n1. Select personal or team mode, configure\u002Ftest an LLM profile, and assign models to Agents.\n2. Install the tools you need, manually check readiness, then add\u002Fimport assets or upload source material.\n3. Create a plan or task, select its Agent, workflow and depth; configure an engagement\u002Fpolicy when controlled actions require it, then start execution.\n4. Inspect steps and logs, follow linked assets\u002Ffindings, resolve review gaps, and export a report. Interrupted work keeps its saved evidence.\n\n## 🔌 MCP integration\n\nUse an MCP client to manage assets, dispatch Agents, run tasks and read evidence through the same backend as the Web UI. There are 37 typed tools; each credential sees only the operations allowed by its permissions and account role.\n\n### View saved finding evidence in Burp Suite\n\n1. Build the Java extension with Java 21 and Maven using `mvn -f integrations\u002Fburp\u002Fpom.xml package`. In Burp, open **Extensions → Installed → Add**, select **Java**, and load `integrations\u002Fburp\u002Ftarget\u002Fagenticpentest-evidence-0.1.0.jar`.\n2. In the workbench, open **System settings → Developers & MCP**. Create a credential with only `burp:read` and select the workspace that owns the finding.\n3. Open the finding details, select **View evidence in Burp**, then **Copy reference**.\n4. In Burp's **AgenticPenTest** tab, enter the workbench's HTTPS `\u002Fmcp` endpoint and the developer credential. HTTP is accepted only on loopback. Paste the reference from the same workbench and select **Load evidence**.\n\n`findings_burp_evidence` reads saved evidence in the selected workspace. The extension displays the target origin and saved HTTP methods and status codes. It sends no requests to the target and does not export raw HTTP messages.\n\nThe screenshot shows an isolated fixture in Burp Suite. `HEAD 204` is a saved observation.\n\n![Burp desktop showing saved HEAD 204 evidence](docs\u002Fmedia\u002Fburp-desktop-evidence.jpg)\n\n[Burp extension guide](integrations\u002Fburp\u002FREADME.md)\n\n### 🔑 Create a developer credential\n\nOpen **System settings → Developers & MCP**, choose the allowed personal\u002Fteam spaces, default space, permissions and expiry, then confirm with your current password. Copy the credential when it appears: it is shown only once. Credentials last 1–90 days, with a 30-day default, and can be revoked from the same page.\n\n| Permissions | Operations |\n| --- | --- |\n| `assets:read` \u002F `assets:write` | Read assets and observations \u002F import, update or retire assets |\n| `agents:read` \u002F `agents:write` | Read Agents, model metadata and tool capabilities \u002F change prompts and bindings |\n| `tasks:read` \u002F `tasks:execute` | Read plans, task progress and logs \u002F create, start, interrupt or resume work |\n| `reports:read` \u002F `reports:write` | Read findings, templates and reports \u002F generate and archive reports |\n| `burp:read` | Read saved, scoped finding evidence in Burp Suite |\n\nTask execution requires an operator role; changing Agent configuration requires an administrator role. Personal permissions apply only to the member's own space. Enable the chosen Agent, bind its LLM and tools, and manually check tool readiness before starting work.\n\n### 🔗 Connect your client\n\n**Streamable HTTP:** use your workbench's actual URL followed by `\u002Fmcp`, with `Authorization: Bearer \u003Cdeveloper-credential>`. An optional `X-Workspace-Mode: personal` or `team` header selects the default space; the tool's `workspace` argument takes precedence. Use HTTPS when accessing the service across an untrusted network. OAuth authorization-code authentication with S256 PKCE is also supported.\n\n\u003Cdetails>\n\u003Csummary>⚙️ Example HTTP client configuration\u003C\u002Fsummary>\n\n```json\n{\n  \"mcpServers\": {\n    \"agenticpentest\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fworkbench.example\u002Fmcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer \u003Cdeveloper-credential>\",\n        \"X-Workspace-Mode\": \"personal\"\n      }\n    }\n  }\n}\n```\n\nThis is a generic example: adapt transport names, configuration keys and secret storage to your MCP client. The detailed guide includes a JavaScript SDK example. A browser login cookie is not an MCP credential.\n\n\u003C\u002Fdetails>\n\n**stdio:** install Node.js ≥22.19 and this project's dependencies on the client machine, then configure the bridge below. The bridge connects to the running workbench; it does not create another database or scheduler.\n\n\u003Cdetails>\n\u003Csummary>⚙️ Example stdio client configuration\u003C\u002Fsummary>\n\n```json\n{\n  \"mcpServers\": {\n    \"agenticpentest\": {\n      \"command\": \"node\",\n      \"args\": [\"\u003Cproject-directory>\u002Fscripts\u002Fmcp-stdio.mjs\"],\n      \"env\": {\n        \"AP_MCP_URL\": \"https:\u002F\u002Fworkbench.example\u002Fmcp\",\n        \"AP_MCP_TOKEN\": \"\u003Cdeveloper-credential>\",\n        \"AP_MCP_WORKSPACE\": \"personal\"\n      }\n    }\n  }\n}\n```\n\nReplace the script path, URL and credential. On Windows, use an absolute script path with forward slashes or escaped backslashes. Use the client's protected environment\u002Fsecret configuration rather than committing tokens. `AP_MCP_WORKSPACE` must be a space allowed by the credential; omit it to use the credential's default.\n\n\u003C\u002Fdetails>\n\n### ▶️ Run a task and retrieve its evidence\n\n1. Inspect `capabilities_list`, `agents_list`, `models_list` and `tools_list`.\n2. Import your authorized lab assets with `assets_import`; importing does not start a scan.\n3. Call `jobs_create` with the returned asset ID and selected Agent ID. It creates a draft by default (`startNow: false`); explicitly call `jobs_start` to run it.\n4. Poll `jobs_get` for progress and `jobs_logs` for output. Pass the returned `data.nextCursor` as `after` on the next log request; each page contains at most 200 entries.\n5. Read `observations_list` and `findings_list`, then use `reports_generate` and `reports_get` to retrieve a report.\n\nAll write tools require an `idempotencyKey` (8–120 letters, numbers or `_.:-`). Retry the same operation with the same key and input to avoid duplicates. Updates also require the current record version; see the guide for each tool's `_rev`\u002F`rev` field. Disconnecting the client does not stop an accepted task: use `jobs_interrupt` or `jobs_cancel`; saved evidence is retained.\n\nFrom 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\u002F0 permits IPv4 targets; ::\u002F0 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. [network restrictions](docs\u002Flocales\u002Fen\u002Fdocs\u002Fguides\u002Fnetwork-restrictions.md)\n\n[Detailed MCP guide: runnable examples, scopes, tool parameters, OAuth and troubleshooting](docs\u002Flocales\u002Fen\u002Fdocs\u002Fdevelopment\u002Fmcp-service.md) · [中文指南](docs\u002Flocales\u002Fen\u002Fdocs\u002Fdevelopment\u002Fmcp-service.md).\n\n## 🏗️ Architecture\n\n```mermaid\n%%{init: {'flowchart': {'wrappingWidth': 560}}}%%\nflowchart TB\n    FRONT[\"`Frontend\u003Cbr\u002F>Browser UI · Vue \u002F Element Plus \u002F xterm.js\u003Cbr\u002F>Developer clients · MCP stdio bridge`\"]\n    BACK[\"`Backend\u003Cbr\u002F>Node.js HTTP \u002F Streamable HTTP MCP\u003Cbr\u002F>Authentication \u002F workspace permissions \u002F domain services`\"]\n    AGENT[\"`Agent orchestration\u003Cbr\u002F>In-process queue · Leader + specialists\u003Cbr\u002F>Bound LLM models · planning \u002F decisions \u002F cancellation`\"]\n    TOOLS[\"`Tool execution\u003Cbr\u002F>Registered adapters · HTTP \u002F DNS \u002F TLS \u002F native \u002F uploaded tools\u003Cbr\u002F>Administrator target scope + host guard · read-only cloud SDKs`\"]\n    DATA[\"`Data storage\u003Cbr\u002F>SQLite WAL · scoped assets \u002F findings \u002F task logs\u003Cbr\u002F>Encrypted credentials · evidence \u002F reports \u002F uploads`\"]\n    FRONT --> BACK --> AGENT --> TOOLS --> DATA\n```\n\n### 🔄 Default Agent lifecycle\n\nDefault 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.\n\n```mermaid\nflowchart TB\n    TASK[\"Task + responsible Agent\"]\n    CHECK[\"Validate scope, inputs, enabled Agents and model bindings\"]\n    QUEUE[\"Queue within concurrency limit\"]\n    PLAN[\"Leader \u002F selected specialists plan with their bound LLMs\"]\n    SELECT[\"Select an applicable registered tool\"]\n    RUN[\"Enforce policy, execute and archive evidence\"]\n    MORE{\"Continue within coverage and budget?\"}\n    END[\"Finish: completed \u002F partial \u002F failed\"]\n    STOP[\"Interrupt or cancel: retain existing evidence\"]\n    RESUME[\"Resume: revalidate and reuse successful checkpoints\"]\n    TASK --> CHECK --> QUEUE --> PLAN --> SELECT --> RUN --> MORE\n    MORE -->|Yes| SELECT\n    MORE -->|No| END\n    RUN -.-> STOP\n    STOP -->|Resume| RESUME --> CHECK\n```\n\n```text\nDockerfile    Container image build\ncompose.yaml  Deployment with the published image\nsrc\u002F          Backend, execution adapters and MCP service\nfrontend\u002F     Widget source\npublic\u002F       Served UI and generated bundles\ni18n\u002F         Translation source\nconfig\u002F       Agent presets, tool recipes and migration baselines\nscripts\u002F      Build, installation, maintenance and stdio bridge\ntests\u002F        Feature tests and isolated fixtures\ndocs\u002F         Guides, translated READMEs and screenshots\ndeploy\u002F       Container runtime helpers\n```\n\n[Architecture details](docs\u002Flocales\u002Fen\u002Fdocs\u002Farchitecture.md).\n\n## 🤝 Documentation and contributions\n\n- [Cloud inventory, account sites and resource classification](docs\u002Flocales\u002Fen\u002Fdocs\u002Fguides\u002Fcloud.md)\n- [Threat modeling workflow and first-release scope](docs\u002Flocales\u002Fen\u002Fdocs\u002Fguides\u002Fthreat-modeling.md)\n- [MCP developer integration](docs\u002Flocales\u002Fen\u002Fdocs\u002Fdevelopment\u002Fmcp-service.md)\n- [Complete usage and legal guide](docs\u002Fusage\u002Fen.md)\n- [User guides](docs\u002Flocales\u002Fen\u002Fdocs\u002FREADME.md)\n- [Setup and data configuration](docs\u002Flocales\u002Fen\u002Fdocs\u002Fgetting-started.md)\n- [Development and translations](docs\u002Flocales\u002Fen\u002Fdocs\u002Fdevelopment.md)\n- [PR \u002F Issue guidelines](docs\u002Flocales\u002Fen\u002FCONTRIBUTING.md)\n\nGit does not include databases, model\u002FSSH keys or test history. Initialization preserves existing data; back up SQLite and `data\u002Fmaster.key` outside Git.\n\nUse the Bug report \u002F Feature request issue forms and PR template. Include reproduction steps, environment and relevant validation; remove credentials and private target data.\n\n## ✉️ Contact\n\nFrom 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\u002F0 permits IPv4 targets; ::\u002F0 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.\n\n1. Sign in as a team administrator and open System settings → Network restrictions → Edit test scope. Personal-workspace administrator status alone is insufficient.\n2. Enter one authorized CIDR per line, for example 10.20.0.0\u002F16. Keep the internal ranges you still need; this form replaces the saved list.\n3. Enter one domain per line, for example app.example.com or *.example.com. URLs and wildcards in other positions are rejected. Use 0.0.0.0\u002F0 in the CIDR field when all IPv4 targets are authorized; special-purpose exclusions remain active.\n4. Enter your current administrator password and save. All current DNS addresses are confirmed on save. If validation fails, the previous scope remains unchanged.\n5. Start a task for an in-scope asset and inspect its progress and logs. Out-of-scope tasks and MCP calls are rejected. Subprocess tools also require a ready Linux host guard.\n6. If DNS addresses move outside the saved scope, review and save the domain again. Scope changes can interrupt active tasks without deleting results. Restore internal restrictions resets the allowed list.\n\n[wchensmile@gmail.com](mailto:wchensmile@gmail.com) — Replies within 24 hours.\n\n**Business cooperation and sponsorship:** contact [wchensmile@gmail.com](mailto:wchensmile@gmail.com). Sponsorship helps support continued development and maintenance.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Fwechat-official-account.png\" alt=\"WeChat official account: Aaron与安全的那些事\" width=\"760\">\n\u003C\u002Fp>\n\n## ⚖️ Responsible use and license\n\nObtain 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.\n\nProject-owned code is licensed under [MIT](LICENSE). Third-party tools retain their own licenses.\n\n- [Administrator-managed target scope](docs\u002Flocales\u002Fen\u002Fdocs\u002Fguides\u002Fnetwork-restrictions.md)\n\n## ☁️ Codespaces experience\n\n[![Open in GitHub Codespaces](https:\u002F\u002Fgithub.com\u002Fcodespaces\u002Fbadge.svg)](https:\u002F\u002Fcodespaces.new\u002FAaronCaiii\u002FAgenticPentest?quickstart=1)\n\nCreate a Codespace, wait for environment checks, dependency installation and initialization, then open port **8765** in the Ports panel. Read the authorization notice and create your own administrator; no default credentials are provided. Restarting preserves the database and installation identity.\n\nThis is a development experience, not permanent hosting. Keep the forwarded port **Private**. No maintainer network, credentials or proxy is required. Tools and cloud SDKs are not downloaded automatically. Without the trusted host guard, guarded tool and remote execution remain blocked; a license does not bypass this requirement. UI, asset management, manual threat modeling and report workflows are available; LLM\u002Fcloud operations need your own configuration. Verified in a real GitHub Codespace: automatic installation\u002Fbuild\u002Finitialization, private HTTPS forwarding, the 10-second authorization reader, administrator creation, asset import, refresh persistence, task\u002FMCP public-target rejection, loopback HTTP and fail-closed tool execution. The optional GitHub port-trust screen appears before the application. Cloud accounts and external LLM providers remain unverified. Stop\u002Fdelete the Codespace when finished; deletion removes its local data. GitHub quotas and billing apply.\n\n```bash\npython3 .devcontainer\u002Flifecycle.py setup\npython3 .devcontainer\u002Flifecycle.py start\n```\n\n**Execution support in the default Codespace**\n\n| Execution path | Status |\n| --- | --- |\n| Agent scheduling and built-in HTTP \u002F DNS \u002F TLS | Supported for reachable internal targets; requires your LLM configuration |\n| Subprocess tools, including Nmap and uploaded executables | Blocked: trusted host guard unavailable |\n| Remote commands, SSH terminals, listeners and WebShell execution | Blocked: equivalent remote policy enforcement unavailable |\n\nThe tested container has no systemd system service manager, read-only cgroups and denied namespace creation. Installing a systemd package alone cannot enable the guard. Environment checks record these prerequisites in `reports\u002Fcodespaces\u002Fenvironment.json`; **System settings → Network restrictions** shows the supported transports and blocked execution paths. Internal means networks reachable from the Codespace; `127.0.0.1` is the Codespace itself. Full tool execution requires a Linux deployment with a registered, kernel-verified guard. Do not expose the Docker socket or disable the policy as a workaround.\n\n## ⭐ Star History\n\n\u003Ca href=\"https:\u002F\u002Fwww.star-history.com\u002F#AaronCaiii\u002FAgenticPentest&amp;Date\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=AaronCaiii\u002FAgenticPentest&amp;type=Date&amp;theme=dark\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=AaronCaiii\u002FAgenticPentest&amp;type=Date\">\n    \u003Cimg alt=\"Star History\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=AaronCaiii\u002FAgenticPentest&amp;type=Date\">\n  \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n## 💜 Sponsorship\n\nSupport continued development and maintenance of AgenticPenTest on Afdian.\n\n[💜 Support on Afdian](https:\u002F\u002Fifdian.net\u002Fa\u002Faaronovo)\n\n- [GitHub Sponsors](https:\u002F\u002Fgithub.com\u002Fsponsors\u002FAaronCaiii)\n\n- [Tool installation and Apple Silicon compatibility](docs\u002Flocales\u002Fen\u002Fdocs\u002Fguides\u002Ftool-installation.md)\n\n## MCP Verified\n[![M8ven Verified](https:\u002F\u002Fm8ven.ai\u002Fbadge\u002Fmcp\u002Faaroncaiii-agenticpentest-1r0fsl?variant=verified&v=8eb3bc5c4b0a8cad0665d9fd16fdfc8f)](https:\u002F\u002Fm8ven.ai\u002Fmcp\u002Faaroncaiii-agenticpentest-1r0fsl?s=readme)\n","AgenticPenTest 是一个基于大语言模型（LLM）的红队测试工作台，面向安全研究人员与本地团队提供自动化渗透测试支持。核心功能包括资产测绘、威胁建模、多智能体协同工作流、云环境安全评估、结构化报告生成，以及对 MCP（Model Context Protocol）协议的原生支持；采用 Docker 容器化部署，无需宿主机预装运行时环境。适用于红队演练、攻防对抗训练、企业内部安全评估及自动化威胁模拟等场景。","2026-11-24 04:52:56","CREATED_QUERY"]