mlsanityData to 7 Oct 2026

Transferable End-to-End Optimization for Indirect Long-Term Memory Poisoning in LLM Agents

arXiv 2609.00523 ↗First posted 1 Sep 2026cs.CRcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Long-term memory can turn untrusted external content into persistent influence over an LLM agent's future decisions, creating the threat of indirect memory poisoning. A successful attack must survive a multi-stage pipeline comprising memory writing, retrieval, and utilization. Existing attacks largely rely on intra-stage optimization, optimizing individual stages in isolation while overlooking inter-stage coupling. Specifically, these stages impose different requirements on the same poisoning content, and each stage operates on the transformed output of its predecessor. Consequently, optimizing one stage may undermine the effectiveness of other stages, while upstream transformations may erase improvements intended for downstream stages. Indirect memory poisoning should therefore be viewed as an end-to-end optimization problem. Based on this insight, we present textscPipePoison, which collects fine-grained stage feedback from local shadow systems, uses chain-structured losses to identify and optimize the stage bottlenecking end-to-end success, and applies stability-calibrated stage and configuration weights to improve transferability. Across three agent frameworks and four memory mechanisms, textscPipePoison improves attack utilization rate by 19.1 percentage points. Even on fully unseen victim configurations, it outperforms the strongest baseline by 16 percentage points and remains effective under eight representative defenses.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 23 of its 52 references that are in the map. First posted on arXiv 1 Sep 2026.

Builds on

23 of 52 references.

Closest ancestors · 10

Same direction, newest first

  1. 2026Bad Memory: Evaluating Prompt Injection Risks from Memory in Agentic Systems16 Jul
  2. 2026When Agents Remember Too Much: Memory Poisoning Attacks on Large Language Model Agents6 Jul
  3. 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun
  4. 2026What If Prompt Injection Never Left? Rethinking Agent Security through Cross-Session Stored Prompt Injection3 Jun
  5. 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents3 Jun
  6. 2026MemMorph: Tool Hijacking in LLM Agents via Memory Poisoning24 May
  7. 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agents14 May
  8. 2026MemLineage: Lineage-Guided Enforcement for LLM Agent Memory14 May
  9. 2026Zombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections17 Feb
  10. 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memory29 Sep

Other references · 13

  1. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  2. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  3. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  4. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  5. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
  6. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
  7. 2023Detecting Language Model Attacks with Perplexitycited by 411
  8. 2024Agent Workflow Memorycited by 342
  9. 2023RET-LLM: Towards a General Read-Write Memory for Large Language Modelscited by 64
  10. 2025Beyond a Million Tokens: Benchmarking and Enhancing Long-Term Memory in LLMscited by 52
  11. 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
  12. 2026ER-MIA: Black-Box Adversarial Memory Injection Attacks on Long-Term Memory-Augmented Large Language Modelscited by 4
1 more
  1. 2026IFCMemoryBench: Evaluating Long-Term Memory of LLM-Based Agents in BIM Information Retrievalcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Understanding Stage-Wise Utility-Risk Trade-offs in LLM Agent Memory
  2. 2026The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents
  3. 2026Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agents
  4. 2026From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents
  5. 2026MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems
  6. 2026State Contamination in Memory-Augmented LLM Agents
  7. 2026Remembering More, Risking More: Longitudinal Safety Risks in Memory-Equipped LLM Agents
  8. 2026Salami Attack: Stealthy Collusive Memory Poisoning against OpenClaw