Memory as an Attack Surface in LLM Agents: A Study on Multiple-Choice Question Answering
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
AI agents extend conventional large language model (LLM) applications by integrating language understanding with task execution, external tool use, and memory mechanisms. While memory allows agents to retain prior interactions and provide more personalized and context-aware responses, it also introduces a new vulnerability: information stored in memory can influence future outputs even when the current query is clean. In this paper, we investigate memory manipulation in LLM-based agents for multiple-choice question answering. We first design and implement an LLM-based AI agent with an external memory component that stores and retrieves task-relevant information. We then introduce basic memory manipulation scenarios in which misleading or corrupted memories are inserted into the agent before it answers multiple-choice questions. Using a controlled experimental setup, we compare the agent's performance before and after memory manipulation and measure changes in answer accuracy, attack success rate, and selection of manipulated options. Our results show that even simple memory manipulations can noticeably affect the agent's final answers, causing it to select incorrect options despite receiving clean and well-formed questions.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 15 of its 24 references that are in the map. First posted on arXiv 27 Jun 2026.
Builds on
15 of 24 references.
Closest ancestors · 1
Same direction, newest first
- 2025Memory in the Age of AI Agents15 Dec
Other references · 14
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
- 2025AI Agents vs. Agentic AI: A Conceptual Taxonomy, Applications and Challengescited by 169
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 144
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024On the Structural Memory of LLM Agents
- 2026Can Agents Forget When Asked? A Benchmark for Memory Unlearning in LLM Agents
- 2025MemR3: Memory Retrieval via Reflective Reasoning for LLM Agents
- 2026What Makes Agent Memory Useful for Reliable Unanswerable Question Handling?
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- 2026H-Mem: A Novel Memory Mechanism for Evolving and Retrieving Agent Memory via a Hybrid Structure
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents