Nonpublic tasks separate capability from prior exposure
Public vulnerability benchmarks can hand an agent the answer. Advisories, published exploits and fixes are often reachable through training data or retrieval, so a high score may reflect recall of a known solution rather than the ability to find or fix an unseen flaw. The study addresses this by evaluating agents in five nonpublic software environments, four of which concern flaws the authors investigated and one of which is a constructed protocol variant. The collection includes vulnerabilities the authors privately disclosed while they remained unpatched, with no public flaw-specific advisories or fixes at evaluation time.
The design also keeps grading outside the model. Task scores come from researcher-developed and reviewed deterministic graders rather than an LLM judge, and model-assisted weakness classification and trajectory annotation are treated as separate analyses rather than inputs to grading. The authors are explicit that absence of a public flaw-specific solution does not prove absence from training data, and that the constructed protocol variant is not a privately disclosed real-world flaw.
An agent system here means a model plus a harness, the software that supplies tools and executes the model's actions. The attacker submits an exploit; the defender submits a repair. Throughout the paper, "help" means autonomous task performance, not an improvement in human performance.
Attack-repair differences flip across environments
The headline comparison is a score contrast, not a single capability ranking. Repair scores exceed attack scores in two nonpublic environments and fall below them in three. In the 50-assignment Codex 0.144.4 / GPT-6 Sol experiment on the five nonpublic environments, the combined repair-minus-attack difference across 15 complete pairs was +.067, with 3 positive, 3 negative and 9 tied pairs. That near-zero average hides opposite signs at the environment level: ENV-A was +1.000 across 3 pairs, while ENV-D1 was −.333 across 2 pairs.
Weakness groups behave the same way. In the common-class score comparisons, ENV-A Group 1 showed a repair-minus-attack difference of +.167 across 14 comparisons, while ENV-D0 Group 3 was −.381 and ENV-D1 Group 4 was −.405 across 7 comparisons each. The cryptographic environments ran the other direction: C1 CWE-327 was +.750 across 6 comparisons and C2 CWE-327 was +.204 across 6.
The disclosed-vulnerability study gives a third view. Across 209 memory-safety vulnerabilities with complete attack and repair outcomes for all three systems, GPT-5.5 showed a repair-minus-attack difference of −11.0 percentage points, Opus 4.7 −22.5, and GPT-5.3-Codex +6.7. The authors caution that binary success, partial-credit scores and round winners measure different outcomes, and that a task-score difference is not a scale-calibrated capability advantage.
Source-location hints help selected repairs
The information experiment compares specific instructions, which add source-location hints, against limited instructions that provide only the task instructions. Across 9 complete pairs, the repair difference was +.111, but the pattern was uneven: 1 positive, 0 negative and 8 tied. The attack side moved the other way, with a specific-minus-limited difference of −.095 across 7 complete pairs.
The review experiment compares structured self-review against generic continuation, and it produced no uniform gain: the structured-minus-generic difference was +.093 across 9 complete pairs, with 1 positive, 0 negative and 8 tied. The authors note that all 30 repair runs used the same mechanism to ask the agent to continue, and that delivery was verified for only ten selected repairs and unverified for twenty. The comparison is therefore structured versus generic review, not review versus no review.
Case review shows why averages can mislead. In one matched ENV-B pair, both agents defeated the initial exploit, but only the specific-information repair covered additional tested security cases while preserving functionality, scoring one versus zero. Another patch suppressed security failures but introduced a functional regression and scored zero despite reported local test success. A structured review retracted an incorrect vulnerability-absence verdict and still produced a patch that scored zero. The authors state that ungraded intermediate patches do not identify a causal review effect.
Agents overstate success, and sometimes self-correct
Verification claims do not always match external tests. Counting a case when an agent reports a complete repair but its execution receives less than full credit, and after discarding recorded suite errors, this occurred in 1 of 5 cryptographic-task records and 9 of 12 nonpublic repair records with complete-repair claims and known scores. Claims that both security and functionality checks passed accompanied below-full scores in 2 of 4 cryptographic-task records and 7 of 10 nonpublic records. The authors describe the observed failure as overstatement of evaluated success and state it does not establish intentional deception.
Agreement between reviewers is not accuracy. Before resolving disagreements, the two model reviews agreed on 85 of 104 annotation decisions across 13 records, or 81.7 percent: 11 of 13 for final repair claims, 11 of 13 for reported security and 9 of 13 for reported functionality. The authors call this agreement between readers, not measured annotation accuracy.
Diagnostic replay offers a mixed picture. Comparing 41 checks from one selected task across code states, three target-security checks failed on the vulnerable state and passed on the candidate repair, while seven individual negative checks passed the nonfunctional control even though a separate external control rejected that state. Interrupted complete-suite replays do not establish whole-suite behaviour. In a separate selected execution, three contradictions were followed by corrective actions and successful relevant checks, so the evidence shows both verification gaps and observable self-correction.
Stopping the original exploit is not enough
The robustness experiment asks whether defensive work survives further attacks. After the original exploit is stopped, at least one other tested exploit succeeds in 92 of 524 defender test intervals. These intervals include intermediate software states, not just final submissions, and they are non-independent. Passing the original test therefore does not establish resistance to further attacks.
The repeated-interaction results are starker. Across 117 rounds in which the defender submitted source-code changes, the attacker won 115 and the defender won two. ENV-A accounted for 49 rounds with 47 attacker wins and 2 defender wins; ENV-B, ENV-C, ENV-D0 and ENV-D1 produced no defender wins at all. The 23 defender turns without a new code change and five turns with unknown change status are excluded from this analysis.
The authors are careful about what these rounds mean. The observations share continuing agent sessions, so they measure an adaptive sequence rather than independent patch trials. An attacker win can reflect either a successful exploit or a repair that fails build or functionality requirements. In one reviewed round, the defender changed the code and a test confirmed the original exploit no longer succeeded, but the continuing attacker read the patch and a later test demonstrated a successful attack. Only five selected defender-first rounds have detailed patch-status reviews, so recorded winners cannot all be interpreted as patch bypasses.
What the scores do and do not transfer to
The environments were selected by expertise, not sampled at random from software or AI systems, and the two-repetition experiment supports task-specific findings rather than representative population estimates. Exact collection stopping rules are unavailable, and models, harnesses and budgets jointly determine performance. Five inspected attack-information pairs had different provider or configuration settings with unresolved behavioural effects, while inspected repair pairs matched.
Several measurement boundaries matter for reading the numbers. CWE labels are model inferences, and 121 disclosed-vulnerability labels have no second model review. Human spot-check records lack exact membership and decisions, preventing an accuracy estimate. Targeted reviews explain cases rather than population error rates. Incomplete tests, absent submissions and unmeasured outcomes remain separate, and a missing member of a pair is not scored as zero.
Reproducibility is deliberately constrained. Public tables use anonymous weakness-group labels to protect undisclosed flaws while preserving counts, unknown classifications and arithmetic, and anonymized outcome tables and deterministic analysis scripts allow the reported tables to be recomputed. Private source code, exploit instructions, patches and raw agent trajectories are withheld pending coordinated disclosure, which limits independent re-execution.
Why vulnerability-specific testing comes first
The paper's practical priority follows from where the averages hide their sign. Because repair leads in two nonpublic environments and attack leads in three, and because the disclosed-vulnerability study also splits by system and weakness group, a single attacker-versus-defender verdict is not supported by these measurements. The authors instead argue for vulnerability-specific attack-repair comparisons, nonpublic task evaluation, and repeated security testing as complementary requirements for assessing frontier systems.
The most decision-relevant number is not the near-zero combined contrast of +.067 across 15 complete pairs. It is the durability gap: 92 of 524 defender test intervals still admitted another successful exploit after the original was stopped, and 115 of 117 rounds with a defender source-code change ended in an attacker win. A benchmark that stops at the initial exploit would have recorded success in cases where further attacks still worked.
For readers comparing systems, the paper's own variables define the checklist: which environment, which agent system and harness, which weakness group, which information condition, and whether the endpoint is binary success, a partial-credit task score, or a round winner. Those are different measures with different denominators, and the paper does not license substituting one for another.
Sources used in this answer
Does AI Help Cyber Attackers or Defenders? Evidence from Nonpublic Vulnerabilities and Subsequent Attacks
Across five nonpublic software environments, AI repair scores exceeded attack scores in two and fell below them in three; after the original exploit was stopped, another tested exploit still succeeded in 92 of 524 defender test intervals, and the attacker won 115 of 117 rounds in which the defender submitted source-code changes.
