mlsanityData to 7 Oct 2026

ShadowMerge: A Novel Poisoning Attack on Graph-Based Agent Memory via Relation-Channel Conflicts

arXiv 2605.09033 ↗First posted 9 May 2026cs.CR cs.AIcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Graph-based agent memory is increasingly used in LLM agents to support structured long-term recall and multi-hop reasoning, but it also creates a new poisoning surface: an attacker can inject a crafted relation into graph memory so that it is later retrieved and influences agent behavior. Existing agent-memory poisoning attacks mainly target flat textual records and are ineffective in graph-based memory because malicious relations often fail to be extracted, merged into the target anchor neighborhood, or retrieved for the victim query. We present SHADOWMERGE, a poisoning attack against graph-based agent memory that exploits relation-channel conflicts. Its key insight is that a poisoned relation can share the same query-activated anchor and canonicalized relation channel as benign evidence while carrying a conflicting value. To realize this, we design AIR, a pipeline that converts the conflict into an ordinary interaction that can be extracted, merged, and retrieved by the graph-memory system. We evaluate SHADOWMERGE on Mem0 and three public real-world datasets: PubMedQA, WebShop, and ToolEmu. SHADOWMERGE achieves 93.8% average attack success rate, improving the best baseline by 50.3 absolute points, while having negligible impact on unrelated benign tasks. Mechanism studies show that SHADOWMERGE overcomes the three key limitations of existing agent-memory poisoning attacks, and defense analysis shows that representative input-side defenses are insufficient to mitigate it. We have responsibly disclosed our findings to affected graph-memory vendors and open sourced SHADOWMERGE.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 36 of its 56 references that are in the map. First posted on arXiv 9 May 2026.

Builds on

36 of 56 references.

References · 36

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  4. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  5. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  6. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
  7. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
  8. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  9. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
  10. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
  11. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 514
  12. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
24 more
  1. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 402
  2. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
  3. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 251
  4. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
  5. 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 217
  6. 2023Augmenting Language Models with Long-Term Memorycited by 186
  7. 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
  8. 2024Certifiably Robust RAG against Retrieval Corruptioncited by 144
  9. 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 127
  10. 2024MemoRAG: Boosting Long Context Processing with Global Memory-Enhanced Retrieval Augmentationcited by 118
  11. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 84
  12. 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrievalcited by 65
  13. 2024RAGChecker: A Fine-grained Framework for Diagnosing Retrieval-Augmented Generationcited by 59
  14. 2026Zombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injectionscited by 44
  15. 2026Memory Poisoning Attack and Defense on Memory Based LLM-Agentscited by 40
  16. 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 36
  17. 2019Data Poisoning Attack against Knowledge Graph Embeddingcited by 34
  18. 2025GraphRAG under Firecited by 23
  19. 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
  20. 2024FATH: Authentication-based Test-time Defense against Indirect Prompt Injection Attackscited by 19
  21. 2026SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoningcited by 7
  22. 2025Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attackscited by 6
  23. 2026ER-MIA: Black-Box Adversarial Memory Injection Attacks on Long-Term Memory-Augmented Large Language Modelscited by 4
  24. 2025LightAgent: Production-level Open-source Agentic AI Frameworkcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems
  2. 2026MemVenom: Triggered Poisoning of Multimodal Memories in Web Agents
  3. 2026Oracle Poisoning: Corrupting Knowledge Graphs to Weaponise AI Agent Reasoning
  4. 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interaction
  5. 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents
  6. 2026MemAudit: Post-hoc Auditing of Poisoned Agent Memory via Causal Attribution and Structural Anomaly Detection
  7. 2026The Trap of Trajectory: Towards Understanding and Mitigating Spurious Correlations in Agentic Memory
  8. 2026Accurate and Efficient Long-Term Memory for LLM Agents