Exposing Weak Links in Multi-Agent Systems under Adversarial Prompting

Nirmit Arora, Sathvik Joel, Ishan Kavathekar, Palak, Rohan Gandhi, Yash Pandya, Tanuja Ganu, Aditya Kanade, Akshay Nambi

TL;DR

Multi-agent Large Language Model (LLM) systems are rapidly moving into production, but dividing labor among specialized agents introduces unique, systemic security vulnerabilities. This paper introduces SAFEAGENTS, a unified evaluation framework, and DHARMA, a fine-grained diagnostic metric, to pinpoint exactly where multi-agent pipelines break under adversarial attacks. The core finding? Common architectural design choices—like stripping global context from sub-agents—can inadvertently blind a system to malicious intent.

What Problem Does This Paper Address?

While single-agent LLM security is heavily studied, we know surprisingly little about how safety guarantees hold up in Multi-Agent Systems (MAS). When a complex task is broken down and distributed, individual sub-agents often operate with limited local context. This creates a dangerous structural loophole: an adversarial prompt might be blocked by a single agent, but when decomposed into smaller, seemingly innocent sub-tasks, the system collectively executes the harmful objective.

Furthermore, existing safety metrics (like Attack Success Rate) only look at aggregate outcomes—whether an attack succeeded or failed. They act as a black box, failing to identify where the vulnerability lies. For instance, did the planner fail to detect the harm, or did a sub-agent simply ignore the planner's warning?

Orchestrator and subagents in the Magentic setup Orchestrator and subagents in the LangGraph setup

Methods

The authors present a two-part solution to standardize and diagnose MAS safety:

  1. SAFEAGENTS: A modular, framework-agnostic evaluation platform. It abstracts diverse multi-agent setups (such as Magentic-One, LangGraph, and OpenAI Agents) into common design primitives like sub-agent autonomy, planning strategies, and context organization. This allows researchers to test different architectures on an equal footing.
  2. DHARMA (Design-aware Harm Assessment Metric for Agents): A hierarchical diagnostic metric that maps out the exact trajectory of an execution. Instead of a binary pass/fail, DHARMA uses an LLM-as-judge tree to localize the behavior to specific failure or defense modes, such as Planner-Stop, Sub-Agent-Ignored, or Unmitigated Execution.
Figure 3: DHARMA Classification Flowchart: De- cision tree showing how execution trajectories are classified based on planner and subagent behavior. Each path represents a different execution outcome in MAS and resulting DHARMA class

Datasets

The authors evaluated five MAS architectures across four prominent safety benchmarks, covering distinct domains:

  • RedCode: Focuses on low-level execution vulnerabilities, probing whether agents can be coerced into generating and executing harmful code.
  • SafeArena: Tests high-level decision-making via interactions with offline replicas of real-world web platforms (Reddit, GitLab, e-commerce sites).
  • AgentHarm: Evaluates robustness against jailbreak-style prompts attempting to force unsafe tool use.
  • Agent Security Bench (ASB): Measures resilience against prompt injection attacks, where malicious instructions are hidden inside benign inputs.

Key Insights and Ideas

  • More Agents $\neq$ More Safety: Centralized MAS are not inherently safer than single-agent systems. In fact, a powerful centralized planner can propagate undetected harmful intent more efficiently than a single agent, effectively optimizing the execution of an attack.
  • The Danger of "Atomic" Delegation: Frameworks that restrict sub-agents to granular, atomic actions (e.g., "click this button") inadvertently strip away the context needed to recognize a malicious pattern. Context fragmentation blinds sub-agents to the broader harmful objective.
  • Inverted Vulnerabilities in Smaller Models: When evaluating Smaller Language Models (SLMs like Qwen3-30B), the authors discovered an inverted failure pattern compared to frontier models (like GPT-4o). SLM planners systematically fail to catch adversarial prompts during the planning phase, but their execution-layer sub-agents are highly effective at refusing harmful actions when they finally see the explicit task.

Key Results

The empirical evaluation yielded striking evidence that multi-agent design choices heavily dictate safety outcomes:

  • Centralized Vulnerabilities: In the RedCode benchmark, Magentic Centralized allowed critical risk execution (ARIA-4) to spike to 83.70%, compared to 62.5% for a standard single-agent baseline (ReAct).
  • Decentralized Resilience: Decentralized architectures (like Swarm) performed significantly better in context-heavy web tasks. In SafeArena, Swarm limited critical risk to 15.85% because individual agents retained full context and could independently veto unsafe actions.
Table 1: ARIA scores (%) for differ- ent benchmarks and agent systems with GPT-4o agents. C, D = Centralized, De- centralized.

Limitations and Future Work

The authors note that the safety advantages of decentralized MAS are highly domain-dependent and do not universally generalize to all task types. Additionally, because manual trajectory auditing is impossible at scale, the framework relies on an LLM-as-judge (GPT-4.1), which introduces potential model dependencies.

Future work highlights the urgent need for "security-aware design" in MAS. This includes developing explicit fallback mechanisms to halt execution when a planner fails, and engineering specialized, hardened planning layers tailored for smaller language models.

Summary updated

BibTeX
@misc{arora2025exposing,
  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},
  title = {{Exposing Weak Links in Multi-Agent Systems under Adversarial Prompting}},
  year = {2025},
  eprint = {2511.10949},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.10949},
}
Figure