MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems

Wenjun Xiong, Yijin Zhou, Jiaqian Wang, Shangding Gu, Bo Tang, Zhiyu Li, Feiyu Xiong, Ying Wen, Muning WenarXiv 2026

TL;DR

Multi-agent systems (MAS) utilizing persistent memory are highly vulnerable to "memory-link poisoning," where malicious data hides in long-term storage and silently spreads across agents over time. MAPLE-Guard addresses this by introducing a lifecycle-aware defense that places deterministic security gates at memory write, retrieval, promotion, and reuse checkpoints. This approach slashes attack success rates to near zero while simultaneously reducing overall token overhead.

What Problem Does This Paper Address?

Large Language Model (LLM)-based multi-agent systems increasingly rely on persistent memory layers (both private and shared) to coordinate over long horizons. However, this memory layer introduces a dangerous, stealthy attack vector. An adversarial agent can plant a seemingly innocent or helpful note early in an interaction.

Because existing MAS defenses primarily focus on active communication channels (physical links) or screen immediate prompts and actions, this dormant poison easily slips through. Later, when a benign agent retrieves this memory or when it gets promoted to shared memory, it alters the system's behavior without ever crossing a visible communication edge at the moment of harm. The authors formalize this threat as memory-link poisoning.

Figure 1: Physical-link Defense vs. Memory-link Defense. Prior guards act on observable commu- nication edges, whereas MAPLE-Guard governs the lifecycle along which poisoned memory would otherwise propagate across agents and rounds.

Methods

The authors propose MAPLE-Guard (Memory-Aware Propagation and Link Enforcement Guard). Instead of relying on expensive LLM-based prompt checks, MAPLE-Guard treats memory security as a data-flow and lifecycle governance problem, drawing on classical software taint-tracking principles.

For every memory item, the system maintains a hidden guard state tracking its utility ($\rho$), provenance trust ($\tau$), content hazard ($h$), and lineage. MAPLE-Guard applies a single fixed risk model across four critical lifecycle checkpoints:

  1. Write Gate: Intercepts data before storage, deciding whether to allow, reject, quarantine, or rewrite it (e.g., stripping out imperative commands).
  2. Retrieval Gate: Filters and ranks memories before they enter an agent's prompt, ensuring high-risk or irrelevant items are suppressed.
  3. Promotion Gate: Blocks poisoned private memories from being elevated into shared memory.
  4. Cross-Agent Gate: Mediates access when one agent attempts to reuse another's shared memory.

Crucially, MAPLE-Guard uses reinforcement learning-style updates (Q-learning) to dynamically lower the utility and trust of memories associated with failed or harmful task outcomes.

Figure 2: Memory-link poisoning and MAPLE-Guard defense overview. Panel (A) summarizes poi- soned memory-link types. Panel (B) shows propagation through private and shared stores. Panel (C) shows where MAPLE-Guard blocks write, retrieval, promotion, and cross-agent reuse.

Datasets

The framework was evaluated across five distinct benchmark-attack configurations targeting different aspects of MAS memory:

  • MMLU (MINJA): Tests stored reasoning poisoning.
  • LongMemEval (MemoryGraft): Evaluates long-history retrieval.
  • AppWorld (AgentPoison): Focuses on malicious tool-action memory.
  • CSQA (PromptInject): Evaluates transfer and generalization to commonsense reasoning.
  • InjectAgent (ToolAttack): Tests tool-channel transfer attacks.

Key Insights and Ideas

  • Memory as a Stealth Substrate: Poisoned memory decouples the moment of injection from the moment of harm. An attack can remain dormant for rounds and propagate across agents entirely outside the physical communication graph.
  • The Power of Provenance: By treating memory security like classical taint-tracking, any memory derived from an untrusted or cross-agent parent inherits its parent's risk profile, preventing "poison laundering."
  • Efficiency via Determinism: Unlike popular guardrails (such as Llama Guard) that require separate LLM calls for screening, MAPLE-Guard's gates are rule-based and deterministic. Surprisingly, it actually reduces total token usage by filtering out messy, adversarial clutter from the context window.

Key Results

  • Massive Attack Reduction: On Qwen3.5-122B, MAPLE-Guard reduced the Attack Success Rate (ASR) from 38.2% to 0.9% on LongMemEval and from 34.7% to 0.2% on AppWorld.
  • Boosted Defense Success: The Multi-agent Defense Success Rate (MDSR) surged from 54.0% to 74.3% on LongMemEval and from 42.5% to 99.8% on AppWorld.
  • Token Savings: A controlled token audit showed that MAPLE-Guard reduced total token usage by 35.0% on MMLU and 27.8% on InjectAgent compared to having no defense, contrasting sharply with LLM-based guards that introduce heavy token overhead.

Limitations and Future Work

  • Containment, Not Prevention: MAPLE-Guard focuses on containing and mitigating poisoning after it enters the system rather than blocking the initial compromise.
  • Metadata Trust Assumption: The system assumes that the underlying runtime metadata (writer ID, source route, lineage) is secure and cannot be forged by an attacker. If an attacker can manipulate the metadata itself, they could bypass the gates.
  • Single-Attack Benchmarking: Each benchmark was evaluated against only one specific attack type, leaving open the question of how well the fixed thresholds generalize to complex, adaptive, multi-pronged attacks.

Summary updated

BibTeX
@misc{xiong2026maple,
  author = {Wenjun Xiong and Yijin Zhou and Jiaqian Wang and Shangding Gu and Bo Tang and Zhiyu Li and Feiyu Xiong and Ying Wen and Muning Wen},
  title = {{MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems}},
  year = {2026},
  eprint = {2608.00426},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.00426},
}
Figure