Memory Injection Attacks on LLM Agents via Query-Only Interaction
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Agents powered by large language models (LLMs) have demonstrated strong capabilities in a wide range of complex, real-world applications. However, LLM agents with a compromised memory bank may easily produce harmful outputs when the past records retrieved for demonstration are malicious. In this paper, we propose a novel Memory INJection Attack, MINJA, without assuming that the attacker can directly modify the memory bank of the agent. The attacker injects malicious records into the memory bank by only interacting with the agent via queries and output observations. These malicious records are designed to elicit a sequence of malicious reasoning steps corresponding to a different target query during the agent's execution of the victim user's query. Specifically, we introduce a sequence of bridging steps to link victim queries to the malicious reasoning steps. During the memory injection, we propose an indication prompt that guides the agent to autonomously generate similar bridging steps, with a progressive shortening strategy that gradually removes the indication prompt, such that the malicious record will be easily retrieved when processing later victim queries. Our extensive experiments across diverse agents demonstrate the effectiveness of MINJA in compromising agent memory. With minimal requirements for execution, MINJA enables any user to influence agent memory, highlighting the risk.
Key facts. Cited by 127 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 28 of its 50 references that are in the map. First posted on arXiv 5 Mar 2025.
Builds on
28 of 50 references.
Closest ancestors · 1
Same direction, newest first
Other references · 27
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 547
15 more
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2023A Language Agent for Autonomous Drivingcited by 161
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2020Trojaning Language Models for Fun and Profitcited by 80
- 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
- 2024EHRAgent: Code Empowers Large Language Models for Few-shot Complex Tabular Reasoning on Electronic Health Recordscited by 75
- 2024Robust LLM safeguarding via refusal feature adversarial trainingcited by 60
- 2023Personalized Autonomous Driving with Large Language Models: Field Experimentscited by 46
- 2024On the Structural Memory of LLM Agentscited by 37
- 2024INMS: Memory Sharing for Large Language Model based Agentscited by 31
- 2023TrojText: Test-time Invisible Textual Trojan Insertioncited by 26
- 2024KoMA: Knowledge-driven Multi-agent Framework for Autonomous Driving with Large Language Modelscited by 16
- 2025Episodic memory in AI agents poses risks that should be studied and mitigatedcited by 11
Built on by
Citing papers per year: 2025: 13; 2026: 114.
127 papers.
Sort:
By area:
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 61
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 40
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attackscited by 31
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 29
- 2025LLM Agents Should Employ Security Principlescited by 28
- 2025Real AI Agents with Fake Memories: Fatal Context Manipulation Attacks on Web3 Agentscited by 23
- 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agentscited by 23
- 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agentscited by 22
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 21
- 2026Your Agent, Their Asset: A Real-World Safety Analysis of OpenClawcited by 19
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2026From Storage to Steering: Memory Control Flow Attacks on LLM Agentscited by 17
38 more
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2025SafeScientist: Toward Risk-Aware Scientific Discoveries by LLM Agentscited by 14
- 2026Ghost in the Agent: Redefining Information Flow Tracking for LLM Agentscited by 14
- 2026MemLineage: Lineage-Guided Enforcement for LLM Agent Memorycited by 14
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 14
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injectioncited by 13
- 2026Trojan Hippo: Weaponizing Agent Memory for Data Exfiltrationcited by 12
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 11
- 2025Context manipulation attacks : Web agents are susceptible to corrupted memorycited by 10
- 2025Agent Safety Alignment via Reinforcement Learningcited by 10
- 2025Topology Matters: Measuring Memory Leakage in Multi-Agent LLMscited by 9
- 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Frameworkcited by 9
- 2026OEP: Poisoning Self-Evolving LLM Agents via Locally Correct but Non-Transferable Experiencescited by 9
- 2026SOK: A Taxonomy of Attack Vectors and Defense Strategies for Agentic Supply Chain Runtimecited by 8
- 2026MemMorph: Tool Hijacking in LLM Agents via Memory Poisoningcited by 8
- 2026Forget to Improve: On-Device LLM-Agent Continual Learning via Budget-Curated Memorycited by 8
- 2026FlowSteer: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systemscited by 7
- 2026Poise: Position-Aware One-Instruction Skill Injection for Silent Execution on LLM Agentscited by 7
- 2025Takedown: How It's Done in Modern Coding Agent Exploitscited by 6
- 2026No Attacker Needed: Unintentional Cross-User Contamination in Shared-State LLM Agentscited by 6
- 2026When Does Belief-Based Agent Memory Help? Reliability-Conditional Updating and Provenance-Capped Poisoning Defensecited by 6
- 2026When Memory Becomes Authority: Benchmarking Authority Collapse at the Memory Consolidation Boundarycited by 6
- 2026Mind Your HEARTBEAT! Claw Background Execution Inherently Enables Silent Memory Pollutioncited by 5
- 2026Contextual Agentic Memory is a Memo, Not True Memorycited by 5
- 2026Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agentscited by 5
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
- 2026TRUSTMEM: Learning Trustworthy Memory Consolidation for LLM Agents with Long-Term Memorycited by 5
- 2025Evo-MARL: Co-Evolutionary Multi-Agent Reinforcement Learning for Internalized Safetycited by 4
- 2026ER-MIA: Black-Box Adversarial Memory Injection Attacks on Long-Term Memory-Augmented Large Language Modelscited by 4
- 2026Memory poisoning and secure multi-agent systemscited by 4
- 2026Visual Inception: Compromising Long-term Planning in Agentic Recommenders via Multimodal Memory Poisoningcited by 4
- 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systemscited by 4
- 2026FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusioncited by 4
- 2025VerificAgent: Domain-Specific Memory Verification for Scalable Oversight of Aligned Computer-Use Agentscited by 3
- 2026An AI Agent Execution Environment to Safeguard User Datacited by 3
- 2026MEMSAD: Gradient-Coupled Anomaly Detection for Memory Poisoning in Retrieval-Augmented Agentscited by 3
- 2026EquiMem: Calibrating Shared Memory in Multi-Agent Debate via Game-Theoretic Equilibriumcited by 3
- 2026Dissociative Identity: Language Model Agents Lack Grounding for Reputation Mechanismscited by 3
50 most cited of 127 All 127 (JSON)
- 2026When Correct Memory Goes Wrong: Fuzzing Persistent Memory Use in LLM Agents29 Sep 2026
- 2026SEABench: Benchmarking Endogenous Misalignment In Self-Evolving Agents28 Sep 2026
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agents28 Sep 2026
- 2026Reliability Engineering for AI Systems: Challenges, Methods, and Directions28 Sep 2026
- 2026Certified Multi-Source Integrity for Structured Agent Actions28 Sep 2026
- 2026From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents28 Sep 2026
- 2026A Benchmark and Diagnostic Study of Epistemic Admission in Shared Agent Memory25 Sep 2026
- 2026AkasicMEM: Governed Enterprise Memory for Agents22 Sep 2026
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems20 Sep 2026
- 2026Market Signal Injection: Adversarial Context Manipulation of LLM Pricing Agents16 Sep 2026
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
38 more
- 2026MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AI8 Sep 2026
- 2026Revoked but Still Authoritative: An Empirical Study of Revocation Enforcement in Agent-Memory Systems8 Sep 2026
- 2026CAPTURE: Disentangling Preference Drift from Memory Poisoning in Personalized LLM Agents2 Sep 2026
- 2026The Rise of Verbal Reinforcement Learning1 Sep 2026
- 2026ECLIPSE: Self-Evolving Stealthy Prompt Injection Attack against Long-Horizon Agentic Systems31 Aug 2026
- 2026Lazy Grounding: Attacking Search Agents with Factual Evidence31 Aug 2026
- 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agents26 Aug 2026
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation25 Aug 2026
- 2026InjecMEM: Memory Injection Attack on LLM Agent Memory Systems24 Aug 2026
- 2026MEMORY Wins All: Indirect Bias Injection Attacks via Social Media Feeds22 Aug 2026
- 2026Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents21 Aug 2026
- 2026ChronosAttack: Adversarial Tool Scheduling Attacks on LLM Agents20 Aug 2026
- 2026CompoSkill: Compositional Skill Chain Attacks from Individually Scanner-Passing LLM Agent Skills17 Aug 2026
- 2026Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened17 Aug 2026
- 2026Does a Tool Result Carry More Authority Than Plain Text? Three Prospective Studies of False-Claim Adoption in a Synthetic Assignment Task with Claude Opus 515 Aug 2026
- 2026Rethinking Agent Security as a Networking Problem12 Aug 2026
- 2026ActBench: Self-Evolving Benchmark of Behavioral Safety in Cowork Agents10 Aug 2026
- 2026Query-Only Backdoor Attacks on Self-Evolving Skills via Trajectory Poisoning8 Aug 2026
- 2026Compositional Threat Analysis of Latent Compromise in LLM Agent Systems: The Order 66 Scenario8 Aug 2026
- 2026Persistent Semantic Entities in Tool-Augmented LLM Systems8 Aug 2026
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnesses7 Aug 2026
- 2026AgentAntibody: An Adaptive Immune System for Defending LLM Agents against Prompt Injection4 Aug 2026
- 2026MAFIA: Query-Only Memory Attacks via Probing and Factual Injection against Audited LLM Agents4 Aug 2026
- 2026When Memory Becomes Authority: Benchmarking Authority Collapse at the Memory Consolidation Boundary3 Aug 2026
- 2026Salami Attack: Stealthy Collusive Memory Poisoning against OpenClaw3 Aug 2026
- 2026Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden States1 Aug 2026
- 2026When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems1 Aug 2026
- 2026MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems1 Aug 2026
- 2026MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneck30 Jul 2026
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair29 Jul 2026
- 2026Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?20 Jul 2026
- 2026Do Agents Dream of False Memories? Black-box Visual Attacks on Long-term Memory in Multimodal AI Agents17 Jul 2026
- 2026MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents16 Jul 2026
- 2026SAFETY SENTRY: Context-Aware Human Intervention via EXECUTE-ASK-REFUSE Routing15 Jul 2026
- 2026When Agents Go Rogue: Activation-Based Detection of Malicious Behaviors in Multi-Agent Systems7 Jul 2026
- 2026When Agents Remember Too Much: Memory Poisoning Attacks on Large Language Model Agents6 Jul 2026
- 2026When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agents6 Jul 2026
- 2026DualView: Preventing Indirect Prompt Injection in Personal AI Agents4 Jul 2026
50 newest of 127 All 127 (JSON)
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 61
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 40
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attackscited by 31
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 29
- 2025LLM Agents Should Employ Security Principlescited by 28
- 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agentscited by 23
- 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agentscited by 22
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 21
- 2026Your Agent, Their Asset: A Real-World Safety Analysis of OpenClawcited by 19
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2026From Storage to Steering: Memory Control Flow Attacks on LLM Agentscited by 17
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
12 most cited of 95 All 95 (JSON)
- 2026When Correct Memory Goes Wrong: Fuzzing Persistent Memory Use in LLM Agents29 Sep 2026
- 2026SEABench: Benchmarking Endogenous Misalignment In Self-Evolving Agents28 Sep 2026
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agents28 Sep 2026
- 2026Certified Multi-Source Integrity for Structured Agent Actions28 Sep 2026
- 2026From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents28 Sep 2026
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems20 Sep 2026
- 2026Market Signal Injection: Adversarial Context Manipulation of LLM Pricing Agents16 Sep 2026
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AI8 Sep 2026
- 2026Revoked but Still Authoritative: An Empirical Study of Revocation Enforcement in Agent-Memory Systems8 Sep 2026
- 2026CAPTURE: Disentangling Preference Drift from Memory Poisoning in Personalized LLM Agents2 Sep 2026
12 newest of 95 All 95 (JSON)
- 2026Contextual Agentic Memory is a Memo, Not True Memorycited by 5
- 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systemscited by 4
- 2026MEMSAD: Gradient-Coupled Anomaly Detection for Memory Poisoning in Retrieval-Augmented Agentscited by 3
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directionscited by 2
- 2026LLM-Oriented Information Retrieval: A Denoising-First Perspectivecited by 1
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generationcited by 0
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation25 Aug 2026
- 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systems10 Jun 2026
- 2026MEMSAD: Gradient-Coupled Anomaly Detection for Memory Poisoning in Retrieval-Augmented Agents5 May 2026
- 2026LLM-Oriented Information Retrieval: A Denoising-First Perspective1 May 2026
- 2026Contextual Agentic Memory is a Memo, Not True Memory30 Apr 2026
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions9 Apr 2026
- 2026Mind Your HEARTBEAT! Claw Background Execution Inherently Enables Silent Memory Pollutioncited by 5
- 2026ER-MIA: Black-Box Adversarial Memory Injection Attacks on Long-Term Memory-Augmented Large Language Modelscited by 4
- 2026An AI Agent Execution Environment to Safeguard User Datacited by 3
- 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
- 2026Emulating Clinician Cognition via Self-Evolving Deep Clinical Researchcited by 2
- 2026Social Dynamics as Critical Vulnerabilities that Undermine Objective Decision-Making in LLM Collectivescited by 2
- 2026The Authorization-Execution Gap Is a Major Safety and Security Problem in Open-World Agentscited by 2
- 2026Grounded Continuation: A Linear-Time Runtime Verifier for LLM Conversationscited by 2
- 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attackscited by 1
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnessescited by 1
- 2026Does a Tool Result Carry More Authority Than Plain Text? Three Prospective Studies of False-Claim Adoption in a Synthetic Assignment Task with Claude Opus 5cited by 1
- 2026Improving Labeling Consistency with Detailed Constitutional Definitions and AI-Driven Evaluationcited by 0
12 most cited of 19 All 19 (JSON)
- 2026Reliability Engineering for AI Systems: Challenges, Methods, and Directions28 Sep 2026
- 2026A Benchmark and Diagnostic Study of Epistemic Admission in Shared Agent Memory25 Sep 2026
- 2026AkasicMEM: Governed Enterprise Memory for Agents22 Sep 2026
- 2026The Rise of Verbal Reinforcement Learning1 Sep 2026
- 2026Lazy Grounding: Attacking Search Agents with Factual Evidence31 Aug 2026
- 2026Does a Tool Result Carry More Authority Than Plain Text? Three Prospective Studies of False-Claim Adoption in a Synthetic Assignment Task with Claude Opus 515 Aug 2026
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnesses7 Aug 2026
- 2026Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?20 Jul 2026
- 2026You Only Align Once: Propagating Cooperative Behaviors in Multi-Agent Systems through Seed Agents26 May 2026
- 2026Improving Labeling Consistency with Detailed Constitutional Definitions and AI-Driven Evaluation22 May 2026
- 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attacks14 May 2026
- 2026Grounded Continuation: A Linear-Time Runtime Verifier for LLM Conversations13 May 2026
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Unveiling Privacy Risks in LLM Agent Memory
- 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrieval
- 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interaction
- 2026ADAM: A Systematic Data Extraction Attack on Agent Memory via Adaptive Querying
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
- 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems
- 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Management