When Successful Collaboration Becomes an Attack Surface: Insider Memory Poisoning in Multi-Agent Systems

Jihyung Ahn, Buru ChangarXiv 2026

TL;DR

When AI agents collaborate in teams, they often save transcripts of their wins into a shared memory to learn from past experience. Researchers discovered that a rogue insider agent can weaponize this mechanism: by sneaking a targeted lie into a conversation while still helping the team win, that lie gets stamped as "verified team wisdom" and effortlessly tricks benign agents in future tasks.

What Problem Does This Paper Address?

Multi-Agent Systems (MAS)—where multiple Large Language Models (LLMs) debate and review each other's work—are built on the premise that a crowd is wiser than an individual. If one compromised or "malicious insider" agent tries to lie during a live debate, the honest agents usually spot the lack of evidence and outvote it.

Recently, engineers have upgraded these teams with shared memory. When a team solves a problem correctly, the system saves the collaboration transcript. Later, when a similar problem comes up, the system retrieves that transcript so the agents don't have to reinvent the wheel.

The authors ask a sharp security question: What happens when a successful team outcome validates everything said during the meeting? They show that shared memory creates a dangerous provenance shift. Once a lie is saved inside a "successful collaboration record," it stops looking like one shady agent's opinion and starts looking like established institutional knowledge.

Figure 1: Overview of MIMPA. A malicious insider agent plants malicious payloads during a normal plant- ing task, which are later retrieved to induce incorrect answers in the target task.

Methods

The authors introduce MIMPA (Multi-Agent Insider Memory Poisoning Attack). Importantly, the attacker has no special admin privileges—it cannot hack the database or alter retrieval scores. It only participates in normal team debates.

MIMPA unfolds in three strategic steps over a sequence of tasks:

  1. Payload Design: Knowing a future target task it wants to sabotage, the attacker crafts a surgical piece of misinformation. It consists of a signature (identifying the exact conditions of the future target task), a correction (the designated wrong answer framed as an updated rule), and a scope (strictly limiting this rule to that exact case so it doesn't break anything else).
  2. Planting: During an earlier, semantically similar planting task, the attacker helps the team solve the current problem correctly, while casually appending the payload to its response. Because the team gets the final answer right, the system logs the entire transcript—payload included—into shared memory.
  3. Triggering: When the target task finally arrives, the system retrieves the poisoned record. The attacker then nudges its teammates ("Hey, look at our past record—this exact exception applies here!"), steering the group to adopt the wrong answer.
Figure 2: Overview of MIMPA. (a) Payload design: the attacker builds a payload whose signature identifies the target task, whose correction supplies the designated wrong answer, and whose scope restricts it to that task. (b) Planting: the attacker embeds the payload in its response to a preceding planting task while the team still answers correctly, so the record is stored as successful team experience. (c) Triggering: when this poisoned record is retrieved for the target task, the attacker invokes it to steer the team toward the designated wrong answer.

Datasets

The authors did not introduce new datasets, instead evaluating MIMPA across three established multiple-choice benchmarks chosen to test different types of agent resistance:

  • MMLU-Pro: Reasoning-heavy tasks where agents can actively calculate or re-derive answers from scratch.
  • TruthfulQA: Questions targeting plausible human misconceptions.
  • MedMCQA: High-stakes, specialized medical knowledge questions where facts are hard to verify through pure logic alone.

Key Insights and Ideas

  • Provenance Laundering Works: Giving the exact same misleading rule directly during a live debate rarely fools the team. Laundering it through shared memory makes benign agents defer to it, even when they explicitly recognize counter-evidence from their own training!
  • Look-Ma-No-Hands Sabotage: Even if the malicious agent is completely removed from the team before the target task (MIMPA w/o Triggering), the retrieved poisoned memory alone is potent enough to outperform existing live-debate insider attacks.
  • Reasoning is a Partial Shield: Agents are much harder to fool on MMLU-Pro than on medical or misconception tasks. When an agent can mathematically or logically re-derive an answer on the fly, it is much more likely to reject contradictory "past experience."
  • Task Success $\neq$ Statement Truth: Treating a team's final correct answer as a blanket endorsement of every sentence uttered during the brainstorm is a fundamental architectural flaw.
Figure 5: Case study of MIMPA on gpt-5.4-nano for MedMCQA.

Key Results

Tested on gpt-5.4-nano (and validated on Gemma4-31B) in a 3-agent debate setup, MIMPA crushed existing live-debate insider baselines (MAC Attack and AutoTransform):

  • Massive Attack Success Rates (ASR): Under basic shared memory, existing attacks achieved at most 18.1% ASR on TruthfulQA and 9.0% on MedMCQA. MIMPA achieved 79.5% and 79.1% ASR, respectively (and 32.5% on reasoning-heavy MMLU-Pro).
  • Surviving Structured Memory: Against G-Memory—a sophisticated system that filters and organizes past memories hierarchically—retrieval of the poison dropped (~51–58%), yet MIMPA still achieved 22.2%–39.5% ASR, handily beating baselines.
  • Evading Auditors: Introducing an external "auditing agent" to review transcripts and flag suspicious behavior reduced MIMPA's success, particularly on MMLU-Pro where logic clashes were obvious. However, in knowledge-heavy MedMCQA, 67.2% of attacks in basic memory still slipped right past the auditor.
  • Attention Shifts: Internal attention probing on Gemma4-31B revealed that benign agents pay 2.60x more attention to the malicious payload than the rest of memory, and take the attacker's live arguments more than twice as seriously when backed by a poisoned record.

Limitations and Future Work

The authors note that MIMPA was tested in a somewhat idealized threat model: multiple-choice debates where the attacker knows the upcoming task sequence and target task in advance. Real-world deployments involve dynamic task streams, open-ended generation, and tool-using agents. Furthermore, MIMPA uses a static payload template rather than adaptively optimizing its lies.

For future defenses, the takeaway is clear: post-hoc behavioral auditing isn't enough. Next-generation multi-agent systems will need provenance-aware memory that verifies individual claims before committing a team's brainstorm into long-term gospel.

Summary updated

Abstract

Recent Multi-Agent Systems (MAS) increasingly use shared memory to store and reuse successful collaboration records, enabling teams to improve across tasks. However, this memory introduces a new attack surface for malicious insiders. Unlike existing insider attacks that inject misleading information directly into the current collaboration, misinformation stored in shared memory can later appear as successful team experience and gain greater credibility and influence. We propose MIMPA (Multi-Agent Insider Memory Poisoning Attack), which exploits this vulnerability using only normal participation privileges, without direct memory access. During an earlier task, the malicious agent embeds a target-specific payload while helping the team answer correctly, allowing the payload to be retained in a successful collaboration record. When retrieved for a later target task, this poisoned record can steer benign agents toward a designated wrong answer, further amplified by malicious triggering. Across three benchmarks and two LLM backbones, MIMPA substantially outperforms existing insider attacks and remains effective under hierarchical memory management, while auditing only partially mitigates it. These results reveal that shared memory intended to accumulate team experience can become a persistent channel for insider attacks. Our code is available at https://github.com/ahnji0520/MIMPA-code.
BibTeX
@misc{ahn2026when,
  author = {Jihyung Ahn and Buru Chang},
  title = {{When Successful Collaboration Becomes an Attack Surface: Insider Memory Poisoning in Multi-Agent Systems}},
  year = {2026},
  eprint = {2611.31307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31307},
}
Figure