After the Attacker Leaves: Benchmarking Carryover Attacks on LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Modern LLM agents persist state across sessions via two channels: long-lived memory files silently prepended to the system prompt, and scheduled tasks waking the agent without user input. A one-time indirect prompt injection committed to either channel can re-fire across sessions long after the attacker leaves, threats we term carryover attacks. Existing prompt-injection benchmarks evaluate attacks only in the session where malicious content is first observed, leaving the gate governing when and how often a planted payload later re-fires unmeasured. We present CarryoverBench: 12 personal-assistant scenarios and 101 attack tasks across three trigger channels: Instant, same-turn IPI; Autonomous, heartbeat-scheduled; and Latent, memory-resurfaced. A rule-based verifier scores planting and triggering as independent stages. Across five frontier models, planted payloads re-fire without measurable decay over five rounds; conditional on successful planting, the trigger stage often provides little additional protection. Porting the Latent channel to a second runtime, Hermes, attenuates but does not eliminate the effect, suggesting that carryover defense requires runtime-layer controls in addition to prompt-level interventions.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 14 of its 21 references that are in the map. Submitted 20 Oct 2026.
Builds on
14 of 21 references.
Closest ancestors · 5
Same direction, newest first
- 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agents14 May
- 2026Your Agent, Their Asset: A Real-World Safety Analysis of OpenClaw6 Apr
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attacks18 Feb
- 2026Zombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections17 Feb
- 2025SHADE-Arena: Evaluating Sabotage and Monitoring in LLM Agents17 Jun
Other references · 9
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,374
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,718
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 319
- 2024ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stagescited by 89
- 2025SafeToolBench: Pioneering a Prospective Benchmark to Evaluating Tool Utilization Safety in LLMscited by 26
- 2026Sleeper Channels and Provenance Gates: Persistent Prompt Injection in Always-on Autonomous AI Agentscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026What If Prompt Injection Never Left? Rethinking Agent Security through Cross-Session Stored Prompt Injection
- 2026Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agents
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
- 2026MemHarmBench: Evaluating Cross-Session Prompt Injection in Memory-Persistent AI Agents
- 2026Towards a Unified Misuse Monitoring Benchmark
- 2026Transferable End-to-End Optimization for Indirect Long-Term Memory Poisoning in LLM Agents
- 2026Kill-Chain Canaries: Stage-Level Tracking of Prompt Injection Across Attack Surfaces and Model Safety Tiers
- 2026From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents