InjecMEM: Memory Injection Attack on LLM Agent Memory Systems
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:47 UTC · 253284f40a5e ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,26 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "QVX6hcJ2um"- }- ],- "title": "InjecMEM: Memory Injection Attack on LLM Agent Memory Systems",- "authors": [- "Hanling Tian",- "Zeyang Sha",- "Jingying Wang",- "Yuhang Liu",- "Zhehao Huang",- "Xiaolin Huang"- ],- "abstract": "Memory is becoming a default subsystem in deployed LLM agents to provide long-horizon personalization and cross-session coherence. This naturally prompts a question: will the memory system introduce new vulnerabilities into LLM agents? Thus we propose **InjecMEM**, a targeted memory injection attack which requires only one interaction with the agent (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 system, we split the crafted injection into two cooperating parts. The first part is a retriever-agnostic anchor. It ensures topic-conditioned retrieval using a concise, on-topic passage with a few high-recall cues so that segment summaries and keywording route the record into the target topic. The second part is an adversarial command. It is a short sequence optimized to remain effective under uncertain fused contexts, variable placements, and long prompts so that it reliably steers the outputs once retrieved. We learn this sequence with a gradient-based coordinate search that averages likelihood across multiple synthetic prompt templates and insertion positions. Evaluated on a recent layered memory system (MemoryOS) across several domains, InjecMEM achieves fine topic-conditioned retrieval and targeted generation, persists after benign drift, and leaves non-target queries unaffected. We also demonstrate an indirect attack path in which a compromised tool writes the poison that normal queries later retrieve. Our results underscore the need to harden memory subsystems against adversarial records and provide a reproducible framework for studying the security of memory-augmented agents.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "2f2d0f15-1b12-48a4-9b2f-c4e658194375"}
paper.json added
+++ b/paper.json@@ -0,0 +1,16 @@+{+ "title": "InjecMEM: Memory Injection Attack on LLM Agent Memory Systems",+ "authors": [+ "Hanling Tian",+ "Zeyang Sha",+ "Jingying Wang",+ "Yuhang Liu",+ "Zhehao Huang",+ "Xiaolin Huang"+ ],+ "abstract": "Memory is becoming a default subsystem in deployed LLM agents to provide long-horizon personalization and cross-session coherence. This naturally prompts a question: will the memory system introduce new vulnerabilities into LLM agents? Thus we propose **InjecMEM**, a targeted memory injection attack which requires only one interaction with the agent (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 system, we split the crafted injection into two cooperating parts. The first part is a retriever-agnostic anchor. It ensures topic-conditioned retrieval using a concise, on-topic passage with a few high-recall cues so that segment summaries and keywording route the record into the target topic. The second part is an adversarial command. It is a short sequence optimized to remain effective under uncertain fused contexts, variable placements, and long prompts so that it reliably steers the outputs once retrieved. We learn this sequence with a gradient-based coordinate search that averages likelihood across multiple synthetic prompt templates and insertion positions. Evaluated on a recent layered memory system (MemoryOS) across several domains, InjecMEM achieves fine topic-conditioned retrieval and targeted generation, persists after benign drift, and leaves non-target queries unaffected. We also demonstrate an indirect attack path in which a compromised tool writes the poison that normal queries later retrieve. Our results underscore the need to harden memory subsystems against adversarial records and provide a reproducible framework for studying the security of memory-augmented agents.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}