Exposing Weak Links in Multi-Agent Systems under Adversarial Prompting

Nirmit Arora, Sathvik Joel, Ishan Kavathekar, Palak, Rohan Gandhi +4 more
11/14/2025
cs.MAcs.AI

Official code: microsoft/SafeAgents (14 stars, MIT, last commit 2026-02-11).

Abstract

LLM-based agents are increasingly deployed in multi-agent systems (MAS). As these systems move toward real-world applications, their security becomes paramount. Existing research largely evaluates single-agent security, leaving a critical gap in understanding the vulnerabilities introduced by multi-agent design. However, existing systems fall short due to lack of unified frameworks and metrics focusing on unique rejection modes in MAS. We present SafeAgents, a unified and extensible framework for fine-grained security assessment of MAS. SafeAgents systematically exposes how design choices such as plan construction strategies, inter-agent context sharing, and fallback behaviors affect susceptibility to adversarial prompting. We introduce Dharma, a diagnostic measure that helps identify weak links within multi-agent pipelines. Using SafeAgents, we conduct a comprehensive study across five widely adopted multi-agent architectures (centralized, decentralized, and hybrid variants) on four datasets spanning web tasks, tool use, and code generation. Our findings reveal that common design patterns carry significant vulnerabilities. For example, centralized systems that delegate only atomic instructions to sub-agents obscure harmful objectives, reducing robustness. Our results highlight the need for security-aware design in MAS. Link to code is https://github.com/microsoft/SafeAgents

View on arXivView PDF

Code Implementations(1)

MIT

A unified framework for building and evaluating safe multi-agent systems. Write once, run on Autogen, LangGraph, or OpenAI Agents. Built-in safety evaluation (ARIA, DHARMA), attack detection, and support for benchmarks like AgentHarm and ASB.

142Python, JavaScriptJun 20, 20258 months agoMIT

Similar Papers

Cite this paper

@article{arora2025exposing,
  title  = {Exposing Weak Links in Multi-Agent Systems under Adversarial Prompting},
  author = {Nirmit Arora and Sathvik Joel and Ishan Kavathekar and Palak and Rohan Gandhi and Yash Pandya and Tanuja Ganu and Aditya Kanade and Akshay Nambi},
  year   = {2025},
  eprint = {2511.10949},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.10949v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.10949.svg)](https://codeofpaper.com/paper/2511.10949)

Discussion