AgentFuzz: Trace-Level Fuzzing for Prompt Spillover in LLM Multi-Agent Systems
Abstract
Modern large language models (LLMs) are increasingly deployed inside multi-agent systems (MAS), where specialized agents communicate through natural language to perform perception, memory retrieval, planning, verification, and execution. This collaboration improves capability but also creates a new attack surface: adversarial instructions injected into a low-trust upstream channel can silently propagate across agents and influence downstream high-privilege decisions. We call this phenomenon prompt spillover. Existing prompt fuzzers mainly target single-model jailbreaks and therefore fail to capture vulnerabilities that emerge from inter-agent communication. To address this gap, we present AgentFuzz, a framework for discovering prompt spillover attacks in LLM-based MAS. Given a target MAS, a low-trust injection channel, and a deterministic safety oracle, AgentFuzz searches for prompts that produce unsafe, executable, and verifier-approved action plans. The search uses MAS-native mutation operators selected online by a multi-armed bandit, while a trace-level composite reward, computed over the full inter-agent communication trace rather than only the final output, provides dense feedback on propagation, verifier bypass, and executable validity. We evaluate AgentFuzz across three LLM backbones, three MAS topologies, and five injection channels. On a five-agent linear MAS with no defense, AgentFuzz’s optimized attacks reach 35.2% ASR, outperforming PromptFuzz (26.8%) and LLM-Fuzzer (23.1%) on the same configuration. Similar improvements are observed in verifier bypass, executable validity, and spillover rate. Our results show that prompt spillover is a structural communication-layer vulnerability in MAS and motivate trace-aware defenses for secure MAS deployment.