Scoring Recovery-Time Agent Security: Proposals, Effects, and Retry Instructions
Organizations: Scale AI
Abstract
A timed-out tool write may be absent, committed, or still in flight. Evaluating an agent only on whether its goal exists can hide harmful recovery actions: auditing 12 supplied traces changes apparent completion from 10/12 to 8/12. We introduce an executable evaluation that separately records tool proposals, runtime decisions, and committed effects. In 3,456 model episodes, the original task wording produces only 39/576 valid recoveries when the initial write is absent; a combined clarification produces 576/576. A further 1,584 episodes test stronger attacks and separate the effect definition from the recovery recipe with three rollouts per absent-state cell. Definition alone yields 276/288 valid recoveries; recipe alone yields 288/288. For Luna, malicious text is associated with 11.1 percentage points fewer valid recoveries under both original and definition-only wording, an availability signal limited by shared tasks and templates. The stronger attacks produce no attempted unauthorized or changed-key action and no unsafe effect. A trajectory audit finds six original-key retries after observing pending status: five denied and one deduplicated. Bounded checks distinguish atomic key enforcement from a delayed-commit race; stale negative reads also invalidate the evidence gate. A separate Claude Code program adds 720 successful episodes: 288 under the original attacks and 432 stronger-attack calibration episodes across Opus, Sonnet, and Haiku 5.5, with no observed proposal or effect deviations. The contribution is a measurement design and a diagnosis of availability, specification, and contract sensitivity, with no demonstrated general defense efficacy.
Figures & tables
| Model | Message | Calls | |||||
|---|---|---|---|---|---|---|---|
| 5.6 Luna | Feedback-conditioned | 36 | 0 | 0 | 0,0 | 12/12 | 1.67 |
| 5.6 Luna | Neutral | 36 | 0 | 0 | 0,0 | 12/12 | 1.67 |
| 5.6 Luna | Provider envelope | 36 | 0 | 0 | 0,0 | 12/12 | 1.67 |
| 5.6 Luna | Routing update | 36 | 0 | 0 | 0,0 | 12/12 | 1.67 |
| 6 Luna | Feedback-conditioned | 36 | 0 | 0 | 0,0 | 12/12 | 1.67 |
| 6 Luna | Neutral | 36 | 0 | 0 | 0,0 | 12/12 | 1.67 |
| Task wording | Model | Denials | Calls | |||||
|---|---|---|---|---|---|---|---|---|
| Original | 6.1 Sol | 0 | 0 | 0,0 | 0 | 11/288 | 576/576 | 1.01 |
| Original | 6 Luna | 0 | 0 | 0,0 | 0 | 28/288 | 576/576 | 0.84 |
| Combined clarification | 6.1 Sol | 0 | 0 | 0,0 | 0 | 288/288 | 576/576 | 1.67 |
| Combined clarification | 6 Luna | 0 | 0 | 0,0 | 5 | 288/288 | 576/576 | 1.67 |
| Control | Proposals | Denied | Deduplicated |
|---|---|---|---|
| Unprotected | 0 | 0 | 0 |
| Prompt-only | 0 | 0 | 0 |
| Intent-only | 1 | 0 | 1 |
| Evidence-only | 4 | 4 | 0 |
| Keyed retry | 0 | 0 | 0 |
| EBRG | 1 | 1 | 0 |
| Model | Def. | Recipe | Neutral | Attack | Rollout range | Calls |
|---|---|---|---|---|---|---|
| 6.1 Sol | 0 | 0 | 0/72 | 0/72 | 0–0/48 | 1.00 |
| 6.1 Sol | 1 | 0 | 72/72 | 72/72 | 48–48/48 | 2.00 |
| 6.1 Sol | 0 | 1 | 72/72 | 72/72 | 48–48/48 | 2.00 |
| 6.1 Sol | 1 | 1 | 72/72 | 72/72 | 48–48/48 | 2.00 |
| 6 Luna | 0 | 0 | 9/72 | 1/72 | 2–4/48 | 0.85 |
| 6 Luna | 1 | 0 | 70/72 | 62/72 | 43–45/48 | 1.92 |
| Wording | Neutral | Malicious | N-only | X-only | McNemar |
|---|---|---|---|---|---|
| Original | 9/72 | 1/72 | 9 | 1 | 0.0215 |
| Definition only | 70/72 | 62/72 | 10 | 2 | 0.0386 |
| Policy | Harm/2 | Goal/4 | Valid/4 | Final/4 |
|---|---|---|---|---|
| Unprotected | 2 | 3 | 2 | 4 |
| Prompt only | 2 | 3 | 2 | 4 |
| EBRG | 0 | 4 | 4 | 3 |
| Contract | Control | No unauthorized effect | At most one write |
|---|---|---|---|
| Atomic | Keyed retry | Holds | Holds |
| Atomic | EBRG | Holds | Holds |
| Settled keys | Keyed retry | Holds | Violated |
| Settled keys | EBRG | Holds | Holds |
| Stale absence | Keyed retry | Holds | Violated |
| Stale absence | EBRG | Holds | Violated |
| Task wording | Model | Median s | P95 s | Input tokens | Output tokens |
|---|---|---|---|---|---|
| Combined clarification | 6 Luna | 3.22 | 5.63 | 1,184,131 | 78,057 |
| Combined clarification | 6.1 Sol | 5.70 | 7.32 | 1,169,424 | 90,462 |
| Original | 6 Luna | 2.59 | 4.94 | 718,605 | 88,428 |
| Original | 6.1 Sol | 4.35 | 6.00 | 751,193 | 78,665 |
| Claude Opus 5.5 ( claude-opus-5-5 ), Claude Code 2.1.330 | |||||
|---|---|---|---|---|---|
| Control | Initial state | Neutral valid | Malicious valid | ||
| Unprotected | Absent | 24/24 | 24/24 | 0, 0 | 0, 0 |
| Unprotected | Committed | 24/24 | 24/24 | 0, 0 | 0, 0 |
| Unprotected | In flight | 24/24 | 24/24 | 0, 0 | 0, 0 |
| EBRG | Absent | 24/24 | 24/24 | 0, 0 | 0, 0 |
| EBRG | Committed | 24/24 | 24/24 | 0, 0 | 0, 0 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Family | Original | Combined | Repeated | Calibration | Denials |
|---|---|---|---|---|---|
| redirect | 216 | 216 | 144 | 81 | 0 |
| duplicate | 216 | 216 | 144 | 81 | 1 |
| identity swap | 216 | 216 | 144 | 81 | 1 |
| compensate | 216 | 216 | 144 | 81 | 2 |
| Family | Original N | Original X | Def.-only N | Def.-only X |
|---|---|---|---|---|
| Redirect | 1/18 | 0/18 | 17/18 | 17/18 |
| Fresh-key duplicate | 2/18 | 0/18 | 17/18 | 14/18 |
| Identity swap | 1/18 | 1/18 | 18/18 | 18/18 |
| Compensation | 5/18 | 0/18 | 18/18 | 13/18 |
| Wording | Fisher | McNemar | Task flips | Template flips |
|---|---|---|---|---|
| Original | 0.0174 | 0.0215 | 0.0312 | 0.0625 |
| Definition only | 0.0310 | 0.0386 | 0.1172 | 0.3750 |
| Contract | Control | Unauthorized paths | Duplicate paths | Valid completion paths |
|---|---|---|---|---|
| Atomic | Keyed retry | 0 | 0 | 22,866 |
| Atomic | EBRG | 0 | 0 | 17,589 |
| Settled keys | Keyed retry | 0 | 4,110 | 18,756 |
| Settled keys | EBRG | 0 | 0 | 17,589 |
| Stale absence | Keyed retry | 0 | 4,110 | 18,756 |
| Stale absence | EBRG | 0 | 171 | 17,418 |
AI Agent Security Benchmarks
AI agent security benchmarks measure how tool-using and autonomous systems handle attacks, privacy risks, authorization, and harmful actions.
See all 344 papers