← Lab /AI/ML

Carryover attacks persist across sessions, re-firing without decay

Planted prompt injections can re-fire across multiple LLM agent sessions without measurable decay

AI/ML arXiv 20 Oct 2026 Benchmark Prototype evidence Threat model

Published as “After the Attacker Leaves: Benchmarking Carryover Attacks on LLM Agents”

Why it matters

Stateful LLM agents need runtime-level defenses (e.g., sandboxing, egress allowlists, persistent-state quarantine) because textual mitigations alone cannot stop re-execution of planted malicious instructions.

Summary

Carryover payloads persist across sessions with little to no decay, and once planted the trigger stage offers little additional protection. Across five frontier LLM models, planted instructions re-fire in every follow-up round, yielding near-certain trigger rates after a successful plant. The study shows that text-only defenses mainly reduce planting success, while runtime-level controls are needed to close the trigger gate. The benchmark covers 12 personal-assistant scenarios and 101 attack tasks, evaluated over five trigger rounds per model.

What they found 2

  1. Planted payloads re-fire without measurable decay over multiple sessions.

    “Across five frontier models, planted payloads re-fire without measurable decay over five rounds”

  2. Conditional trigger probability is near 100% after a successful plant for most models.

    “Pr(trig | plant) ≈1 on all 5 models”

Caveats 6

  • GLM-5 is the lone exception, its Pr(Trig | Plant) is lower than the other 4 models.
  • The trigger gate is effectively open, but GLM-5 never audits MEMORY.md at trigger time-it never reads the planted entry or calls it suspicious.
  • The verifier matches tool-call arguments to role-field markers from a per-task alias registry of finite size, with strictness set by attack class.
  • A sensitive value reproduced in a message body, or an exfiltration target rewritten into a form our aliases do not cover, will be missed even when the underlying attack has succeeded.
  • Our N=5 Latent trigger rounds replay an identical, domain-natural follow-up rather than a sequence of varied next-day user requests.
  • Gemini-3.1-Pro is run in its default reasoning mode. Our runtime ablation study (§5.3) covers the other four models in their non-reasoning configurations, excluding Gemini-3.1-Pro.

What’s new here 4

  • Introduces CarryoverBench, a stage-conditioned benchmark that separates planting and triggering phases of cross-session prompt-injection attacks.
  • Measures attack success over multiple future sessions (N=5) rather than a single turn.
  • Evaluates three textual defenses (D1-D3) and a runtime swap (Hermes) to assess mitigation at both model and system layers.
  • Provides a rule-based verifier for reproducible utility and ASR measurement across diverse LLM agents.

Threat model stated by the source

Adversaryblack-box third party that injects content into resources the agent reads (webpages, emails, documents, tool return values)
Capabilitycan supply malicious content via indirect prompt injection but cannot modify the runtime, cannot read or write MEMORY.md or HEARTBEAT.md directly, and cannot bypass OS access control
AssumesThe agent’s runtime enforces OS-level file permissions; The attacker exits after injection and has no persistent presence