Topology Matters: Measuring Memory Leakage in Multi-Agent LLMs
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Graph topology is a fundamental determinant of memory leakage in multi-agent LLM systems, yet its effects remain poorly quantified. We introduce MAMA (Multi-Agent Memory Attack), a controlled evaluation framework for comparing topology-conditioned memory leakage in multi-agent LLM systems. MAMA operates on synthetic documents containing labeled Personally Identifiable Information (PII) entities, from which we generate sanitized task instructions. We execute a two-phase protocol: Engram (seeding private information into a target agent's memory) and Resonance (multi-round interaction where an attacker attempts extraction). Over 10 rounds, we measure leakage using a two-stage recovery criterion that combines exact-match extraction with LLM-based inference over the attacker's final output. We evaluate six canonical topologies (complete, circle, chain, tree, star, star-ring) across n∈4,5,6, attacker-target placements, and base models. Results are consistent: denser connectivity, shorter attacker-target distance, and higher target centrality increase leakage; most leakage occurs in early rounds and then plateaus; model choice shifts absolute rates but preserves broad structural trends; spatiotemporal/location attributes leak more readily than identity credentials or regulated identifiers. We distill practical guidance for system design: favor sparse or hierarchical connectivity, maximize attacker-target separation, and restrict hub/shortcut pathways via topology-aware access control. Our code is available at https://github.com/llll121/mama-eval.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 5 of its 21 references that are in the map. First posted on arXiv 4 Dec 2025.
Builds on
5 of 21 references.
Closest ancestors · 4
Same direction, newest first
- 2025Multi-Agent Systems Execute Arbitrary Malicious Code15 Mar
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction5 Mar
- 2025Unveiling Privacy Risks in LLM Agent Memory17 Feb
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
Other references · 1
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Frameworkcited by 16
- 2026Auditable Agentscited by 14
- 2026AgentSocialBench: Evaluating Privacy Risks in Human-Centered Agentic Social Networkscited by 7
- 2026GRADE: Graph Representation of LLM Agent Dependency and Executioncited by 4
- 2026AgentCollabBench: Diagnosing When Good Agents Make Bad Collaboratorscited by 3
- 2026WeClawArena: An Auditable Sandbox and Benchmark for Cross-User Agents Collaboration and Security in Human-Centered Agent Networkscited by 1
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systemscited by 1
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivitycited by 0
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challengescited by 0
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026WeClawArena: An Auditable Sandbox and Benchmark for Cross-User Agents Collaboration and Security in Human-Centered Agent Networks4 Aug 2026
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivity4 Aug 2026
- 2026GRADE: Graph Representation of LLM Agent Dependency and Execution22 Jun 2026
- 2026AgentCollabBench: Diagnosing When Good Agents Make Bad Collaborators9 May 2026
- 2026Auditable Agents7 Apr 2026
- 2026AgentSocialBench: Evaluating Privacy Risks in Human-Centered Agentic Social Networks1 Apr 2026
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Framework12 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Observable Channels, Not Just Storage: Evaluating Privacy Leakage in LLM Agent Pipelines
- 2026AgentLeak: A Benchmark for Internal-Channel Privacy Leakage in Multi-Agent LLM Systems
- 2026WebWeaver: Breaking Topology Confidentiality in LLM Multi-Agent Systems with Stealthy Context-Based Inference
- 2026Trust propagation and structural containment in Multi-agent LLM pipelines
- 2026CIPL: A Channel-Aware Framework for Recoverable Privacy Leakage in LLM Agents
- 2026MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems
- 2026From Storage to Steering: Memory Control Flow Attacks on LLM Agents
- 2024NetSafe: Exploring the Topological Safety of Multi-agent Networks