← Lab /AI/ML

Trajectory-scoped monitors fail to detect attacks that span multiple iterations

Single-trajectory safety monitors have equal true-positive and false-positive rates against cross-iteration attacks

AI/ML arXiv 27 Aug 2026 Defense Prototype evidence

Published as “Safety Does Not Compose: Non-Decaying Loop State for Autonomous LLM Agents”

Why it matters

LoopHarness can be added to existing autonomous LLM agents to dramatically lower the risk of unauthorized irreversible actions with minimal impact on task success.

Summary

LoopHarness, a persistent non-decaying safety layer for autonomous LLM loops, cuts overall attack-success rate to 0.1% (down from 88-97% for baselines) while keeping clean task completion at 96.9%. The paper proves that any monitor limited to a single trajectory cannot detect attacks whose evidence is split across iterations, and shows that a geometrically decaying risk score also fails. Evidence comes from a full evaluation on Agent-SafetyBench with 1,000 episodes per configuration.

What they found 2

  1. LoopHarness reduces overall attack-success rate to 0.1% while maintaining high clean completion.

    “B4 reduced overall ASR to 0.1%, compared with 88.4-97.6% for B0-B3, while retaining 96.9% CleanGC.”

  2. LoopHarness eliminates compounding attack success over longer horizons.

    “B4 remained at 0% and incurred no risk-charged commits.”

Caveats 6

  • When the governor component is removed, attack success stays at 0% but clean completion drops dramatically to 38.8%, showing a severe utility loss.
  • In the colluding verifier setting (A-collude), overall ASR remains low (0.1%) but clean completion falls to 92.9%, indicating a trade-off.
  • The evaluation feed is a scheduled queue rather than a contested one, which understates the admission problem IPM would face in deployment.
  • the feed is therefore a scheduled queue rather than a contested one, which understates the admission problem IPM would face in deployment.
  • multi-seed and multi-model replications are not included.
  • the evaluated latch has no authenticated clearance transition.

What’s new here 4

  • Introduces a loop-level defense that retains risk evidence across iterations, unlike prior per-trajectory safeguards.
  • Provides formal proofs that trajectory-scoped monitors cannot separate fragmented attacks and that decaying risk scores are insufficient.
  • Defines an evaluation protocol for outer-state attacks with paired clean and attacked episodes.
  • Demonstrates integration with any inner harness, requiring no model calls for its deterministic safety guarantee.