AI Agent Evaluation: Why Attack-Defense Battles Reveal More Than Static Benchmarks
As AI agents take on security attack-and-defense tasks, the yardstick for evaluating them is shifting—from whether they can solve a problem to whether they can keep winning against an opponent that continuously patches its defenses. Drawing on a third-party public evaluation of 22 batches and 466 valid matches, this article explains why static benchmarks and dynamic adversarial tests reach different conclusions. It covers the limits of static question-answering, the two-way attack-defense match format, score and win-rate stratification, key metrics for dynamic evaluation, the engineering prerequisites for trustworthy results, and how enterprises can put match-based evaluation into practice. The core takeaway: static benchmarks make agent capability gaps look small, while dynamic adversarial play exposes those gaps as defenders patch their lines—so match-based evaluation works best as a complement to traditional benchmarks, not a replacement.
When agents begin taking on attack-and-defense tasks, the scale for evaluation is changing too: what decides the ranking is no longer “can it solve the problem” but “can it keep winning in an environment where the opponent continuously patches its defenses.” After one third-party public evaluation ran 22 batches and 466 valid matches, the leaderboard showed clear tiers. More noteworthy is a comparison: problems that multiple agents easily solved in static testing saw their attack capture rates drop quickly once placed in two-way adversarial play and the defender began patching. Behind this lies a judgment: the “attack-defense milestone moment” for agents may well begin with matches like these. This article first reviews the results and format of this evaluation, then analyzes why static and dynamic evaluations reach different conclusions, and finally offers reference methods for evaluation metrics, match design, and engineering implementation.
1. Why Static Benchmarks Fail to Capture the Real Gap Between Agents
1.1 Three Limits of Static Question-Answering
“Static” means the target environment is fixed and does not change during the solving process; “dynamic” means the target responds to the solver’s behavior. Static questions measure “can it,” while dynamic adversarial play measures “how strong is it.” These are two different classes of problems, roughly corresponding to the three situations below.
- Questions can be “memorized”: Public questions and answers easily end up in a model’s training corpus. A model may recall a solution without truly mastering the method.
- A fixed number of attempts flattens out process differences: Regardless of the model or the difficulty of the question, everyone gets the same number of chances. Scoring is reduced to pass/fail, and all process information—convergence speed, stability—is lost.
- No opponent means no room to “grow”: In real attack-defense scenarios, the defender continuously adjusts based on the attacker’s methods. A score earned in single-player mode cannot reflect this adaptive capability.
1.2 A Noteworthy Divergence
To test this judgment, the research team ran a controlled experiment:
- Single-player mode: The target has no defenses, with two attempts per question. Of 40 questions, 30 were fully solved by three models from different tiers.
- Two-way adversarial play: The same 30 questions entered the adversarial match, and the defender began finding and patching vulnerabilities. By round 3, the three models’ attack capture rates had dropped to 52%, 37%, and 35% respectively.
This data shows at least three things:
- In single-player mode, these 30 questions had very low discriminative power—many models could “clear” them.
- Once the target began to “fight back,” the gap between top and bottom performers widened rapidly.
- The absolute level by round 3 was already markedly low. Even the strongest model captured only about half.
A note on the “round 3 dropped to 52%” figure: since the values for the first two rounds are not given, this article does not interpret 52% as “a 52% drop from the previous two rounds.” Instead, it reads it as “the cumulative capture rate in round 3 was about 52%,” which is the more common definition of capture rate.
2. The Evaluation Design Behind 466 Matches
2.1 The Two-Way Attack-Defense Format
This type of evaluation usually runs two matches simultaneously, with both sides alternating between attack and defense roles in each:
- A attacks, B defends: A attacks the target that B maintains within a time limit and scores on a successful breach; B also scores for successfully patching.
- B attacks, A defends: Roles are swapped to test each model’s ability to discover and fix vulnerabilities on the defensive side.
Role rotation offsets the “first-mover advantage” and any bias from question difficulty. Letting both attacker and defender score also prevents the defender’s patching actions from becoming a “pure drain.”
2.2 Match Scale and Score Stratification
The 22 batches produced 466 valid matches in total, averaging about 21 per batch. The final standings looked like this:
- The top two: Clearly ahead on points, with a match win rate of roughly 0.83–0.86, forming a “gapped advantage.”
- The rest: A maximum win rate of only about 0.59.
A win rate near 0.5 means the two sides are roughly evenly matched. A win rate above 0.8 for the top models shows they held a dominant position against most opponents. Far ahead versus slightly ahead may differ by only a dozen points on the leaderboard, yet represent two different orders of magnitude in the matches themselves.
2.3 Two Prerequisites for Reading the Leaderboard
- Score and win rate measure different things: Score reflects a single competitor’s absolute performance and is affected by question difficulty, match format, and number of matches, so scores cannot be directly added and compared; win rate only looks at “how many matches were won” and reflects relative standing.
- Match count determines credibility: Under the same format, the more matches a competitor plays, the more stable the win-rate estimate; those with fewer matches see their ranking easily influenced by chance.
import mathdef wilson_ci(wins: int, games: int, z: float = 1.96):"""Wilson confidence interval for win rate; more reliable than the normal approximation for small samples"""if games == 0:return Nonep = wins / gamesdenom = 1 + z * z / gamescenter = (p + z * z / (2 * games)) / denomhalf = z * math.sqrt(p * (1 - p) / games + z * z / (4 * games * games)) / denomreturn round(center - half, 3), round(center + half, 3)# Example: 24 wins in 40 (60%) vs 72 wins in 120 (60%)print(wilson_ci(24, 40)) # ~ (0.439, 0.744)print(wilson_ci(72, 120)) # ~ (0.507, 0.685)
For the same 60% win rate, the 95% confidence interval is roughly 43.9%–74.4% at 40 matches and narrows to about 50.7%–68.5% at 120 matches. If the 4th-place win rate is 0.64, it cannot be reliably distinguished from a 60% competitor under either match count. When dense tiers appear in the middle of the rankings, the first thing to consider is whether the sample size is sufficient.
3. Why Static and Dynamic Evaluation Reach Different Conclusions
The gap from “statically solvable” to “sharply declining dynamically” is mainly due to the following reasons.
3.1 Attack Payoffs Diminish Per Round as Difficulty Steps Up
Each round of patching by the defender closes off a category of already-exposed attack paths:
- Round 1 targets “original vulnerabilities”; defenses are thin and breaches come easily.
- Round 2 faces “patched vulnerabilities,” requiring the attacker to find incomplete patches or switch to a different attack surface.
- From round 3 onward, what remains are mostly deeper logic flaws and chained exploit combinations.
So a per-round decline in capture rate is a matter of mechanism. The truly valuable signals are two: how high the starting point is, and how steep the curve falls.
3.2 Single-Player Mode Rewards “Solving,” Adversarial Mode Rewards “Winning”
In single-player mode, answering correctly counts as success, and the agent only needs to follow one viable path to the goal. In adversarial mode, the defender analyzes attack traces and blocks them in a targeted way. The agent needs:
- The ability to explore multiple paths;
- The ability to quickly judge whether a path has been blocked;
- The ability to adjust strategy after a failure.
The diagram below shows the typical shape: in static mode almost every model can complete the questions, while in dynamic mode the gap widens rapidly with each round.
Attack capture rate (illustrative, not measured data)100% | Single-player: multiple models complete reliably80% |60% | Dynamic · Top model ──╮40% | Dynamic · Mid model ─╮ ╰──────╮20% | Dynamic · Low model ╰──╮ ╰──0% +--------------------------------Round 1 Round 2 Round 3
3.3 Capability Shifts from “Knowledge Points” to “Composition and Iteration”
Static questions test single knowledge points: recognizing a certain vulnerability type, writing a correct patch, reading a piece of code. Dynamic matches require:
- Composition: chaining reconnaissance, exploitation, privilege escalation, and lateral movement into a complete attack chain.
- Iteration: treating a failure not as the end of the task but as the next lead.
- Evaluation and prioritization: probing multiple entry points first, assessing the current defensive posture, then deciding where to commit effort. This is the core of what distinguishes an agent from “single-turn question-answering,” and it is the part static questions cover least well.
4. Key Metrics for Dynamic Adversarial Evaluation
Looking only at the final score makes it easy to miss process information. At a minimum, consider adding the following metrics.
| Metric | Definition (reference) | Capability reflected |
|---|---|---|
| Capture rate @ round k | Share of targets breached at least once within the first k rounds | Early-stage attack efficiency |
| Attack-defense net win rate | Attack points − points lost to being breached | Offense-defense balance |
| Convergence curve slope | Rate at which capture rate decays per round | Ability to adapt to patching |
| Patch latency | Number of rounds from detecting an intrusion to completing a patch | Defensive response speed |
| Average resource consumption | Inference calls and runtime per match | Cost efficiency |
Among these, the convergence curve slope deserves the most attention. Two agents may end with similar scores, but if one still holds a relatively high capture rate in round 3 while the other has already decayed quickly, the former is more likely to hold a sustained advantage in real attack-defense scenarios.
5. Four Engineering Prerequisites for a Trustworthy Evaluation
5.1 Anti-Cheating: Closing Off “Test Cheating”
- Sandbox isolation: Each match uses an independent container or virtual machine, destroyed afterward; network access is controlled with an allowlist to prevent attack code from leaking out.
- One-way information flow: The attacker can obtain only “success/failure” or limited hints from feedback, and cannot read the defender’s source code, patches, or logs.
- Trace detection: Check whether attempts to read referee data without authorization, forge submitted results, or similar behaviors occur during a match; anomalous matches are ruled invalid.
The very concept of a “valid match” indicates that invalid matches must be identified and removed.
5.2 Anti-Contamination: Preventing “Seeing the Questions Before the Exam”
- Questions and answers are generated only inside the evaluation environment and do not enter the model’s training or retrieval corpus.
- After a batch of questions is patched through adversarial play, it can be turned into new questions for the next round, enabling a “self-evolving evaluation set.”
5.3 Reproducibility: Fix Random Seeds and Record Full Traces
match_id = "batch07-A-vs-C-013"attacker = "agent_A" # de-identified labeldefender = "agent_C"seed = 20240607rounds = 3target_snapshot = "oss://eval-artifacts/targets/013.tar" # example addresstrace_ref = "logs://eval-traces/match_013/" # example addressverdict = "valid"
Every match must fully preserve the target snapshot, the referee rule version, the model version, and the complete operation trace. Only then is there a basis for post-match review, ranking appeals, and version rollback.
5.4 Comparability: Control Variables and Label Honestly
When comparing static and dynamic results, the following conditions must be kept consistent:
- The same set of models;
- The same questions;
- The same number of attempts and round limits;
- The same compute budget.
Otherwise, a “high static score, low dynamic score” may simply be because the questions got harder or the budget changed—not because of a difference in capability.
6. How Enterprises Can Put an Attack-Defense Match Evaluation into Practice
6.1 Recommended Workflow
- Environment setup: Build an isolated range with resettable target snapshots and referee rules.
- Task distribution: Distribute match tasks via a message queue, with the container platform spinning up sandboxes on demand.
- Match execution: A referee program drives both sides to act in turn, logging events round by round.
- Result archiving: Write traces and snapshots to object storage, and sync referee verdicts to a logging service.
- Statistics and alerting: Compute points, win rates, and confidence intervals, with a monitoring and alerting service notifying the responsible owners when metrics go abnormal.
6.2 From “Watching the Leaderboard” to “Using It”
- Don’t select on score alone: Weigh win rate, the convergence curve, and cost together.
- Move the gate forward: A candidate model is allowed into a pilot only after passing benchmark matches in an internal range.
- Continuous red-team/blue-team exercise: Defenders harden systems with patch plans generated by new models, and attackers use new models to test the hardening—forming a closed loop.
7. Limitations and Risk Notes
- Scores are not comparable across leaderboards: Different evaluations use different questions, rounds, and referee rules, so scores can only be referenced within the same leaderboard.
- Watch out for “leaderboard gaming”: Once evaluation metrics are public, they can be optimized against—what Goodhart’s law describes as “when a measure becomes a target, it ceases to be a good measure.” Keep a private question set and rotate the questions regularly.
- Compliance and security boundaries: Attack-defense tasks must be conducted in authorized environments; connecting to real production systems is strictly prohibited, and generated attack code should undergo compliance review.
- Don’t over-deify it: An evaluation is only a snapshot at a single point in time; after a model version update, rankings can change quickly.
Conclusion
The most important lesson from 466 matches is not “who ranked first” but “how to evaluate reliably.” Static benchmarks make agent capability gaps “look small,” while dynamic adversarial play makes those gaps appear as the defender patches its lines. For teams, the more realistic approach is to use this match-based evaluation as a complement to traditional benchmarks: use static questions to screen for fundamentals, use dynamic adversarial play to assess composition and iteration, and use a trustworthy match format to keep conclusions reliable. As agents increasingly appear on the front lines of attack and defense, who can find problems faster, adapt to change, and keep winning may say more than a static leaderboard ever could.
