sapper-v2
App : A product you use directly
A swarm of penetration-testing agents, with a commander and executors, award-winning in offensive security competitions.
Interesting mainly as an orchestration demonstration: a chief agent, worker agents, a shared memory. The project is built for capture-the-flag style competitions and plugs into their platform; using it elsewhere requires adapting it. It is not a ready-to-use audit tool.
Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.
What it does, concretely
sapper-v2 tackles a specific problem: getting several AI agents to work together on a long penetration-testing task without human supervision. Instead of a single agent, the project sets up a small army: a commander reads the state of play, decides and hands out work, while generals and soldiers attack in parallel. It won the online qualifier of the 3rd Tencent Cloud Intelligent Attack-Defense Challenge (634 teams, 80.18 points, 8 hours unattended) and First Prize at the GeekCon 2026 AI Challenge.
In practice, each agent runs in a tmux pane and agents talk to each other by typing into one another's input box. Knowledge is stored in a three-level fact graph (title, summary, evidence document) that survives when an agent dies. A watchdog, a plain script with no strategy, relaunches the commander if it crashes, rotates API keys and wraps up at the deadline. Models are split by role: GLM-5.3 for the commander and generals, DeepSeek V4.1 Flash for soldiers and scouts. The README highlights 1 billion tokens used, against 4.5 billion for the runner-up, with the same 85 flags.
The project is not tied to a given model or command-line tool: you can swap the agent and model behind each role. It mainly suits people interested in multi-agent orchestration, capture-the-flag competitors and security teams comfortable with Docker and environment variables.
It is not for anyone looking for a ready-to-use audit tool. It is designed for the Tencent competition platform and checks that platform's interface at startup; outside that setting, you must provide or stub the interface and adapt the commander's doctrine. It is reserved for authorized testing, on targets you own or have written permission to test.
What it offers
- ·A commander reads the board, judges and dispatches missions without ever running an attack itself.
- ·Generals (hard assaults, with their own squads), soldiers (mass tasks) and scouts (4-minute recon of a target's difficulty) work in parallel.
- ·A three-level fact graph (title, summary, evidence document) acts as shared memory and stays readable by the successors of a dead agent.
- ·A pure-script watchdog relaunches the commander with --continue, rotates API keys when a quota runs out and wraps up at the deadline.
- ·A soldier whose context saturates (about 260K tokens, measured) is replaced and leaves a written playbook for its successor.
- ·The command-line agent and the model behind each role are interchangeable (--model flag or SAPPER_MODEL variable).
- ·A pre-built Docker image of about 1.2 GB includes the full Kali toolchain, sapper and an offline knowledge base.
In practice
- Price
- Free
- Commercial use
- Commercial use: yes
- Available on
- docker, cli
- Licence
- MIT
- FR interface
- No
Security and data
- Rating
- Security: one caveat, see the card
- Your data
- Local or cloud depending on use
- Maintenance
- Active
- Last release
- 1 November 2026
Links and repository checked on 29 November 2026 · added on 28 November 2026
How to install sapper-v2
docker build -f docker/Dockerfile.commander -t sapper:latest .