Skip to content

Launching Memory Injection Attacks on LLM Agents via Query Interaction AloneMemory Injection Attacks on LLM Agents via Query-Only Interaction

arXiv· arXiv:2503.03704· NeurIPS 2025· Shen Dong, Shaochen Xu, Pengfei He, Yige Li, Jiliang Tang, Tianming Liu, Hui Liu, Zhen Xiang·Indexed by this site · 25 days ago· Originally publishedAttacks
AI summary

The researchers propose a memory injection attack named MINJA, in which the attacker does not need to directly modify the LLM agent's memory bank and can induce it to write malicious records simply by interacting with the agent through queries and observing its outputs. The malicious records are designed to trigger, when processing a victim user's query, a chain of malicious reasoning steps directed at another target query, and the paper uses bridging steps to connect the victim query with these reasoning steps. During injection, indicative prompts are used to make the agent generate bridging-like steps itself, and the indicative prompts are gradually shortened and removed to make the malicious records easier to retrieve in subsequent queries. The authors claim that experiments on multiple agents show the method can effectively influence agent memory, and that the barrier to execution is very low, so ordinary users may also use it to influence agent memory.

Read originalNeurIPS 2025