A Black-Box Red-Teaming Method for Multi-Agent Systems Based on Reinforcement LearningBlack-Box Red-Teaming of Multi-Agent Systems via Reinforcement Learning
Translation in progress — untranslated text is omitted.
The researchers propose ReMAS, a black-box red-teaming framework that fine-tunes an attack model via reinforcement learning to generate adversarial prompts for extracting the system prompts of sub-agents in multi-agent systems (MAS). Prior black-box attacks mainly targeted single agents and degrade markedly in MAS, where sub-agents do not interact directly with users; the authors state that ReMAS is the first reinforcement-learning red-teaming framework designed specifically for MAS. The framework has two steps: first, a rewriting stage optimizes the base attack prompt to improve extraction success rate; then, a template generation stage constructs attack templates to increase the probability of invoking a specific sub-agent and leaking its system prompt. Experiments show that the method substantially improves attack success rate over existing black-box attacks and can transfer across different backend LLMs and MAS structures, highlighting the vulnerability of MAS and the need to develop stronger defenses.
- Existing black-box jailbreak and prompt injection attacks mainly target single agents; in multi-agent systems with a coordinator, an attack must simultaneously manipulate routing and survive coordinator rewriting, and the authors say these methods are greatly weakened on MAS.
- ReMAS uses DAPO reinforcement learning to train two attack policies: Step I rewrites the base attack prompt to be stronger (with a policy pool and random selection), and Step II generates wrapper templates to ensure the coordinator routes correctly and forwards them as-is; at test time it executes in a single round.
- On 7 categories of sub-agents with the Qwen3-8B backend, ReMAS achieves CAR above 0.98 and ASR of 0.62–0.89, higher than PAIR, TAP, and AutoDAN-Turbo; the attacks also transfer to 4 unseen backend LLMs (average ASR 0.48–0.64) and 3 other MAS structures.
- The authors state that future work includes extending to broader attack targets and studying robustness under advanced defenses (Conclusion). The experiments cover 5 open-source backend LLMs, 7 categories of sub-agents, and 4 MAS structures, with 100 test cases per category; the paper does not report the number of test repetitions.
Related events and news
1 events · 1 news mentions
News that mentions this paper
大模型安全周报:防线开始溃于组合,智能体授权与审计系统性缺口
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:防线开始溃于组合,智能体授权与审计的系统性缺口
Black-Box Red-Teaming of Multi-Agent Systems via Reinforcement Learning(https://arxiv.org/abs/2610.28966)