Black-Box Red-Teaming of Multi-Agent Systems via Reinforcement Learning
Yuqi Jia, Hangsheng Zhang, Chenxi Liu, Junjie Liang, Xun Chen
Abstract
Large language model (LLM) agents are increasingly deployed in multi-agent systems (MAS) to accomplish complex tasks. Prior black-box red-teaming attacks mainly focus on single agents, but we find that these methods are far less effective in MAS, where multiple sub-agents may not directly interact with the user. Therefore, we introduce ReMAS, the first reinforcement learning-based red-teaming framework tailored to MASs, which fine-tunes attacker LLMs to generate effective adversarial prompts for system prompt extraction. The framework follows a two-step process: first, a rewrite stage refines base attack prompts to increase extraction success, and second, a template generation stage constructs attack templates that improve the likelihood of invoking specific sub-agents and thus revealing their system prompts. Extensive experiments show that our method substantially improves attack success rates compared to existing black-box attacks, with transferability across different backend LLMs and MAS structures. These results underscore the vulnerabilities of multi-agent systems and the importance of developing stronger defenses against adaptive black-box adversaries.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
Red-Teaming Multi-Agent Attacks for Loss-of-Control Risks
Shared title terminologycs.CRJohn Kitaoka, Thao Amelia Pham, Carlos Rafael Giudice et al.
Attacks and Defenses in Decentralized Multi-Agent Systems with Hop-by-Hop Task Decomposition and Delegation
Shared title terminologycs.CRMatthew D. Laws, Maria Lazou, Alina Oprea et al.
MAS-Guard: Unified Guardrails from Individual Agents to Multi-Agent LLM Systems
Shared title terminologycs.CRMohammad Kachuee, Phu Mon Htut, Sheng Li et al.
ALIoTh: Orchestrating Multi-Agent LLMs for Autonomous IoT Penetration Testing
Shared title terminologycs.CRPironti Francesco Aurelio, Arena Luigi, Blefari Francesco et al.
AgentTrace: Execution-Level Fingerprinting of Black-Box LLM Agents
Shared title terminologycs.CRGejian Zhao, Hanzhou Wu, Xinpeng Zhang
HydraPoT: A Configurable Multi-Agent Framework for Cost-Aware LLM-Assisted Honeypots
Shared title terminologycs.CRKamolchanok Saengtong, Chutirat Saengyingyongwattana, Sasin Janpuangtong et al.