Early Detection of Distributed Backdoors in Multi-Agent LLM Systems: A Characterization Study
Diego Fernandez Arias, Dev Prashant Mistry, Ren Wang, Yibo Hu
Abstract
Multi-agent LLM systems can be attacked by a payload that no single agent ever holds in full: several poisoned tools each hide one encrypted fragment, spreading them across several agents, and an external step reassembles and executes them after the run. Per-step safety checks that judge each action in isolation may fail to recognize the complete distributed payload. We investigate how early such an attack can be detected while the run is still unfolding, and how robustly it can be caught once its most obvious cues are stripped away. We build a working instance on a hierarchical multi-agent system, run it under benign and attacked conditions across five language models and two tool environments, and record when each fragment is injected and when the payload is assembled and executed. Almost no run is flagged before its first fragment is injected; once injection begins, a prefix detector flags 99.5\% of successful attacks with a median of twelve steps remaining and an out-of-fold false-alarm rate of about 1\% on uninjected runs, higher on runs that carried fragments but never assembled. Because assembly occurs only after the run, these alarms could enable an abort before assembly on nearly every successful attack. We also test a detector that sees only the current observation, to ask whether earlier steps are needed. When the current observation carries an obvious clue, one observation is often enough; when that clue is removed, using earlier steps can help. Generic zero-shot and behavior-trained detectors fail to separate unsafe from safe runs; the detectors that do work lean in part on removable surface cues, chiefly the ciphertext's length and entropy. Take those cues away and the detector fires later, and carrying it from one tool environment to the other becomes much harder. A model fine-tuned on the raw text recovers part of the loss.
Create a lesson
Related papers
Attacks and Defenses in Decentralized Multi-Agent Systems with Hop-by-Hop Task Decomposition and Delegation
Shared title terminology · Matthew D. Laws, Maria Lazou, Alina Oprea et al.
Agent Harness Distillation: Inference-Time Harness Extraction and Exploitation in Autonomous Multi-Agent Systems
Shared title terminology · Yu Cui, Wuli Yang, Yirui Shi et al.
Before Agents Speak: Pre-hoc Failure Risk Inference in Multi-Agent Systems
Shared title terminology · Shi Lin, Chenpei Wang, Peng Qian et al.
ALIoTh: Orchestrating Multi-Agent LLMs for Autonomous IoT Penetration Testing
Shared title terminology · Pironti Francesco Aurelio, Arena Luigi, Blefari Francesco et al.
ThreatForest: Multi-Agent Attack Tree Generation with Pluggable TTP Framework Mapping
Shared title terminology · Cristian Leo, Anton Dykyi, Danny Cortegaca et al.
(EC)2: Event-Centric Explainability for Cybersecurity Through Multi-Agent LLM Investigations
Shared title terminology · Neta Kirmayer, David Tayouri, Andrés Murillo et al.