mlsanityData to 7 Oct 2026

MemMorph: Tool Hijacking in LLM Agents via Memory Poisoning

arXiv 2605.26154 ↗First posted 24 May 2026cs.CR cs.AIcited by 8

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

Abstract (arXiv)

LLM-driven agents are capable of selecting external tools to complete users' tasks. However, attackers could compromise such process, steering agents toward inappropriate/wrong tools and enabling malicious actions. Most existing attacks primarily manipulate the tool metadata, which is easily detectable by auditing and may lose effectiveness as modern agents increasingly adopt memory modules to refine tool selection policies through accumulated experience. This paper proposes MemMorph, the first attack that bias tool selection by poisoning the agent's long-term memory. Rather than explicitly dictating the tool invocation decision, MemMorph injects a small number of crafted records that are disguised as technical facts, incident reports, and operational policies. These poisoned records reshape the agent's contextual perception and decision-making process, leading it to autonomously infer and select the tool preferred by the attacker. Experiments across 3 benchmarks, 10 agent backbones, and 3 memory-module implementations show that MemMorph achieves up to 85.9% attack success rate with only three injected records, outperforming the strongest baseline by up to 25% while retaining potency under 3 representative defenses. Our findings expose long-term memory as a critical and under-explored attack surface in tool-augmented agents, urging the development of memory-level integrity safeguards.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 18 of its 26 references that are in the map. First posted on arXiv 24 May 2026.

Builds on

18 of 26 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commit9 Jan
  2. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
  3. 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction5 Mar
  4. 2024From Allies to Adversaries: Manipulating LLM Tool-Calling through Adversarial Injection13 Dec

Other references · 14

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  6. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  7. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  8. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  9. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  10. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  11. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  12. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
2 more
  1. 2023Detecting Language Model Attacks with Perplexitycited by 411
  2. 2022News Summarization and Evaluation in the Era of GPT-3cited by 324

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 8.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025MindGuard: Intrinsic Decision Inspection for Securing LLM Agents Against Metadata Poisoning
  2. 2026From Storage to Steering: Memory Control Flow Attacks on LLM Agents
  3. 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Management
  4. 2026Think Twice Before You Act: Protecting LLM Agents Against Tool Description Poisoning via Isolated Planning
  5. 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memory
  6. 2025ToolTweak: An Attack on Tool Selection in LLM-based Agents
  7. 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agents
  8. 2026Memory-Induced Tool-Drift in LLM Agents