Collaborative Shadows: Distributed Backdoor Attacks in LLM-Based Multi-Agent Systems
Pengyu Zhu, Lijun Li, Yaxing Lyu, Li Sun, Sen Su, Jing Shao
TL;DR
This work introduces Collaborative Shadows, a distributed backdoor paradigm for LLM-based multi-agent systems that exploits inter-agent collaboration to activate a covert attack without modifying model weights. By decomposing the backdoor into conditional and payload primitives embedded in agents' tools, and employing encryption, steganography, and memory-based assembly, the approach achieves high attack success rates while preserving benign task performance. The authors provide a benchmark suite (Multi-Role Collaboration Bench) and a sandboxed evaluation framework to study such threats safely, and demonstrate ASR >95% across multiple models and settings. The results highlight a novel vulnerability surface in MAS and underscore the need for defense mechanisms and standardized safety evaluations in collaborative AI systems.
Abstract
LLM-based multi-agent systems (MAS) demonstrate increasing integration into next-generation applications, but their safety in backdoor attacks remains largely underexplored. However, existing research has focused exclusively on single-agent backdoor attacks, overlooking the novel attack surfaces introduced by agent collaboration in MAS. To bridge this gap, we present the first Distributed Backdoor Attack tailored to MAS. We decompose the backdoor into multiple distributed attack primitives that are embedded within MAS tools. These primitives remain dormant individually but collectively activate only when agents collaborate in a specific sequence, thereby assembling the full backdoor to execute targeted attacks such as data exfiltration. To fully assess this threat, we introduce a benchmark for multi-role collaborative tasks and a sandboxed framework to evaluate. Extensive experiments demonstrate that our attack achieves an attack success rate exceeding 95% without degrading performance on benign tasks. This work exposes novel backdoor attack surfaces that exploit agent collaboration, underscoring the need to move beyond single-agent protection. Code and benchmark are available at https://github.com/whfeLingYu/Distributed-Backdoor-Attacks-in-MAS.
