Attributing Security Outcomes in LLM-Agent Evaluations: The Role of Content-Free State
Organizations: Mohamed bin Zayed University of Artificial Intelligence (MBZUAI), Abu Dhabi, UAE
Abstract
Security benchmarks for LLM agents record whether each attack succeeded and compare agents, attacks, and defenses by attack success rate (ASR). Such comparisons are valid only if the agent, the attack, and the defense cause each verdict. We show that verdicts also depend on content-free state: details of a run that carry no information about the system under test, such as the Python hash seed, the order of tools or evidence, and the scoring of failed runs. We require that this state influence no verdict (decision noninterference) and treat it as untrusted input, because evaluators and requesters of LLM-based gates can choose it. Our framework, TARE (Testing Attribution of Reported Effects), attributes a reported effect to the agent, attack, or defense only if it exceeds the measured influence of content-free state. On Agent Security Bench (ASB), runs with a fixed hash seed are identical for seven agents from four model families, yet changing the seed changes up to 17% of an agent's verdicts while the ASR moves by at most 5 points. The seed acts through the tool order: sorting the tool list instead of reverse-sorting it raises the ASR by up to 19 points, because ASB's naming convention places attacker tools first. When the same evidence is reordered, six of seven LLM judges change their decision on 17-91% of 98 proposed actions. Across eighteen agent-defense combinations, TARE's worst-case test attributes effects to two of three defenses, one of them in opposite directions on two agents, and a test fixed in advance confirms a 4.8-point decrease from the third; in the attributed decreases, 35-69% of the stopped attacks end without any tool call, which ASB counts as a failed attack. Reproducible verdicts are thus not necessarily attributable, and security evaluations of LLM agents should report the influence of content-free state. We release TARE, the ASB patch, and all verdict tables.
Figures & tables
| State | Where it enters | Set by | TARE |
|---|---|---|---|
| Hash seed | iteration order of sets (ASB’s merge of the attacker tool) | interpreter or evaluator | keyed order; pin and record |
| Ordering rule | sorting of tool lists | harness author | keyed order, averaged over keys |
| Evidence order | member order of a gate’s evidence | the requester | keyed presentations that must agree |
| Serving instance | kernels, batching, tensor-parallel layout | platform | same-state rerun (the floor) |
| Failure mapping | verdict for errors and rejected requests | scorer | third verdict |
| Disjoint keys | Matched keys | |||||
| Defense and agent | effect | margin | attributed | effect | ||
| Instructional prevention | ||||||
| Llama-3.1-8B | 12.6 | yes | 0.013 | 0.047 | ||
| Qwen3.5-9B | 3.2 | yes | 0.013 | 0.047 | ||
| Mistral-Nemo-12B | 4.9 | yes | 0.013 | 0.047 | ||
| Sandwich | ||||||
| What is measured | Current practice | TARE |
|---|---|---|
| ASB, seven open-weight agents | ||
| Verdicts changed by the hash seed, of 400 | 7–59 (ASB’s set order) | 0 for every agent (keyed order) |
| ASR variance of null runs, vs. prediction | 1.7 times (global hash seed) | 0.9 times (per-case keys) |
| Planted 3- and 2-point effects, Llama-3.1-8B | 29.5%, 12.8% (McNemar, one run per arm) | 100%, 74.5% (randomization, 6 keys per arm) |
| Sandwich defense, Llama-3.1-8B (ASR points) | or , by seed | , (8 fresh matched keys) |
| Runs with every request rejected, two agents | ASR 0%: secure (two verdicts) | not measured (third verdict) |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Part | Guarantee | Assumptions and scope |
|---|---|---|
| Influence | lower bound on the largest influence of the state | none; covers only the values of the state that were tried |
| Margin test | an attributed effect keeps its sign at every state that moves at most as many verdicts as the measured change, in any direction | arms differ in nothing but the system and the varied state; no guarantee for states that move more verdicts |
| Randomization test | false detection at most | null: the defense changes nothing; independent random keys (per run, or per pair if matched); runs executed alike on one deterministic instance or interchangeable ones |
| Variance (Prop. 2 ) | noise of an averaged ASR | independent keys and independently varying cases; checked empirically |
| Keyed order | DNI for the hash seed and the arrival order | the keyed collection is the only place where they reach the model |
| Stripped gate (Prop. 3 ) | decision independent of the submitted order | deterministic judge; abstains |
| Verdicts changed (%) | ASR range | |||
|---|---|---|---|---|
| Agent | Seeds | two seeds | all seeds | (points) |
| Llama-3.1-8B | 5 | 14.2 (12.0–17.0) | 27.2 | 5.0 |
| Llama-3.1-70B ∗ | 3 | 0 4.0 (3.5–4.2) | 0 6.0 | 1.8 |
| Qwen3-8B | 4 | 0 2.3 (1.8–2.8) | 0 4.2 | 1.5 |
| Qwen3.5-9B | 6 | 0 2.5 (1.5–3.2) | 0 5.8 | 1.5 |
| Qwen3-32B | 4 | 0 9.5 (8.0–10.5) | 16.8 | 1.8 |
| Run | cases | inconcl. | ASB | TARE |
|---|---|---|---|---|
| K2-Horizon-375B API, 4 runs | 464 | 100% | 0.0% | not measured |
| Gemma-3-27B, unmodified client, 2 runs | 800 | 100% | 0.0% | not measured |
| Qwen3.5-9B, unmodified client, 2 runs | 800 | 100% | 0.0% | not measured |
| Mistral-Nemo-12B + delimiters, seed 0 | 400 | 17.8% | 30.0% | 36.5% |
| Gemini 4 Argon API, seed 0 ∗ | 400 | 4.0% | 18.0% | 18.8% |
| Agent | sorted | reverse | diff. | set | only s./r. | Holm | scen. |
|---|---|---|---|---|---|---|---|
| Llama-3.1-8B | 48.2 | 29.5 | 36.2 | 84 / 9 | 9 / 1 | ||
| Llama-3.1-70B | 25.2 | 18.8 | 22.0 | 28 / 2 | 8 / 0 | ||
| Mistral-Nemo-12B | 35.7 | 29.1 | 30.6 | 33 / 7 | 6 / 2 | ||
| Qwen3-8B | 9.0 | 11.0 | 9.8 | 3 / 11 | 0.2 | 0 / 5 | |
| Qwen3.5-9B | 20.5 | 21.2 | 19.8 | 8 / 11 | 0.8 | 4 / 5 | |
| Qwen3-32B | 62.8 | 60.2 | 58.2 | 36 / 26 | 0.8 | 6 / 2 |
| Judge | split | ALLOW /ASK | ALLOW /BLOCK | floor | canon. maj. | ALLOW |
|---|---|---|---|---|---|---|
| Gemini 3.8 Flash | 7 (7%) | 0 | 7 | 1/98 | 2/98 | 2/6 |
| Qwen3.8-27B | 17 (17%) | 0 | 17 | 0/98 | 3/97 | 4/5 |
| K2-Horizon-375B | 25 (26%) | 0 | 25 | 4/97 | 6/96 | 6/8 |
| Gemma-3-27B | 64 (65%) | 59 | 5 | 0/98 | 18/92 | 34/41 |
| Qwen3.5-9B | 87 (89%) | 3 | 70 | 2/98 | 14/86 | 55/77 |
| Llama-3.1-8B | 88 (90%) | 72 | 11 | 0/98 ∗ | 23/90 | 44/51 |
| Agent | Defense | effect | margin | attr. | no call | task |
|---|---|---|---|---|---|---|
| Mistral-Nemo-12B | instr. | 26.2/ 25.1 | 6.2 | yes | 69% | 2.3 2.3 |
| sandwich | 0.3/ 0.3 | 9.6 | no | 0% | 2.3 6.8 | |
| delim. | 5.3/ 5.6 | 9.7 | no ∘ | 0% | 0.9 16.2 | |
| Qwen3.5-9B | instr. | 10.0/ 8.5 | 5.0 | yes | 54% | 33.5 18.0 |
| sandwich | 0.8/ 0.5 | 6.8 | no | 0% | 33.5 36.0 | |
| delim. † | 8.2/ 8.5 | 5.2 | yes | 58% | 33.5 14.8 |
| Llama-3.1-8B | Nemo-12B | Qwen3.5-9B | |
| ASB set order, seed 0 vs. 1 | 59 | 19 | 11 |
| same key, seed 0 vs. 1 | 0 | 0 | 0 |
| same key, other instance or node | 0, 0 | – | 0 |
| same key, other node, 4 days later | 0 | 0 | 0 |
| influence between keys | 13.6% | 5.1% | 2.8% |
| between hash seeds | 14.2% | 5.1% | 2.5% |
| Agent ( ) | Test | 0 | 1 | 2 | 3 | 5 | 10 |
|---|---|---|---|---|---|---|---|
| Llama-3.1-8B (4) | randomization | 2.1 | 10.0 | 27.6 | 65.0 | 100 | 100 |
| McNemar, one run | 0.0 | 4.6 | 14.8 | 30.6 | 68.9 | 100 | |
| margin test | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | |
| Llama-3.1-8B (6) | randomization | 4.5 | 21.2 | 74.5 | 100 | 100 | 100 |
| McNemar, one run | 0.0 | 4.8 | 12.8 | 29.5 | 69.2 | 100 | |
| margin test | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| Llama-3.1-8B | Qwen3.5-9B | Nemo-12B | fixed in advance | ||||||
| Key | instr. | sand. | instr. | sand. | instr. | sand. | Key | Llama | Qwen |
| 0 | 12 | ||||||||
| 1 | 13 | ||||||||
| 2 | 14 | ||||||||
| 3 | 15 | ||||||||
| 4 | 16 | ||||||||
| , | , | , | ||
|---|---|---|---|---|
| Judge | conflict | confl./abst. | confl./abst. | confl./abst. |
| Gemini 3.8 Flash | 3% | 2% / 0% | 0% / 5% | n/a |
| Qwen3.8-27B | 7% | 5% / 0% | 0% / 10% | 0% / 13% |
| K2-Horizon-375B | 8% | 4% / 1% | 0% / 11% | n/a |
| Gemma-3-27B | 26% | 17% / 1% | 1% / 38% | 0% / 51% |
| Qwen3.5-9B | 47% | 28% / 10% | 1% / 65% | 0% / 80% |
LLM Agent Evaluation
Large language model agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently.
See all 1,334 papers