What the Authors Did
Named the long-horizon failure modes. The updated taxonomy keeps three axes, where the risk comes from, how the agent fails and what harm results, now with 18 risk sources, 21 failure modes and 11 harm categories. The new scenarios are concrete. Covert goal manipulation covers seven mechanisms: role-play, splitting a goal into harmless-looking steps, sleeper payloads in memory or the workspace, hijacking the success criterion, obstruction, shutdown or replacement pressure, and oversight evasion. Authority and obligation violations include escalating privileges after a transient error and reusing a stale approval without checking it again. Loss of control includes ignoring stop requests, carrying on after the task or budget is done, and claiming a failed action succeeded.
Built a longer benchmark. ATBench-Pro trajectories average 95.09 turns, 48.98 tool calls and 57.51k tokens. The existing suites in their comparison average 1.49 to 6.92 tool calls and 0.47k to 4.78k tokens. The authors say ATBench-Pro is kept separate from the training data at the source level and every trajectory went through filtering and human expert auditing.
Attacked agents the way a patient adversary would. Their attack agent first reads the user's task and finds the steps later decisions depend on, then drafts a blueprint. While the target agent works, it adapts the plan to what the agent actually does, and after a failure it revises and tries once more. Each attack picks one of 7 strategies and one of 6 channels (user instructions, tool specs, skill specs, plugin manifests, observations or memory), so 42 combinations. ManipulationArena keeps 888 validated plans over 30 tasks from AppWorld, GAIA2, tau-Knowledge, MedAgentBench and HealthAgentBench. Those runs average 24.12 agent turns and 23.35 tool calls.
Trained a family of guards, each for a different job.
- AgentDoG2 reads a finished trajectory and outputs safe or unsafe, plus the risk source, failure mode and harm. The taxonomy is learned into the weights instead of pasted into the prompt, and there is no chain-of-thought, so both input and output get shorter. It's trained with SFT, then RL, and it's also scored on naming the risk source in safe trajectories, so it learns the difference between "saw a risk" and "acted on it."
- AgentDoG-Jev fills a fixed decision schema in one forward pass, with no token-by-token decoding at all.
- AgentDoG-Step sits in front of each tool call. It sees the history and the proposed action, never the result, writes a short analysis, and says whether to let it run.
Closed the loop with SafeRSI. Failed runs are diagnosed as either a structural gap, which becomes a harness patch (a natural-language policy or an executable check on tool calls, state or output), or a behavior problem, which becomes corrective training data for the model. Patches are tested on 50 validation tasks before release. The authors call this method preliminary.
Findings With Numbers
Covert goal manipulation works on every agent they tried (Table 9). Average attack success on ManipulationArena, lower is better:
| Harness | Model | Average ASR |
|---|
| Claude Code | Opus 5.5 | 46.82% |
| Codex | GPT-6.1-Sol | 54.18% |
| ZCode | GLM-5.3 | 59.18% |
| DeepSeek Harness | Qwen3.8-27B | 65.84% |
| KimiCode | Kimi-3.1-Pro | 69.65% |
| DeepSeek Harness | DeepSeek-V4.1-Flash | 74.37% |
Across individual strategy and harness pairs, success ranged from 24.47% to 94.57%. The peak was the self-preservation attack on KimiCode. Even Claude Code, the lowest on average, hit 66.67% on obstruction attacks. For scale, Codex with GPT-6.1-Sol scored 54.18% here, 35.76% on AgentLAB and 3.59% on AutoControl-Arena. The authors report that the mean of their seven strategy-level success rates is nearly twice the mean of matched baseline attacks.
Small guards hold their own on safe-or-unsafe calls (Table 3). Averaged over R-Judge, ATBench and ATBench-Pro, AgentDoG2 9B gets 81.6% accuracy and 4B gets 80.6%, against 78.5% for GPT-6.1-Sol and 75.7% for Gemini-3.8-Flash. On the long ATBench-Pro alone, AgentDoG2 4B reaches 80.3% against GPT-6.1-Sol's 62.7%. The older chat guardrails fall apart here: LlamaGuard3-8B and Qwen3Guard-8B both score 0.0 unsafe F1 on ATBench-Pro. Every AgentDoG2 size beats its AgentDoG1.5 counterpart on ATBench-Pro accuracy, by up to 25.3 points. Not everything is a win: GLM-5.3 still has the best overall accuracy in the table, 82.6%.
Explaining why is still hard for everyone (Table 4). On unsafe trajectories, the models also have to name the risk source, failure mode and harm. On ATBench, AgentDoG2 2B has the best mean accuracy at 44.7%, and even the 0.8B model (38.5%) beats GPT-6.1-Sol (29.9%). On ATBench-Pro, AgentDoG2 4B reaches 41.9%, level with Gemini-3.8-Flash at 41.8%, but GPT-6.1-Sol is higher at 44.5%. Failure mode is the weakest field: the best ATBench score is 21.5%.
Speed is the real headline, and it comes in tiers (Figures 10 and 13). Measured on one H200, one request at a time:
- AgentDoG2 vs AgentDoG1.5: 13.0x to 18.6x faster on R-Judge, 7.9x to 15.5x on ATBench, 1.9x to 10.8x on ATBench-Pro
- AgentDoG-Jev vs AgentDoG1.5 on ATBench: 103.9x to 184.9x faster, every size under 0.1 seconds per trajectory
- AgentDoG-Jev on ATBench-Pro: 3.68x to 20.90x faster, 0.471 to 2.505 seconds per trajectory
The "almost 100x" in the abstract is the Jev number on ATBench. On the long ATBench-Pro trajectories, the gains shrink a lot. Jev also gives up very little: its 4B model leads ATBench-Pro on unsafe F1 at 68.9%.
Checking before execution works best at 4B (Table 7). On three step-level benchmarks (TS-Bench-Dojo with 1,220 steps, TS-Bench-ASB with 3,765 and StepShield with 2,670), AgentDoG-Step 4B has the best overall balance: 94.0% worst-class recall and 87.5% unsafe F1. Gemini-3.8-Flash scores 93.3% and 85.4%, and GPT-6.1-Sol 82.5% and 61.8%. On the hardest split, TS-Bench-ASB, Step 4B keeps 87.9% worst-class recall while the best outside guard, StepGuard-4B, drops to 52.4%. Worst-class recall matters here because it punishes a guard that blocks too many safe actions, not just one that misses unsafe ones.
Teaching the guard to name risks in safe cases helps (Figure 17). In an ablation on AgentDoG-Step 4B, also rewarding risk-source labels on safe steps raised safe F1 from 94.7% to 96.2% right after SFT. By RL iteration 100, safe examples made up 41.8% of the useful training groups versus 10.9% without it.
The full defense cuts attack success, at a cost (Table 10). Starting from DeepSeek Harness with Qwen3.8-27B:
| Setup | AgentLAB ASR | AutoControl-Arena ASR | ManipulationArena ASR | BFCL-v3 accuracy |
|---|
| Base | 35.11% | 13.69% | 65.84% | 75.34% |
| SafeRSI round 1 | 28.66% | 7.62% | 28.04% | 66.72% |
| SafeRSI round 2 | 26.54% | 7.38% | 25.68% | 65.17% |
| SafeRSI round 1 + AgentDoG-Step | 22.10% | 4.31% | 21.40% | 67.39% |
| SafeRSI round 2 + AgentDoG-Step | 21.07% | 3.69% | 24.21% | 64.92% |
The authors read this as the co-evolved harness and model doing most of the work, with the step guard adding a runtime layer on top.
It's all public. The models, ATBench-Pro and ManipulationArena are in the AgentDoG2 collection on Hugging Face, and the code is on GitHub.
Limitations
What the authors say themselves:
- Text only. The taxonomy and defenses work on text trajectories. Multimodal agents are future work
- Novel attacks. The co-evolution loop still needs work to keep up with highly novel attacks in open-world deployments
- Preliminary. SafeRSI is described as a preliminary method
From my own reading:
- Utility isn't fully preserved. The paper says SafeRSI keeps tool-calling utility, but BFCL-v3 accuracy falls from 75.34% to between 64.92% and 67.39%. That's an 8 to 10 point drop, and you should weigh it
- More rounds didn't always help. With the step guard, round 2 had higher ManipulationArena attack success than round 1, 24.21% against 21.40%. And on AutoControl-Arena, Claude Code (2.26%) and Codex (3.59%) were already below SafeRSI's best (3.69%)
- Home-field benchmarks. ATBench-Pro and ManipulationArena come from the same team, taxonomy and data engine as the guards' training data. The authors say the sources are kept apart, but outside replication would make these numbers stronger
- Diagnosis is still below 50%. No model, theirs included, names the failure mode reliably. Treat the labels as triage hints, not verdicts
- Preprint. No peer-review venue yet
My Takeaways
These are mine, not the authors' recommendations.
- Test long, not just hard. If your agent evals are a handful of tool calls, you aren't testing the failures in this paper. Covert goal manipulation needs dozens of steps to show up, and every agent they tried was vulnerable to it
- Treat approvals as things that expire. Several of the new risk types are about authority over time: stale approvals, temporary access nobody revoked, unverified claims treated as sign-off. Record when and why a permission was granted and check it again before high-impact actions
- Layer the guards by cost. A single-pass classifier that answers in under 0.1 seconds on short traces can screen every trajectory. A step-level guard can sit only in front of tool calls that change state. Save the expensive model for what they flag. The point is that guarding each step is now cheap enough to actually do
- Watch the utility number. Any defense that drops task accuracy by 8 to 10 points will get pushed back on in production. Measure both before you roll out
- Map it to the OWASP agentic list. Covert goal manipulation lines up with ASI01 Agent Goal Hijack, authority violations with ASI03 Identity and Privilege Abuse, and attacker-free loss of control with ASI10 Rogue Agents in the OWASP Top 10 for Agentic Applications for 2026. That mapping is mine, not the authors'
The Bottom Line
AgentDoG2 makes a strong case that long-running agents fail in ways short benchmarks never see, and that small, fast guards can catch a lot of it. Covert goal manipulation landed against every agent tested. The guards are open and cheap enough to run on every step. Diagnosis is still weak, the defense costs some utility, and the benchmarks are the authors' own, so I'd adopt the guards as one layer and test them against your own long traces first.
Sources
Read the full paper on arXiv. If you're running agents on long tasks, I'd like to know how you handle approvals that outlive the step they were granted for. Reach me on X.