paper-with-me

홈 › Papers

InjecMEM: Memory Injection Attack on LLM Agent Memory Systems

2026-08-24 · Hanling Tian, Gengyu Zhang, Zeyang Sha, Jingying Wang, Yuhang Liu, Zhehao Huang, Kun Yang, Xiaolin Huang arxiv

Memory is becoming a default subsystem in deployed LLM agents to provide persistent personalization and continuity. This naturally prompts a question: will memory system introduce new vulnerabilities into agents? Thus we propose InjecMEM, a novel memory injection attack paradigm that requires only a single interaction (no read/edit access to memory store) to steer later responses of related queries toward a pre-specified output. Guided by the retrieval-then-generate mechanism of memory systems, we craft the injection with a retriever-agnostic anchor and an adversarial command. The anchor contains high-recall topical cues so that downstream retrieval consistently associates the record with the target topic. The command is a short sequence optimized to remain effective under uncertain fused contexts, variable placements, and long prompts so that it reliably steers outputs once retrieved. We learn the command via gradient-based coordinate search, averaging over synthetic prompt templates and insertion positions, and extend it to joint optimization across backbones to study transfer. Evaluated across multiple memory systems and backbone models, InjecMEM achieves reliable topic-conditioned retrieval and targeted generation, remains effective under memory drift, and leaves non-target queries unaffected. Our results underscore the need to harden memory systems and provide a reproducible framework for studying agent memory.

📄 PDF Abstract BibTeX arXiv:2608.23471

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Bad Memory: Evaluating Prompt Injection Risks from Memory in Agentic Systems

2026-07-16 · Soham Gadgil, David Alexander, Sai Sunku, Franziska Roesner arxiv

A growing class of agentic systems maintain persistent state across sessions through memory files, behavioral preferences, and knowledge bases. While this makes agents more useful and self-improving, it also creates a ne…

Context manipulation attacks : Web agents are susceptible to corrupted memory

2025-06-18 · Atharv Singh Patlan, Ashwin Hebbar, Pramod Viswanath, Prateek Mittal

Autonomous web navigation agents, which translate natural language instructions into sequences of browser actions, are increasingly deployed for complex tasks across e-commerce, information retrieval, and content discove…

Autonomous Web NavigationInformation Retrieval

A Practical Memory Injection Attack against LLM Agents

2025-03-05 · Shen Dong, Shaocheng Xu, Pengfei He, Yige Li 외

Agents based on 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 output…

When Agents Remember Too Much: Memory Poisoning Attacks on Large Language Model Agents

2026-07-06 · George Torres, Sharad Shrestha, Satyajayant Misra arxiv

Personal AI agents powered by large language models can reason and act using available tools to access emails, manage calendars, and push code to remote repositories, all with minimal oversight. When augmented with long-…

From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents

2026-06-03 · Pritam Dash, Tongyu Ge, Aditi Jain, Tanmay Shah 외 arxiv

Memory is a core component of AI agents, enabling them to accumulate knowledge across interactions and improve performance. However, persistent memory introduces the risk of memory poisoning, where a single adversarial m…