atlas

Research map / Multi-agent systems and games / LLM agents

Memory Injection Attacks on LLM Agents via Query-Only Interaction

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: Agent safety and attack benchmarks · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MINJA, a query-only memory injection attack that poisons an LLM agent's shared long-term memory via bridging steps, an indication prompt, and progressive shortening, redirecting victim queries to target entities.

Problem

LLM agents with retrieval-based long-term memory can be poisoned with malicious demonstrations; prior attacks assume direct memory write access, which is unrealistic. The paper asks whether an attacker who only interacts via normal queries can inject malicious records that later affect other users'

Approach

Injects malicious records solely through normal queries by appending an indication prompt that makes the agent generate 'bridging steps' linking the victim term to a target term, then progressively removes the indication prompt so the stored record resembles benign queries and is retrieved for victim queries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply MINJA query-only memory injectionEHR agent (GPT-4) · eICUISR: 98.5Helped
Apply MINJA query-only memory injectionRAP (GPT-4o) · WebshopASR: 98.9Helped
Apply MINJA query-only memory injectionQA Agent (GPT-4) · MMLUUD: -10.0Hurt
Add prior poisoning to the memory bank before the subsequent injection (ablation)MINJA on EHR agent · MIMIC-III (Pair 2)ISR: 100.0 -> 93.3Hurt
Add prior poisoning to the memory bank before the subsequent injection (ablation)MINJA on EHR agent · MIMIC-III (Pair 2)ASR: 50.0 -> 30.0Hurt
Add Gaussian noise ($\sigma$ = 0.01) to retrieval embeddings (ablation)MINJA on RAP (GPT-4o) · WebshopASR: 97.8 -> 95.6Hurt
Increase benign queries from 25 to 100 (ablation)MINJA on EHR agent · MIMIC-IIIASR: 68.9 -> 31.1Hurt
Increase benign queries from 25 to 100 (ablation)MINJA on EHR agent · eICUASR: 95.6 -> 88.9Mixed
Increase benign queries from 25 to 100 (ablation)MINJA on RAP (GPT-4o) · WebshopASR: 98.9 -> 97.8No clear effect
Add Gaussian retrieval noise (ablation)MINJA on RAP (GPT-4o) · WebshopISR: 100.0 -> 100.0No clear effect
Use alternative embedding models for memory retrieval (ablation)MINJA on EHRAgent · EHRAgent settingsattack performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MIMIC-III eICU Webshop MMLU

Benchmarks: MIMIC-III eICU Webshop MMLU

Metrics: ISR ASR UD

Baselines: AgentPoison

Builds on: ReAct RAP EHRAgent AgentPoison chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy