Researchers propose five categories of safety failures in agent checkpoint rollback and implement three attacks on Hermes, Cline, and LangGraphSafe to Resume? Breaking Execution Continuity of Agent Execution via Rollback
Translation in progress — untranslated text is omitted.
Researchers from Southern University of Science and Technology and City University of Hong Kong conducted a systematic security study of checkpoint and rollback (C/R) mechanisms in agent systems, proposing the concept of 'execution continuity' and pointing out that correct rollback does not equal safe recovery. They classify existing mechanisms into three categories by recovery boundary: framework state, workspace state, and OS/VM state, and identify five failure modes: incomplete internal state overwrite, inconsistent checkpoint state, mismatched external state, non-deterministic replay not bound, and external side effects not recorded. Based on these modes, the authors construct three end-to-end attacks on Hermes, Cline, and LangGraph, achieving malware verification bypass, unauthorized email forwarding, and repeated payment under a single approval, respectively, all without tampering with checkpoint content or breaking the rollback implementation. The evaluation covers 347 trajectories from TerminalBench and AgentBench, with 1,735 framework task executions across five frameworks; SF1 and SF4 occur at about 67.2% and 67.7%, respectively, while SF5 is only 2.3%.
- Long-horizon agents rely on checkpoint and rollback (C/R) to recover state, but correctly restoring checkpoint content does not guarantee execution safety. When rollback disconnects the agent state from the external world, runtime, or unrecovered processes, it leads to inconsistencies between safety decisions and dependent facts, introducing safety risks.
- Categorize existing C/R into three boundaries: framework state, workspace state, and OS/VM state; establish an execution model including multi-process and external world; extract 5 safety failure modes that break execution continuity, and develop an automated analysis pipeline composed of collection, analysis, checking, and verification agents.
- In 1735 executions on TerminalBench and AgentBench, SF1 and SF4 appear in 67.2% and 67.7% of executions respectively, while E2B has no SF1 or SF2; all 3 constructed end-to-end attacks and 30 malicious skill samples succeeded.
- The method aims to expose and verify failures rather than certify system security, and does not cover all security issues of agent systems; experiments target 5 frameworks and 2 benchmarks, use only DeepSeek-v4 as the backend model, and are mainly evaluated at a single recovery point.
The paper decomposes the security issues of resumed execution after rollback into five failure modes and provides three reproducible end-to-end attacks, suitable as a checklist for designing agent recovery mechanisms.