Skip to content
AI Security Wire

Published

- 4 min read

By

Injection Replay: Verdicts Mostly Hold, Defense Rankings Rest on Small Gaps

img of Injection Replay: Verdicts Mostly Hold, Defense Rankings Rest on Small Gaps

A preprint submitted to arXiv on December 2 asks an awkward question about AI agent security: when a benchmark says a prompt-injection attack worked, did the attacker actually get what they wanted? The answer, mostly, is yes. The more useful finding is that the decisions people build on those numbers are often much shakier than the numbers themselves. This is one preprint, we found no journal reference or venue on its arXiv abstract page as of December 4, 2026, and we have not re-run its analysis. Every claim here comes from the authors’ own account.

What the researchers did

The paper is “Re-Grading Prompt-Injection Benchmarks by Replay: Check Defects, Grader Choice, and the Decisions Built on Them” (arXiv 2612.04580). The authors replayed released episodes from AgentDojo and AgentDyn, a benchmark built on the AgentDojo framework by a different group. They report using 32,634 AgentDojo episodes and 41,118 AgentDyn episodes. Replaying inside each benchmark’s own simulator recovers the real state the agent produced, so each verdict can be checked against what the attacker’s goal actually required. Episodes that could not be replayed were counted as unknown rather than guessed: 450 in AgentDojo (298 of them crashes) and 1,893 in AgentDyn.

They also registered four decisions in advance: which defense to deploy, which model ranks safest, which attack is strongest, and whether an alignment defense helps significantly. That matters because, in our reading, fixing the decisions before scoring stops the analysis from hunting for a flip after the fact.

Where the checks fall short

The paper opens with an example from AgentDojo’s banking tasks. An attacker’s instruction asks for a transaction whose memo contains a third party’s IBAN. According to the authors, an operator-precedence slip in the check reduces it to “did any transaction reach the attacker’s account”. An agent that sends money to the attacker but leaves the IBAN out still gets scored as a successful data theft.

That is not typical. The authors say their strict grader and the published verdicts disagree on about two percent of known episodes in each benchmark, and in most of those the native check is the side saying the attack succeeded. The disagreements concentrate in a handful of attacker goals. In some, the check tests less than the goal asks for. In one, it counts an effect of the user’s own task as an attack. In others, two reasonable readings of a vague goal diverge.

Rankings are the weak point

The headline is about decisions, not verdicts. Several graders did change a pre-declared decision under the registered rule, but on inspection each change was a one-episode reversal, a broken tie, a threshold crossing, or a question of how crashed runs are scored. AgentDojo’s safest model, for example, changes as soon as crashed runs stop counting as successful attacks.

One language-model judge passed the authors’ controls and still reversed the ranking of the two leading defenses for gpt-4o in AgentDojo, because it counted the agent’s legitimate actions and announced intentions as attacks. That reversal was significant under the registered test but not once test cases sharing a user task were treated as dependent.

Grader choice does change the size of a reported attack success rate. A grader that only looks at tool calls rates a defense that blocks calls as far weaker than its final state shows. And in nine of the ten defense choices the authors examined, the winning defense was not significantly better than the runner-up under the published verdicts or under any of their deterministic graders.

What to take from it

For security teams picking an agent defense off a leaderboard, the practical reading is cautious. A reported attack success rate means little without knowing what the grader inspects: the agent’s words, its tool calls, or the resulting state. The authors say the fixes for benchmark builders are cheap: test fixtures for each check, an attribution control against the user’s own task, unknowns reported as unknowns, and a paired test before naming a winner.

Limits apply. The paper says its conclusions are about the released logs and graders, and that no new agents were run. Replay is not execution, and no grader was checked against human labels. The attack specifications were written by language-model agents, and the two benchmarks share one framework. Our view: a slightly mis-scored benchmark is still more useful than none, but small differences between defenses should not drive deployment decisions.

References

Frequently Asked Questions

What did the researchers actually test?
They replayed the released episodes of two prompt-injection benchmarks, AgentDojo and AgentDyn, inside each benchmark's own simulator. That let them recover the state the agent actually produced and compare each published attack verdict with independent specifications of what the attacker was trying to achieve.
Are existing attack success rates wrong?
Mostly not. The preprint says state-based verdicts largely hold and disagree with its strict grader on about two percent of known episodes in each benchmark. The problems cluster in a handful of attacker goals where the native check tests less than the goal demands, or counts an effect of the user's own task.
What should teams do with benchmark numbers when choosing a defense?
Treat small gaps with caution. The authors report that in nine of the ten defense choices they examined, the winning defense was not significantly better than the runner-up under the published verdicts or any deterministic grader they tested. They suggest checking what a grader inspects, reporting unknown outcomes as unknown, and running a paired test before naming a winner.