← Lab /AI/ML

Checkpoint/rollback lets AI agents resume insecure states, enabling attacks

Existing agent checkpoint and rollback mechanisms can be exploited to resume executions with inconsistent state, leading to security breaches

AI/ML arXiv 29 Aug 2026 Attack Prototype evidence Threat model

Published as “Safe to Resume? Breaking Execution Continuity of Agent Execution via Rollback”

Why it matters

Agents that rely on rollback may unintentionally bypass security checks, enabling malware release, unauthorized actions, or duplicate payments.

Summary

Rollback can break execution continuity, causing security failures in the majority of agent runs: SF1 and SF4 appear in 67.2% and 67.7% of executions respectively. The authors evaluated 1,735 framework-task executions across five representative C/R systems using TerminalBench and AgentBench and found that failures are common but differ by checkpoint scope, with E2B showing no SF1 or SF2. The evidence is strong, based on a trace-based detection pipeline that achieved 98.7% precision, 99.9% recall, and 99.5% accuracy. The paper’s limitations note that the study only addresses security violations introduced by checkpoint and rollback, not all possible agent security failures.

What they found 3

  1. SF1 and SF4 are the most prevalent failures, occurring in 67.2% and 67.7% of executions respectively.

    “SF1 and SF4 occur in 67.2% and 67.7% of executions, respectively.”

  2. E2B shows no SF1 or SF2 because its system-level snapshots capture sandbox filesystem and memory.

    “E2B provides the strongest internal-state coverage. We observe no SF1 or SF2 in E2B because its system-level snapshots jointly capture sandbox filesystem and memory, providing stronger completeness and consistency within the sandbox.”

  3. The detection pipeline achieves high accuracy: 98.7% precision, 99.9% recall, and 99.5% accuracy.

    “Our framework achieves 98.7% precision, 99.9% recall, and 99.5% accuracy (Appendix B).”

Caveats 3

  • SF5 is comparatively rare. SF5 occurs in only 2.3% of executions, mainly due to the evaluated task distribution.
  • Our study focuses on security violations introduced by checkpoint and rollback recovery. The five failure modes characterize recurring ways in which recovery can break execution continuity under our model; they are not intended to cover all security failures in agent systems.
  • Our testing methodology is therefore intended to expose and validate recovery violations rather than certify the security of an agent system.

What’s new here 4

  • Systematic cross-system security analysis of checkpoint and rollback in agent frameworks.
  • Identification of five concrete failure modes that break execution continuity.
  • Demonstration of three end-to-end attacks on real agents (Hermes, Cline, LangGraph).
  • Trace-based methodology to automatically detect and validate recovery failures across multiple benchmarks.

Threat model stated by the source

Adversaryaims to exploit C/R to violate execution continuity, causing the agent either to resume from an invalid recovered state or to perform an invalid recovery transition
Capabilityknows the task or workflow and the system’s publicly documented C/R behavior; can influence agent tools, MCP servers, and external services