An open-source swarm of AI agents says it beat 633 teams in a hacking contest while using less than a quarter of the runner-up’s tokens. The project is sapper-v2, it appeared on GitHub on 30 October 2026, and four weeks later it had 2,683 stars and 1,296 forks.
In short: sapper-v2 is a multi-agent AI pentest harness that reports first place in the online qualifier of Tencent’s 3rd Intelligent Attack-Defense Challenge, but the figures come from the project itself and its own documents do not fully agree.
That gap is the interesting part. Here is what sapper-v2 is, what the numbers say, and what defenders should take from it.
What is sapper-v2?
sapper-v2 is an orchestration layer for many AI agents, not a single smarter agent. Its README says so plainly and calls it an “autonomous pentest legion”.
The design has four roles and one script:
| Role | Model in the contest | Job |
|---|---|---|
| Commander | GLM-5.3 | Reads the scoreboard, picks targets, dispatches work. Never attacks itself. |
| General | GLM-5.3 | Takes over hard targets after workers stall |
| Soldier | DeepSeek V4.1 Flash | Does most of the routine work |
| Scout | DeepSeek V4.1 Flash | Quick recon to judge how hard a target is |
| Watchdog | No model, plain script | Restarts crashed agents, rotates API keys, stops at the deadline |
The agents run in tmux panes and talk by typing into each other’s input boxes. Memory lives in a shared, three-layer fact graph (title, summary, evidence), so a worker whose context fills up can be replaced and its successor reads what it learned. That foundation is published separately as nvwabase, and the README credits Cairn as a reference for recording agent history.
The licence is MIT. A prebuilt Docker image with a full Kali toolchain ships as release v18-champion, dated 1 November 2026.
How did sapper-v2 win the Tencent CTF?
According to its README, through cheap division of labour rather than raw model power. The claimed result:
| Team | Score | Flags | Tokens |
|---|---|---|---|
| sapper-v2 | 80.18 | 85 | 1.0B |
| Runner-up | 79.29 | 85 | 4.5B |
| Other top-10 teams | n/a | n/a | 1.5B to 4.5B |
The README says it reached the same 85 flags as the runner-up 25 seconds sooner, ran 8 hours unattended, and also took first prize in the GeekCon 2026 AI Challenge. AlphaSignal reported the same figures on 3 November and labelled them project-reported.
The Chinese-language battle report in the repo explains how. The biggest lever was what it calls family transfer. The challenge set contained many near-identical apps, so once one was solved, the commander wrote the method to the fact graph and new workers started from it. After one target took 84 minutes, the swarm took 12 or more flags in about 40 minutes. A later family of multi-stage targets took 30 to 90 minutes each at first, then fell quickly once the chain was worked out.
The report puts the model bill at about 110 yuan, roughly 2.4 yuan per flag.
What the numbers do not tell you
This is the section the launch coverage skipped. The project’s own documents disagree with each other.
| Claim | README | Battle report |
|---|---|---|
| Flags captured | 85 | About 45 |
| Field | 634 teams | First of 50 teams that had posted scores |
| Challenges solved | Not stated | 36 or more of 63 |
The two may be measuring different things, for example registered teams against teams that scored. The project does not say. explainx.ai, which covered the tool on 17 November, called the figures claimed and not independently audited. We found no independent confirmation either.
Other limits worth stating:
- It is a CTF. Targets were known, scored and time-boxed. The README says the build was designed for the competition and checks for the arena API at startup, and AlphaSignal notes that real networks need separate evaluation.
- It stalled. The battle report describes an 84-minute stall on one target, failed flag submissions, and a climb from 25th to 15th to 5th to 3rd before finishing first.
- The margin was tiny. 0.89 points separated first and second, and the report credits a final sweep for unsubmitted flags with about 4 of those points.
- The weaknesses were ordinary. The battle report describes a standard loop of port scan, service identification, vulnerability matching and exploitation. Nothing in it points to new vulnerability classes.
Why does sapper-v2 matter?
Because it shows cost, not capability, is the thing that is moving. The design lets a strong model make a few decisions while cheap models do thousands of steps, and the project claims that cut its token use by more than three quarters.
That matters for defenders. A swarm that reuses one working method across every similar system is exactly what you face if you run many copies of the same web app or appliance. The Swiss AI agent cyberattacks and the BOSSAI attack mesh both relied on the same pattern of ordinary flaws found at scale.
The fork count is also notable. 1,296 forks against 2,683 stars is a high ratio, and a fork is a private copy nobody can recall. As we saw when CyberStrikeAI was shut down, removing an offensive repo later does not remove the copies.
The authors propose a fix of their own: a “taggant”, markings built into the harness that would leak the operator’s identity to victims during illegal use. Their disclaimer says a tracer is in development. It has not shipped, and the authors admit stripping it is a hard problem.
What should defenders do?
- Assume your look-alike systems fall together. If one instance of a template app is exploitable, treat all of them as exploited. Patch and harden as a fleet.
- Fix the basics first. Weak credentials, exposed admin panels and known CVEs are what agent swarms convert into flags fastest.
- Watch for tireless activity. Eight hours of continuous, methodical probing from one source, with retries seconds after failures, is a useful signal.
- Plant bait. Agents that copy a working method across similar targets will copy a decoy too. Our guide to AI agent honeypots covers where to start.
- Vet forks before your red team uses them. If you test with sapper-v2, use the original repo, pin a reviewed version and run it isolated.
The bottom line
sapper-v2 is a clever, cheap way to make many AI agents work as one team, and its reported CTF win is plausible but unaudited, with internal figures that do not match. The lesson for defenders is not that AI swarms are unstoppable. It is that a swarm solves your tenth identical system almost for free once it has solved the first.
Sources
- GitHub, N1nEmAn/sapper-v2 README, BATTLE-REPORT.md and DISCLAIMER.md, plus GitHub API data for the repo, its releases, N1nEmAn/nvwabase and oritera/Cairn, read on 28 November 2026
- AlphaSignal, SAPPER-v2 Beats 634 Teams in Hacking Contest Using AI Agents Alone, 3 November 2026
- explainx.ai, Sapper v2: Open Autonomous Pentest Legion on the Nüwa Agent Framework, 17 November 2026
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.