arXiv is now an independent nonprofit! Learn more
License: CC BY 4.0
arXiv:2506.01245v3 [cs.CR] 16 May 2026

Position: Comprehensive Vulnerability Analysis is Necessary for Trustworthy LLM-MAS

Pengfei He Affiliation: Department of Computer Science and Engineering, Michigan State University,USA Correspondence to: hepengf1@msu.edu    Yue Xing Affiliation: Department of Probability and Statistics, Michigan State University,USA    Juanhui Li Affiliation: Microsoft Inc.    Shen Dong Affiliation: Department of Computer Science and Engineering, Michigan State University,USA    Zhenwei Dai Affiliation: Microsoft Inc.    Xianfeng Tang Affiliation: Microsoft Inc.    Hui Liu Affiliation: Microsoft Inc.    Han Xu Affiliation: Department of Electrical and Computer Engineering, University of Arizona, USA    Zhen Xiang Affiliation: School of Computing, University of Georgia, USA    Charu C. Aggarwal Affiliation: IBM T. J. Watson Research Center    Hui Liu Affiliation: Department of Computer Science and Engineering, Michigan State University,USA
Abstract

This paper argues that a comprehensive vulnerability analysis is essential for building trustworthy Large Language Model-based Multi-Agent Systems (LLM-MAS). These systems, which consist of multiple LLM-powered agents working collaboratively, are increasingly deployed in high-stakes applications but face novel security threats due to their complex structures. While single-agent vulnerabilities are well-studied, LLM-MAS introduces unique attack surfaces through inter-agent communication, trust relationships, and tool integration that remain significantly underexplored. We present a systematic framework for vulnerability analysis of LLM-MAS that unifies diverse research. For each type of vulnerability, we define formal threat models grounded in practical attacker capabilities and illustrate them using real-world LLM-MAS applications. This formulation enables rigorous quantification of vulnerability across different architectures and provides a foundation for designing meaningful evaluation benchmarks. We also identify critical open challenges: (1) developing benchmarks specifically tailored to LLM-MAS vulnerability assessment, (2) considering new potential attacks specific to multi-agent architectures, and (3) implementing trust management systems that can enforce security in LLM-MAS. This research provides essential groundwork for future efforts to enhance LLM-MAS trustworthiness.

Keywords: 
Machine Learning, ICML

1 Introduction

Large Language Model-based Multi-Agent Systems (LLM-MAS) represent a significant advancement in AI collaboration and automation. In an LLM-MAS, multiple LLM-based agents, assigned specialized roles and equipped with various tools, can communicate, reason and collaborate with each other (24; 92; 77). Therefore, compared with LLMs and a single LLM agent, LLM-MAS shows more advanced capabilities in tackling complex tasks and already powers non‑trivial deployments in software engineering (50; 32; 67), embodied agents (25; 76), and scientific research (105; 78). Moreover, the advanced capabilities of LLM-MAS are driving their adoption in high-stakes domains—from fintech conversational agents (e.g., FinRobot) (106) to medical triage assistants (e.g., TriageAgent, MDAgents) (55; 40)—further highlighting their potential and the growing momentum of their development.

Despite the effectiveness and growing adoption of LLM-MAS, an unreliable and untrustworthy LLM-MAS can cause substantial safety consequences, especially for the security-critical domains. On the one hand, with the access to various tools, existing single-agent systems have already demonstrated potential vulnerability in outputting harmful outputs or executing malicious programs. For example, ChatGPT was exploited in a recent Cybertruck explosion incident in Las Vegas (44), and OpenAI’s operator agent reportedly executed unauthorized $31.43 transactions despite safety protocol (19). On the other hand, as demonstrated by (28), the vulnerability in LLM-MAS can be exaggerated as the system is exposed with more vulnerable components. This causes harmful consequences such as users’ privacy leakage or system crash (68). Besides, with the rise of Agent-to-agent (A2A) protocol, agents from different sources will collaborate in a system, which can be vulnerable if some agents are not verified properly.

Refer to caption
Figure 1: An overview of LLM-MAS (left), illustrating core components including agents, communication, memory, etc. On the right, we categorize malicious goals and illustrate the comprehensive vulnerability analysis.

While prior work has addressed safety concerns for individual LLMs and single-agent systems (27; 13; 33), LLM-MAS introduces fundamentally new and unique security challenges, yet these challenges remain significantly underexplored. Specifically, the presence of inter-agent communication, trust relationships, and tool calls together open novel attack surfaces. Current security discussions on LLM-MAS remain narrow in scope, often focusing on limited attack surfaces such as malicious agents (103; 34; 95), or specific scenarios like error injection (95; 34). While these studies uncover some critical risks, they typically explore only a small subset of possible vulnerabilities and adopt relatively basic techniques. There is a lack of: (1) a broad taxonomy of potential vulnerabilities within LLM-MAS; (2) well-justified threat models; and (3) formal definitions of attack objectives that can guide the design of meaningful evaluations. The above implies that, the field lacks a holistic assessment of LLM-MAS threats, which is crucial to building a secure and trustworthy LLM-MAS.

To address the aforementioned challenges, we argue that a comprehensive vulnerability analysis is necessary for trustworthy LLM-MAS. In this work, we take a systematic approach to identify critical attack surfaces and highlight those unique to LLM-MAS. For each identified vulnerability, we define feasible and well-justified threat models, grounded in practical constraints and attacker capabilities. These models are illustrated using real-world LLM-MAS applications and widely adopted frameworks such as MetaGPT (31) and ChatDev(67), ensuring their relevance and applicability. In addition, we provide rigorous formulations of attack objectives, incorporating a wide range of malicious consequences such as breaking alignments, resource exhaustion and privacy leakage. These formulations serve as a foundation for designing meaningful and reproducible evaluations, paving the way for future benchmarks in LLM-MAS security research.

2 An Overview of LLM-MAS

An LLM-MAS is a collaborative system composed of multiple LLM agents. As shown in Figure 1, the LLM-MAS can be decomposed into the following components:

Individual Agents (𝒜={Ai}i=1n\mathcal{A}=\{A_{i}\}_{i=1}^{n}). Let nn denote the number of agents in the LLM-MAS, and each agent AiA_{i} is powered by an LLM fif_{i} (LLM core) assigned with specific roles (e.g., planner, coder, verifier) through agent profile (PiP_{i}, also known as system prompt). Each agent has access to a set of tools, Ti={ti,j}j=1niT_{i}=\{t_{i,j}\}_{j=1}^{n_{i}}, such as the retriever to external databases and the calculator, where nin_{i} represents the total number of available tools for the agent AiA_{i}. In this work, besides maintaining the tools in the local server, we also consider the Model Context Protocol (MCP) (3): the LLM-MAS can request and obtain various tools from various MCP servers. Finally, the agent can also maintain its local memory, which contains received messages and previous experience, and interacts with other agents.

Inter-agent Communication (𝒞=(𝒮,,𝒯)\mathcal{C}=(\mathcal{S},\mathcal{M},\mathcal{T})). Communication is a fundamental mechanism in LLM-MAS, allowing individual agents to interact with each other. The communication includes the communication structure, exchanged messages and trust management.

Communication structure (𝒮\mathcal{S}). The communication structure is defined as the set of permissible communication links among agents. Specifically, each agent AiA_{i} can receive messages from a subset of agents in 𝒜\mathcal{A}, denoted as 𝒜ir\mathcal{A}_{i}^{r}, and also send messages to another subset of agents, denoted as 𝒜is\mathcal{A}_{i}^{s}. The communication structure then can be defined as 𝒮={(𝒜ir,𝒜is)}i=1n\mathcal{S}=\{(\mathcal{A}_{i}^{r},\mathcal{A}_{i}^{s})\}_{i=1}^{n}.

Messages (\mathcal{M}). Let \mathcal{M} denote the messages exchanged among agents, i.e ={Mi,r,Mi,s}i=1n\mathcal{M}=\{M_{i,r},M_{i,s}\}_{i=1}^{n}. Specifically, Mi,rM_{i,r} denote the messages received by the agent AiA_{i}, i.e Mi,r={m(A)}A𝒜irM_{i,r}=\{m(A)\}_{A\in\mathcal{A}^{r}_{i}}, and Mi,sM_{i,s} denote the messages sent by the agent AiA_{i}, i.e Mi,s={m(A)}A𝒜isM_{i,s}=\{m(A)\}_{A\in\mathcal{A}^{s}_{i}}. Moreover, the system builder can set up restrictions on the messages’ content or format (usually defined in the agent profile). For instance, if AiA_{i} is a code agent, then it can only send codes rather than texts to other agents.

Trust management (𝒯\mathcal{T}). The trust management module 𝒯\mathcal{T} determines whether an agent should accept incoming inputs—such as messages from other agents—as part of its context to perform its own tasks. Ideally, 𝒯\mathcal{T} enables agents to reject unclear or logically incoherent messages that could disrupt decision-making. However, most existing LLM-MAS frameworks, including (46; 92), allow agents to act directly upon received messages without any verification.

Environment (\mathcal{E}). The environment in an LLM-MAS refers to the shared setting—physical, simulated, or informational—within which multiple agents interact, communicate, and collaborate to achieve individual or collective goals (24). For instance, in a social simulation system as in (63), agents represent citizens and the environment is the simulated town; in an autonomous driving system, the environment is the physical world where the car drives in. For simplicity, we use the general term \mathcal{E} to represent the environment.

Memory. Memory (MemMem) is a commonly used shared module among agents where received messages and previous experiences are stored to enhance the effectiveness of the whole system. For instance, MetaGPT (31) utilizes a shared message pool to efficiently manage the communication among agents, and Autogen also provides prototypes of shared memory modules. However, the mechanism of the shared memory depends on the detailed implementation.

Initial Query (QQ). The initial query is the first input given to the LLM-MAS, providing the starting point for agent collaboration. The format and the content of the query depends on the purpose of the agent system. For a QA system (78), the query can be a concrete question to be solved; for a simulation system (63), the query can be the initial action assigned to each agent; for an autonomous driving or embodied system (58), the query can be an instruction of a task to be conducted.

Given the above, we denote LLM-MAS as

SMA=(𝒜({(fi,Ti,Pi)}),𝒞(𝒮,,𝒯),,Mem),S_{MA}=(\mathcal{A}(\{(f_{i},T_{i},P_{i})\}),\mathcal{C}(\mathcal{S},\mathcal{M},\mathcal{T}),\mathcal{E},Mem),

with the generation procedure denoted as Youtput=SMA(Q)Y_{output}=S_{MA}(Q). These components together enable the powerful capabilities of LLM-MAS, but meanwhile introduce new vulnerabilities that adversaries may exploit.

3 A Comprehensive Framework for LLM-MAS Vulnerability Analysis

Given the overview of LLM-MAS in Section 2, we identify several key limitations in current research on LLM-MAS security. (1) Narrow attack surfaces. Most works concentrate on isolated components, such as targeting individual agent profiles (27; 13; 33), without considering some unique components such as agent communications and trust mechanism among agents. (2) Restricted threat scope. Most works examine only a limited range of malicious goals (103; 100), lacking a comprehensive evaluation of the diverse and complex threats that can arise in multi-agent settings. (3) Unclear problem formulation. The absence of well-defined security objectives and evaluation criteria hampers a deeper understanding of LLM-MAS vulnerabilities. As a result, studies often resort to narrow strategies such as (indirect) prompt injection (11; 99), overlooking broader threat vectors and attack methods. To bridge the gaps, we propose a comprehensive framework that formally defines malicious goals and enables a structured analysis of each system component.

3.1 A General Formulation of Attackers

While there are various malicious goals to attack LLM-MAS, mathematically, they can be summarized to the following general formula: Denote GG as the malicious goal and the attacked LLM-MAS component as S(fi,Pi,Ti,𝒞(𝒮,,𝒯),,M,Q)S\in(f_{i},P_{i},T_{i},\mathcal{C}(\mathcal{S},\mathcal{M},\mathcal{T}),\mathcal{E},M,Q) (i.e., any possible component in SMAS_{MA}), then the attacker aims to solve the following:

argmaxSΘSEvaluator(SMA,Q,G)\arg\max_{S\in\Theta_{S}}Evaluator(S_{MA},Q,G)\vskip-10.0pt (1)

where EvaluatorEvaluator is the evaluation function determining whether the attack achieves the specific goal given the LLM-MAS SMAS_{MA}, initial query QQ, and the final target GG. The notation ΘS\Theta_{S} denotes the malicious space.

While Eq. (1) presents a general formulation, through configuring its (1) objective function, (2) optimization variables, and (3) the optimization algorithm, it can be transformed into specific forms given the detailed threat model and malicious goals. For (1) objective, the exact metric Evaluator()Evaluator(\cdot) is determined by the specific malicious goal. For (2) variable, the malicious space ΘS\Theta_{S} is determined by the exact component SS and the attacker’s capability.

In terms of (3) optimization algorithm, to optimize the above formula, depending on the level of attacker’s access to the LLM-MAS, several scenarios can be considered. Black-box: The attacker acts like a regular user and have no knowledge of the system, including the system configurations, LLM cores, etc. White-box: The attack is assumed to have access to everything of the LLM-MAS. Gray-box: The attack can infer partial knowledge of LLM-MAS. We list two representative cases. (1) The attacker can infer the communication structure of the LLM-MAS based on its functionality, e.g., in a software company LLM-MAS (31), there are certain roles in the system and the workflow is clear. (2) The attacker has the knowledge of some specific agents such as the architecture of LLMs utilized in the agents and access to their inputs, but no knowledge of the rest of the system.

3.2 Malicious Goals

In the following, we categorize common malicious goals that attackers may pursue in LLM-MAS.

Harmful behavior. Since the pre-trained LLMs utilize broad internet data, they may generate malicious outputs such as dangerous answers or insecure codes (12). Consequently, alignment methods have been developed to make LLMs refuse harmful queries (110). In parallel, jailbreak attack research focuses on bypassing these alignment safeguards (12; 111; 52; 7; 38), and corresponding adversarial training methods have been developed (74). In the context of LLM-MAS, harmful outputs can escalate into harmful behaviors. Unlike standalone LLMs, agents in LLM-MAS are equipped with tool-calling capabilities and elevated permissions, which significantly amplify the risks—enabling actions such as executing destructive programs (23), performing unauthorized transactions (19), or carrying out social engineering attacks (70). Given the above, the definition of the evaluation metric in Eq.1 is closely tied to the intended malicious consequence. For example, if the goal GG is to generate harmful texts, the EvaluatorEvaluator can be implemented using an LLM-based judge. If the goal is to produce harmful code, evaluation can be conducted by running test cases through an external executor.

Resource exhausting. In traditional system security, resource exhaustion attacks aim to consume excessive resources (e.g., CPU, memory, disk, bandwidth) to impair functionality for legitimate users. Classic examples include Denial of Service (DoS)(88), memory exhaustion(80), and algorithmic complexity attacks (9). In the context of LLM-MAS, attackers can similarly overload computational resources to inflate costs or disrupt availability. For example, attackers may generate progressively longer messages between agents (108), overloading message-processing components. They may also induce tools to generate large data volumes from minimal input, sending them to external servers—causing tool abuse, quota exhaustion, billing spikes, or even service bans (23). Beyond direct resource strain, such attacks can disrupt coordination: overloaded planners may time out, executors may stall, and a single failed agent can compromise overall system functionality (5). To evaluate such attacks under our formulation in Eq. 1, EvaluatorEvaluator metrics can include output token length, memory usage, computation time, and tool-calling frequency, while the goal GG can be defined as inducing excessive operational cost.

Performance degradation. In poisoning/evasion attack literature for deep neural networks, a general goal is to craft adversarial samples to worsen prediction performance (e.g., classification accuracy or regression error) (57). Similar performance degradation concepts appear in LLM research. For instance, (30) shows that poisoned demonstration examples in in-context learning can degrade the prediction performance. In Eq. 1, we directly measure the performance specified by the particular task, such as prediction accuracy as EvaluatorEvaluator and a wrong answer as GG (either targeted or untargeted).

Privacy leakage. Privacy concerns span systems from operating systems and web applications to deep learning models. LLMs and their applications face similar risks. For example, attacks have been developed to extract sensitive data from retrieval-augmented generation systems (98), recover prompts (64; 73; 37; 94), or leak memory contents in single-agent settings (82; 87). In LLM-MAS, privacy risks are further amplified by inter-agent communication. A compromised agent may extract private information from others or induce them to leak confidential data, even without direct access to sensitive tools or databases (45). To define the malicious goal and EvaluatorEvaluator in Eq. 1, various evaluation metrics can be applied, e.g., ROUGE-L or cosine similarity to compare with GG.

3.3 Vulnerabilities in Each Component

Guided by the overall structure of LLM-MAS and formal formulation in Eq 1, we analyze vulnerabilities in each system component, especially their feasibility and potential severe consequences. While setting n=1n=1 reduces the system to a single-agent system, revealing some shared vulnerabilities, we unveil distinct vulnerabilities for LLM-MAS, particularly for the unique components–communication 𝒞\mathcal{C} and agents {Ai}\{A_{i}\}. Note that we exclude memory MemMem in the discussion because its design is flexible and highly agent-specific, e.g., (47).

Malicious inputs (QQ). Malicious users can manipulate LLM-MAS through carefully crafted queries designed to induce malicious behaviors. This vulnerability has been extensively studied in single-agent literature (53; 75; 41; 14) and represents one of the most common attack approaches used by individual attackers in real-world scenarios. Besides the documented incidents involving ChatGPT and OpenAI systems mentioned in Section 1, compromises have also occurred with other AI assistants, resulting in unauthorized disclosure of personal data (18) and organizational information (16). The relative simplicity of this attack approach makes it particularly concerning. In our formulation in Eq. 1, various factors can be considered. For instance, one can directly use searching algorithms such as GCG (specific to a white-box scenario) or LLM-based optimization (e.g., TextGrad (97) under a black-box scenario) to search for the best QQ. Other static designs like direct injection (35), adding escape characters (89), or mislead the agent to a different context (89) can also be applicable.

Individual agent (AiA_{i}). Individual agents are also exposed to significant threats (104; 101; 54; 86; 66). Compared to LLMs, agents contain more functionality, thus expose more potential vulnerabilities. Existing studies point out that the vulnerabilities emerge when an agent’s learned or programmed objectives diverge from intended goals, resulting in undesirable behaviors (36; 62; 48; 47). In the following, we provide vulnerability analysis associated with each sub-component within individual agents: the LLM core (fif_{i}), agent profile (PiP_{i}), and tools (TiT_{i}).

Vulnerability in LLM core (fif_{i}). The LLM core can impact the LLM-MAS vulnerability from two perspectives. First, if a compromised or unverified model is deployed, vulnerabilities are directly introduced into the system. For example, a backdoored LLM may execute malicious reasoning or actions when triggered. As agents interact with diverse inputs, such as user queries, retrieved knowledge, and tool feedback, a compromised model can propagate risk throughout the entire system. Second, unlike single-agent systems, each agent in LLM-MAS may use a different model. With varying levels of tuning and safety alignment, the overall system behavior becomes highly dependent on which specific agent’s model is compromised, leading to heterogeneous and potentially unpredictable security failures.

Hijack agent profile (PiP_{i}). Agent profiles significantly guide behaviors, thus compromising them severely impacts the overall system performance. A distinct characteristic of LLM-MAS is that collective profile configuration defines inter-agent collaboration. In systems such as MetaGPT and ChatDev, different agents fulfill specific roles (manager, designer, engineer) to collaboratively develop software requested in the initial query. Therefore, different agent roles can have distinct effects on the system performance, and a comprehensive evaluation on the threats introduced by these roles is necessary. Furthermore, with the rise of Agent-to-Agent (A2A, (22)) protocols and the support for external agent integration, profile-based attacks have become increasingly feasible. This highlights the growing need to identify vulnerabilities in these standard protocols—such as weak authentication of agent profiles (8) and profile poisoning attacks, where fake agent credentials are injected.

Tools (TiT_{i}). Existing benchmarks evaluate single-agent system vulnerabilities when tools return compromised values (68; 99; 109). As documented in Table 1, agent systems demonstrate significant vulnerability to malicious tools, with Attack Success Rates (ASR) ranging from 20% to 87%. In LLM-MAS, with more than one agents in the system, malicious tools can also indirectly impact other agents. For example, in a planner-executor system (43), malicious tools can directly change the output of the executor, while indirectly impacting the behavior of the planner.

Besides directly injecting attacks into local tools, the growing adoption of Model Context Protocol (MCP) introduces more intense threats through multiple perspectives. First, poisoned MCP, such as embedding malicious instructions in the description of tools (42) can induce the agent to do malicious actions. Second, MCP’s ability to dynamically request additional information from client agents—such as through content sampling mechanisms—opens up further attack surfaces, including data leakage or manipulation (69). While some threats are identifies (79), investigations are still required to secure MCP.

Agent communication (𝒞\mathcal{C}). Communication-based attacks can result in various malicious consequences in LLM-MAS. This component represents a unique vulnerability surface which is not applicable in single-agent architectures.

Hijack communicating messages (\mathcal{M}). Similar to traditional distributed systems, Agent-in-the-middle attacks can target LLM-MAS when agents are deployed across different servers (28). Message interception poses severe risks, enabling attackers to steal internal messages and inject malicious instructions or misinformation. Besides, researches demonstrate that different communication structures 𝒮\mathcal{S} significantly impact the system’s resilience against communication attacks. For example, (28) compares complete, tree, random, chain structures, and observe that tree and random structures are more robust compared to the other two structures. Similar analyses appear in (34), which shows how decentralized communication patterns provide inherent resistance to single-point compromise, and (95), which quantifies security improvements from redundant communication paths.

Trust management (𝒯\mathcal{T}). As demonstrated by (46; 92), a fundamental vulnerability in LLM-MAS stems from LLMs’ lack of skepticism toward received messages. Unlike human collaborators who evaluate information credibility, LLMs treat all inputs as part of their context window and attempt to continue coherently, regardless of content trustworthiness. Based on (46; 92), this blind trust emerges because agents typically act upon or chain their reasoning from received messages without embedded mechanisms for verifying factuality, consistency, or other trustworthiness aspects. With the rise of A2A and MCP, establishing robust trust management systems becomes increasingly essential. The absence of proper trust verification mechanisms significantly amplifies attack vectors (65; 8).

Table 1: Benchmarks for agent security, list from (84). Details are in Table 3 in Appendix 8.
Benchmark Agent performance Harmful behavior Resource exhausting Performance degradation Privacy leakage
TAMAS (MAS) (39) GPT-4 ASR 76%-94% Y Y Y
Pear (MAS) (15) GPT-5 ASR 50%-100% Y Y Y
Injecagent (99) GPT-4 ASR 33%-47% Y Y Y
Agentdojo (11) GPT-4o ASR 50% Y Y Y Y
Redcode (23) GPT-4o ASR 77% Y Y Y Y
Agent-SafetyBench (104) GPT-4o safe action rate 44.2% Y Y Y
Agent security bench (101) GPT-4o ASR 65% Y Y Y Y
Agentharm (2) GPT-4o harm score 87% Y
R-judge (96) GPT-4o F1 74.45% Y Y Y
Privacylens (72) GPT-4 leakage 25.68% Y
Haicosystem (107) GPT-4 overall risk 49% Y Y Y Y
ToolEmu (68) GPT-4 failure rate 39.4% Y Y Y Y

Environment (\mathcal{E}). Agent systems operate in various environments depending on their specific use cases, generally categorized into two types. The first is physical environments, such as those navigated by autonomous vehicles (21) or robot teamwork scenarios (20). These situations necessitate consideration of diverse security factors including safety issues and engineering challenges. Various studies have also studied the impact of the environment on the agents, e.g., (91; 51; 90; 49). Regarding attack feasibility, while many researchers focus on internet environments, physical attacks have been studied extensively in conventional deep learning models. In computer vision and related fields, defending against potential physical attacks—such as snow obscuring stop signs or blurred camera inputs—remains a significant concern (83). The implementation of the attack in \mathcal{E} needs to be tailored specifically for each scenario.

4 Call to Action: A Preliminary Study

In this section, we present a preliminary experiment that instantiates our proposed framework and demonstrates its ability to reveal nontrivial vulnerabilities in LLM-MAS. We then outline concrete steps for advancing this line of work.

4.1 Settings

We evaluate LLM-MAS vulnerability using a planner–executor architecture, a basic and common design pattern in agentic systems across multiple domains (17; 71; 85). In this paradigm, the planner receives a user task and generates a high-level plan specifying the required actions, which is then passed to the executor. The executor invokes available tools to carry out the specified actions. This separation reflects a realistic deployment setting where reasoning and execution are handled by distinct agents.

In our experiments, we instantiate the planner using GPT-5-mini, and the executor using either GPT-5-mini or GPT-5-nano, allowing us to examine whether vulnerabilities persist across models of different capacities. We conduct experiments on the banking domain from AgentDojo (11), which includes representative user tasks such as performing transactions, checking account balances, and managing basic financial operations. This domain is particularly suitable for security analysis due to its sensitivity to both privacy leakage and harmful actions.

In terms of the attack, we follow (28) to perform a prompt injection attack in the agent communication, and leverage the injection prompts in (15).

To study adversarial robustness, we perform prompt injection attacks targeting agent communication, following the threat model in (28) and using injection templates adapted from (15). Concretely, we evaluate attacks at three distinct stages of the planner–executor pipeline:
Planner start: Injection occurs when the planner receives the user task, allowing the adversary to influence plan generation.
Executor start: Injection is applied when the executor receives the planner’s output, targeting the interpretation of the plan.
Executor end: Injection is introduced after execution, aiming to manipulate the final response or action outcomes.

Malicious goals: We test with (1) privacy leakage and (2) harmful behavior in the experiment.

Evaluation metrics: We test the utility, defined as the proportion of completed original tasks, and the attack success rate (ASR), defined as the proportion of malicious goals achieved.

4.2 Results

Table 2: Security (ASR) and Utility of GPT-based Planner–Executor under Prompt Injection Attacks on the Banking Dataset
Task Executor GPT-5-mini GPT-5-nano
Injection stage ASR Utility ASR Utility
Privacy planner_start 87.14 84.29 92.14 80.71
executor_start 11.43 86.43 0.00 93.57
executor_end 95.71 87.86 96.43 81.43
Harmful planner_start 87.14 84.29 92.14 80.71
executor_start 0.00 90.00 0.00 93.57
executor_end 95.71 87.86 96.43 81.43

The evaluation results are summarized in Table 2. We observe that LLM-MAS exhibit substantial vulnerability to prompt injection attacks across different attack stages, malicious goals, and model variants. In particular, injections at the planner entry point and at the executor output consistently achieve high attack success rates (around 90%), indicating that LLM-MAS vulnerabilities arise from system-level interactions rather than from individual agents or models alone. Moreover, the persistence of these patterns across privacy and harmful objectives, as well as across models of different capacities, suggests that such vulnerabilities are structural and largely goal-agnostic.

Call to Action. Taken together, these findings reinforce our central position that comprehensive vulnerability analysis is essential for building trustworthy LLM-based multi-agent systems. We urge the research community to move beyond isolated, agent-centric evaluations and adopt system-level security analyses that explicitly model malicious goals, attacker capabilities, and the interactions among agents, tools, and execution stages. Benchmark and framework builders should develop evaluation suites specifically tailored to LLM-MAS, enabling structured comparison across architectures, communication patterns, and attack surfaces. In parallel, we encourage exploration of attack vectors unique to multi-agent settings and the integration of trust management mechanisms that can regulate inter-agent interactions under adversarial conditions. Advancing LLM-MAS security requires principled formulations and reproducible analyses that reflect the structural complexity of real-world agentic systems, rather than ad-hoc testing of individual components. We will detail the open challenges and future directions in the following sections.

5 Open Challenges and Future Directions

Based on the comprehensive analysis framework in Section 3 and the preliminary study in Section 4, we propose future directions for the vulnerability and security of LLM-MAS.

5.1 Benchmarking the Vulnerability

To systematically understand the vulnerabilities of LLM-MAS, a comprehensive analysis is essential. Although currently there is no benchmark study specifically focused on the security issues in LLM-MAS, some researches work on benchmarking the security in single-agent systems. In Table 1, we summarize existing benchmarks in single-agent systems and a few benchmarks in MAS categorized by vulnerability types. While LLM-MAS shares similar malicious goals with those found in the existing literature, its unique components introduce different levels of vulnerability and distinct attack surfaces compared to single-agent systems. We list more details as follows:

Communication structure (𝒮\mathcal{S}). While existing literature such as (28) analyzes the influence of 𝒮\mathcal{S} on LLM-MAS, current analyses lack depth in applying established graph metrics. With fruitful studies in graph-related researches, many metrics can be borrowed and worth investigation in the context of LLM-MAS, such as degree centrality, betweenness centrality, and eigenvector centrality (61). These metrics, commonly employed in social network analysis, offer valuable insights for social simulation studies and facilitate evaluation of distributed systems with agents operating across heterogeneous platforms (10).

Granularity of EvaluatorEvaluator. Compared to single evaluation metrics used in LLM attack literature (e.g., ASR for jailbreak attacks), since there are several components in single-agent systems, existing benchmarks in single-agent systems have already considered different granularity of the same evaluation metric. For example, (99) utilizes two versions of ASR considering both (1) whether the malicious program is executed or not, and (2) whether the agent output is valid or not. Similarly, in LLM-MAS, it is also necessary to consider different granularity of the evaluation metrics. Specifically, in addition to the aforementioned ones considered in single-agent systems, it is also possible to refine the evaluation metrics to focus on either individual agents or the overall system. An example is that (4) creates snapshots for each step of the system to comprehensively analyze the failure of the LLM.

Benchmarking protocol performance (\mathcal{M}). Evaluating different communication protocols is essential for both practical deployment and vulnerability quantification. Following (93), besides MCP and A2A, researchers have developed other protocols such as the inter-agent protocol (ANP, (1)) and language to protocol generation (Agora, (59)). Protocol benchmarking presents greater challenges than single-agent system evaluation, as tasks become more complex and implementation hurdles increase significantly. Standardized evaluation frameworks that measure protocol resilience against attacks would significantly advance LLM-MAS security research.

5.2 Developing New Attacks

In the following, we list some potential attacks inspired from Eq. (1):

Structure inference attack. Developing attacks tailored to infer the structure of LLM-MAS represents a critical research direction, which helps developers better understand the potential risks and protect their intellectual properties. Structure inference attacks may operate through systematic probing of the system, where an attacker sends carefully crafted messages to work on different agents and analyzes response patterns, timing differences, and content variations to infer the underlying structure of the system. To formalize such attacks within Eq. (1), we define Evaluator{Evaluator} as the similarity between the inferred structure derived from SMAS_{MA} and query QQ, compared with the actual structure GG.

System stability attack. Based on (26), agents in LLM-MAS often possess varying levels of computational power and data access, leading to various system instability: (1) Coordination failure: dominant agents may prioritize their objectives, leading to misalignment with the goals of other agents. (2) Resource monopolization: stronger agents might monopolize shared resources. (3) System fragility: the system may fail if the dominant agents fail. An attacker can exploit such a property to design different attack surfaces to impact the system stability. To formalize ”stability” within the Eq. 1 framework, corresponding to the above instability factors, we can define Evaluator{Evaluator} as (1) the correlation between the final output and the target attacked agent, (2) the resource allocation (measured by proper divergence metrics), and (3) the source of system failure (measured by the distance between the failure summary and the attack).

Practicality of attacks. While Section 3.3 outlines the feasibility of vulnerabilities, developing practical attacks remains challenging (29), particularly regarding the effect of optimization methods.

There are two potential challenges when performing optimization. First, while precise gradient computation enables GCG-based jailbreak attacks against individual LLMs, calculating the actual gradient of Evaluator{Evaluator} for complex LLM-MAS systems remains computationally infeasible. An existing work (60) attempts to compromise a system with input and output filters via specifically attacking the input filter via jailbreak prefix and attacking the output filter via jailbreak suffix. However, it is still an open question on how to efficiently develop an attack. Second, implementation differences across various multi-agent systems introduce additional complexity, resulting in diverse vulnerability and robustness profiles, making it hard for both the attacker and the defender to implement algorithms with good generalization.

5.3 Defense Strategies

Building on the comprehensive vulnerability analysis, we propose potential defense strategies to systematically enhance the robustness and trustworthiness of LLM-MAS.

Monitor agents for real-time oversights. To enhance the safety and reliability of LLM-MAS, integrating dedicated monitor agents is a promising approach. Similar to human oversight in complex systems, these agents supervise inter-agent communication, detect anomalies, and intervene when necessary, e.g., (6; 81; 56). However, the LLM-powered monitor agents heavily depends on the underlying model’s robustness, reliability, and generalization ability, and may fail given the variety of types of inter-agent communications. Additionally, real-time, per-message monitoring may also introduce latency in the system, and attackers may attempt to evade the monitoring system if they are aware of its mechanism. Thus, although a monitor agent is a feasible solution to enhance the safety of LLM-MAS, developing reliable, low-latency, and resilient monitor agents remains an open challenge.

6 Alternative Views

While our work and similar formulation-driven studies advocate for a comprehensive analytical foundation for LLM-MAS security, other emerging perspectives emphasize practical system design and security engineering principles. For example, (102) argues that LLM agents should be developed with well-established security principles from information systems, such as defense-in-depth, least privilege, and complete mediation, embedded throughout the agent life cycle to mitigate concrete risks like context manipulation and privacy leakage in deployed environments. This contrast highlights a broader methodological distinction in LLM-MAS security research. The security-principle-centric view can be seen as a bottom-up approach: it starts from observed vulnerabilities (i.e. prompt injection attacks) in real deployments and adapts defensive practices from traditional security areas to agent systems, prioritizing immediate, practical safeguards. In contrast, our formulation-centric, top-down perspective seeks to establish general threat models and systematic analyses that unify diverse vulnerabilities and enable principled reasoning across architectures and attack surfaces. Each perspective addresses important facets of the problem space: pragmatic security engineering ensures that deployed systems adhere to defensible design patterns, while comprehensive threat modeling reveals structural vulnerabilities that may not surface in isolated instances.

7 Conclusion

This work proposes a comprehensive framework for analyzing vulnerabilities in LLM-MAS and emphasizes the necessity of such an analysis. Unlike single-agent systems, LLM-MAS introduces novel risks arising from inter-agent communications and compositional complexity. We systematically examine potential threats across all key components of LLM-MAS and identify promising future directions grounded in our analytical framework.

References

  • Agent Network Protocol Community (2025) Agent Network Protocol Community Agent network protocol: the http of the agentic web era. Note: https://www.agent-network-protocol.com/Accessed: 2025-05-04 Cited by: §5.1.
  • Andriushchenko et al. (2024) M. Andriushchenko, A. Souly, M. Dziemian, D. Duenas, M. Lin, J. Wang, D. Hendrycks, A. Zou, Z. Kolter, M. Fredrikson, et al. Agentharm: a benchmark for measuring harmfulness of llm agents. arXiv preprint arXiv:2410.09024. Cited by: Table 1, Table 3.
  • Anthropic (2024) Anthropic Model context protocol (mcp). Note: https://docs.anthropic.com/en/docs/agents-and-tools/mcpAccessed: 2025-05-18 Cited by: §2.
  • Bazinska et al. (2025) J. Bazinska, M. Mathys, F. Casucci, M. Rojas-Carulla, X. Davies, A. Souly, and N. Pfister Breaking agent backbones: evaluating the security of backbone llms in ai agents. arXiv preprint arXiv:2510.22620. Cited by: §5.1.
  • Cemri et al. (2025) M. Cemri, M. Z. Pan, S. Yang, L. A. Agrawal, B. Chopra, R. Tiwari, K. Keutzer, A. Parameswaran, D. Klein, K. Ramchandran, et al. Why do multi-agent llm systems fail?. arXiv preprint arXiv:2503.13657. Cited by: §3.2.
  • Chan et al. (2024) C. Chan, J. Yu, W. Chen, C. Jiang, X. Liu, W. Shi, Z. Liu, W. Xue, and Y. Guo Agentmonitor: a plug-and-play framework for predictive and secure multi-agent systems. arXiv preprint arXiv:2408.14972. Cited by: §5.3.
  • Chao et al. (2023) P. Chao, A. Robey, E. Dobriban, H. Hassani, G. J. Pappas, and E. Wong Jailbreaking black box large language models in twenty queries. arXiv preprint arXiv:2310.08419. Cited by: §3.2.
  • Cloud Security Alliance (2025) Cloud Security AllianceThreat modeling google’s a2a protocol with the maestro framework(Website) Cloud Security Alliance. External Links: Link Cited by: §3.3, §3.3.
  • Crosby and Wallach (2003) S. A. Crosby and D. S. Wallach Denial of service via algorithmic complexity attacks. In Proceedings of the 12th USENIX Security Symposium, Note: https://www.usenix.org/conference/12th-usenix-security-symposium/denial-service-algorithmic-complexity-attacks Cited by: §3.2.
  • Davoodi et al. (2021) M. Davoodi, S. Faryadi, and J. M. Velni A graph theoretic-based approach for deploying heterogeneous multi-agent systems with application in precision agriculture. Journal of intelligent & robotic systems 101, pp. 1–15. Cited by: §5.1.
  • Debenedetti et al. (2024) E. Debenedetti, J. Zhang, M. Balunović, L. Beurer-Kellner, M. Fischer, and F. Tramèr Agentdojo: a dynamic environment to evaluate attacks and defenses for llm agents. arXiv preprint arXiv:2406.13352. Cited by: Table 1, §3, §4.1, Table 3.
  • Deng et al. (2023) G. Deng, Y. Liu, Y. Li, K. Wang, Y. Zhang, Z. Li, H. Wang, T. Zhang, and Y. Liu Masterkey: automated jailbreak across multiple large language model chatbots. arXiv preprint arXiv:2307.08715. Cited by: §3.2.
  • Deng et al. (2025) Z. Deng, Y. Guo, C. Han, W. Ma, J. Xiong, S. Wen, and Y. Xiang Ai agents under threat: a survey of key security challenges and future pathways. ACM Computing Surveys 57 (7), pp. 1–36. Cited by: §1, §3.
  • Dong et al. (2025a) S. Dong, S. Xu, P. He, Y. Li, J. Tang, T. Liu, H. Liu, and Z. Xiang A practical memory injection attack against llm agents. arXiv preprint arXiv:2503.03704. Cited by: §3.3.
  • Dong et al. (2025b) S. Dong, M. Zhang, P. He, L. Ma, B. Thuraisingham, H. Liu, and Y. Xing PEAR: planner-executor agent robustness benchmark. arXiv preprint arXiv:2510.07505. Cited by: Table 1, §4.1, §4.1.
  • Eaton (2024) K. EatonSome ai assistants have this big flaw: they talk too much(Website) Note: Accessed: 2025-04-28 External Links: Link Cited by: §3.3.
  • Erdogan et al. (2025) L. E. Erdogan, N. Lee, S. Kim, S. Moon, H. Furuta, G. Anumanchipalli, K. Keutzer, and A. Gholami Plan-and-act: improving planning of agents for long-horizon tasks. arXiv preprint arXiv:2503.09572. Cited by: §4.1.
  • Fadilpašić (2024) S. FadilpašićMillions of conversations leaked after ai call center hacked(Website) Note: Accessed: 2025-04-28 External Links: Link Cited by: §3.3.
  • Fowler (2025) G. A. FowlerI let chatgpt’s new ‘agent’ manage my life. it spent $31 on a dozen eggs.(Website) Note: Accessed: 2025-04-28 External Links: Link Cited by: §1, §3.2.
  • Geihs (2020) K. Geihs Engineering challenges ahead for robot teamwork in dynamic environments. Applied Sciences 10 (4), pp. 1368. Cited by: §3.3.
  • Giannaros et al. (2023) A. Giannaros, A. Karras, L. Theodorakopoulos, C. Karras, P. Kranias, N. Schizas, G. Kalogeratos, and D. Tsolis Autonomous vehicles: sophisticated attacks, safety issues, challenges, open topics, blockchain, and future directions. Journal of Cybersecurity and Privacy 3 (3), pp. 493–543. Cited by: §3.3.
  • Google Developers (2025) Google DevelopersA2A: a new era of agent interoperability(Website) Google. External Links: Link Cited by: §3.3.
  • Guo et al. (2024a) C. Guo, X. Liu, C. Xie, A. Zhou, Y. Zeng, Z. Lin, D. Song, and B. Li Redcode: risky code execution and generation benchmark for code agents. Advances in Neural Information Processing Systems 37, pp. 106190–106236. Cited by: §3.2, §3.2, Table 1, Table 3.
  • Guo et al. (2024b) T. Guo, X. Chen, Y. Wang, R. Chang, S. Pei, N. V. Chawla, O. Wiest, and X. Zhang Large language model based multi-agents: a survey of progress and challenges. arXiv preprint arXiv:2402.01680. Cited by: §1, §2.
  • Guo et al. (2024c) X. Guo, K. Huang, J. Liu, W. Fan, N. Vélez, Q. Wu, H. Wang, T. L. Griffiths, and M. Wang Embodied llm agents learn to cooperate in organized teams. arXiv preprint arXiv:2403.12482. Cited by: §1.
  • Hammond et al. (2025) L. Hammond, A. Chan, J. Clifton, J. Hoelscher-Obermaier, A. Khan, E. McLean, C. Smith, W. Barfuss, J. Foerster, T. Gavenčiak, et al. Multi-agent risks from advanced ai. arXiv preprint arXiv:2502.14143. Cited by: §5.2.
  • He et al. (2024a) F. He, T. Zhu, D. Ye, B. Liu, W. Zhou, and P. S. Yu The emerged security and privacy of llm agent: a survey with case studies. arXiv preprint arXiv:2407.19354. Cited by: §1, §3.
  • He et al. (2025a) P. He, Y. Lin, S. Dong, H. Xu, Y. Xing, and H. Liu Red-teaming llm multi-agent systems via communication attacks. In Findings of the Association for Computational Linguistics: ACL 2025, pp. 6726–6747. Cited by: §1, §3.3, §4.1, §4.1, §5.1.
  • He et al. (2025b) P. He, Y. Xing, H. Xu, Z. Xiang, and J. Tang Multi-faceted studies on data poisoning can advance llm development. arXiv preprint arXiv:2502.14182. Cited by: §5.2.
  • He et al. (2024b) P. He, H. Xu, Y. Xing, H. Liu, M. Yamada, and J. Tang Data poisoning for in-context learning. arXiv preprint arXiv:2402.02160. Cited by: §3.2.
  • [31] S. Hong, M. Zhuge, J. Chen, X. Zheng, Y. Cheng, J. Wang, C. Zhang, Z. Wang, S. K. S. Yau, Z. Lin, et al. MetaGPT: meta programming for a multi-agent collaborative framework. In The Twelfth International Conference on Learning Representations, Cited by: §1, §2, §3.1.
  • Hong et al. (2023) Y. Hong et al. MetaGPT: meta programming for multi-agent collaborative framework. arXiv preprint arXiv:2308.00352. Cited by: §1.
  • Hua et al. (2024) W. Hua, X. Yang, M. Jin, Z. Li, W. Cheng, R. Tang, and Y. Zhang Trustagent: towards safe and trustworthy llm-based agents through agent constitution. In Trustworthy Multi-modal Foundation Models and AI Agents (TiFA), Cited by: §1, §3.
  • Huang et al. (2024) J. Huang, J. Zhou, T. Jin, X. Zhou, Z. Chen, W. Wang, Y. Yuan, M. R. Lyu, and M. Sap On the resilience of llm-based multi-agent collaboration with faulty agents. arXiv preprint arXiv:2408.00989. Cited by: §1, §3.3.
  • Huang et al. (2022) W. Huang, P. Abbeel, D. Pathak, and I. Mordatch Language models as zero-shot planners: extracting actionable knowledge for embodied agents. In International conference on machine learning, pp. 9118–9147. Cited by: §3.3.
  • Ji et al. (2023) J. Ji, T. Qiu, B. Chen, B. Zhang, H. Lou, K. Wang, Y. Duan, Z. He, J. Zhou, Z. Zhang, et al. Ai alignment: a comprehensive survey. arXiv preprint arXiv:2310.19852. Cited by: §3.3.
  • Jiang et al. (2024) Z. Jiang, Z. Jin, and G. He Safeguarding system prompts for llms. arXiv preprint arXiv:2412.13426. Cited by: §3.2.
  • Jin et al. (2024) H. Jin, A. Zhou, J. Menke, and H. Wang Jailbreaking large language models against moderation guardrails via cipher characters. Advances in Neural Information Processing Systems 37, pp. 59408–59435. Cited by: §3.2.
  • Kavathekar et al. (2025) I. Kavathekar, H. Jain, A. Rathod, P. Kumaraguru, and T. Ganu TAMAS: benchmarking adversarial risks in multi-agent llm systems. arXiv preprint arXiv:2511.05269. Cited by: Table 1.
  • Kim et al. (2024) Y. Kim, C. Park, H. Jeong, Y. S. Chan, X. Xu, D. McDuff, H. Lee, M. Ghassemi, C. Breazeal, H. Park, et al. Mdagents: an adaptive collaboration of llms for medical decision-making. Advances in Neural Information Processing Systems 37, pp. 79410–79452. Cited by: §1.
  • Kimura et al. (2024) S. Kimura, R. Tanaka, S. Miyawaki, J. Suzuki, and K. Sakaguchi Empirical analysis of large vision-language models against goal hijacking via visual prompt injection. arXiv preprint arXiv:2408.03554. Cited by: §3.3.
  • Labs (2025) I. Labs MCP security notification: tool poisoning attacks. Note: Accessed: 2025-04-28 External Links: Link Cited by: §3.3.
  • LangChain (2024) LangChain Plan and execute tutorial. Note: https://github.com/langchain-ai/langgraph/blob/main/docs/docs/tutorials/plan-and-execute/plan-and-execute.ipynbAccessed: 2025-05-21 Cited by: §3.3.
  • Lawler (2025) R. LawlerLas vegas police release chatgpt logs from the suspect in the cybertruck explosion(Website) Note: Accessed: 2025-04-28 External Links: Link Cited by: §1.
  • Lee and Tiwari (2024) D. Lee and M. Tiwari Prompt infection: llm-to-llm prompt injection within multi-agent systems. arXiv preprint arXiv:2410.07283. Cited by: §3.2.
  • Li et al. (2023) G. Li, H. Hammoud, H. Itani, D. Khizbullin, and B. Ghanem Camel: communicative agents for” mind” exploration of large language model society. Advances in Neural Information Processing Systems 36, pp. 51991–52008. Cited by: §2, §3.3.
  • Li et al. (2024a) J. Li, Y. Lai, W. Li, J. Ren, M. Zhang, X. Kang, S. Wang, P. Li, Y. Zhang, W. Ma, et al. Agent hospital: a simulacrum of hospital with evolvable medical agents. arXiv preprint arXiv:2405.02957. Cited by: §3.3, §3.3.
  • Li et al. (2024b) S. Li, L. Yao, L. Zhang, and Y. Li Safety layers in aligned large language models: the key to llm security. arXiv preprint arXiv:2408.17003. Cited by: §3.3.
  • Liao et al. (2024) Z. Liao, L. Mo, C. Xu, M. Kang, J. Zhang, C. Xiao, Y. Tian, B. Li, and H. Sun Eia: environmental injection attack on generalist web agents for privacy leakage. arXiv preprint arXiv:2409.11295. Cited by: §3.3.
  • Liu et al. (2024a) J. Liu, K. Wang, Y. Chen, X. Peng, Z. Chen, L. Zhang, and Y. Lou Large language model-based agents for software engineering: a survey. arXiv preprint arXiv:2409.02977. Cited by: §1.
  • Liu et al. (2024b) T. Liu, Z. Deng, G. Meng, Y. Li, and K. Chen Demystifying rce vulnerabilities in llm-integrated apps. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, pp. 1716–1730. Cited by: §3.3.
  • Liu et al. (2023a) X. Liu, N. Xu, M. Chen, and C. Xiao Autodan: generating stealthy jailbreak prompts on aligned large language models. arXiv preprint arXiv:2310.04451. Cited by: §3.2.
  • Liu et al. (2024c) X. Liu, Z. Yu, Y. Zhang, N. Zhang, and C. Xiao Automatic and universal prompt injection attacks against large language models. arXiv preprint arXiv:2403.04957. Cited by: §3.3.
  • Liu et al. (2023b) Y. Liu, Y. Yao, J. Ton, X. Zhang, R. Guo, H. Cheng, Y. Klochkov, M. F. Taufiq, and H. Li Trustworthy llms: a survey and guideline for evaluating large language models’ alignment. arXiv preprint arXiv:2308.05374. Cited by: §3.3.
  • Lu et al. (2024) M. Lu, B. Ho, D. Ren, and X. Wang Triageagent: towards better multi-agents collaborations for large language model-based clinical triage. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 5747–5764. Cited by: §1.
  • Luo et al. (2025) H. Luo, S. Dai, C. Ni, X. Li, G. Zhang, K. Wang, T. Liu, and H. Salam AgentAuditor: human-level safety and security evaluation for llm agents. In Advances in Neural Information Processing Systems, Cited by: §5.3.
  • Madry et al. (2017) A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083. Cited by: §3.2.
  • Mandi et al. (2024) Z. Mandi, S. Jain, and S. Song Roco: dialectic multi-robot collaboration with large language models. In 2024 IEEE International Conference on Robotics and Automation (ICRA), pp. 286–299. Cited by: §2.
  • Marro et al. (2024) S. Marro, E. La Malfa, J. Wright, G. Li, N. Shadbolt, M. Wooldridge, and P. Torr A scalable communication protocol for networks of large language models. arXiv preprint arXiv:2410.11905. Cited by: §5.1.
  • McKenzie et al. (2025) I. R. McKenzie, O. J. Hollinsworth, T. Tseng, X. Davies, S. Casper, A. D. Tucker, R. Kirk, and A. Gleave STACK: adversarial attacks on llm safeguard pipelines. arXiv preprint arXiv:2506.24068. Cited by: §5.2.
  • Newman (2018) M. Newman Networks. Oxford university press. Cited by: §5.1.
  • Ngo et al. (2022) R. Ngo, L. Chan, and S. Mindermann The alignment problem from a deep learning perspective. arXiv preprint arXiv:2209.00626. Cited by: §3.3.
  • Park et al. (2023) J. S. Park et al. Generative agents: interactive simulacra of human behavior. In Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, Cited by: §2, §2.
  • Perez and Ribeiro (2022) F. Perez and I. Ribeiro Ignore previous prompt: attack techniques for language models. arXiv preprint arXiv:2211.09527. Cited by: §3.2.
  • Posta (2024) C. PostaUnderstanding mcp and a2a attack vectors for ai agents(Website) External Links: Link Cited by: §3.3.
  • Qi et al. (2023) X. Qi, Y. Zeng, T. Xie, P. Chen, R. Jia, P. Mittal, and P. Henderson Fine-tuning aligned language models compromises safety, even when users do not intend to!. arXiv preprint arXiv:2310.03693. Cited by: §3.3.
  • Qian et al. (2024) C. Qian, W. Liu, H. Liu, N. Chen, Y. Dang, J. Li, C. Yang, W. Chen, Y. Su, X. Cong, et al. Chatdev: communicative agents for software development. In Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers), pp. 15174–15186. Cited by: §1, §1.
  • Ruan et al. (2023) Y. Ruan, H. Dong, A. Wang, S. Pitis, Y. Zhou, J. Ba, Y. Dubois, C. J. Maddison, and T. Hashimoto Identifying the risks of lm agents with an lm-emulated sandbox. arXiv preprint arXiv:2309.15817. Cited by: §1, §3.3, Table 1, Table 3.
  • [69] (2025) Sampling: let your servers request completions from llms. https://modelcontextprotocol.io/docs/concepts/sampling. Cited by: §3.3.
  • Schmitt and Flechais (2024) M. Schmitt and I. Flechais Digital deception: generative artificial intelligence in social engineering and phishing. Artificial Intelligence Review 57 (12), pp. 1–23. Cited by: §3.2.
  • Shao et al. (2025) C. Shao, X. Hu, Y. Lin, and F. Xu Division-of-thoughts: harnessing hybrid language model synergy for efficient on-device agents. In Proceedings of the ACM on Web Conference 2025, pp. 1822–1833. Cited by: §4.1.
  • Shao et al. (2024) Y. Shao, T. Li, W. Shi, Y. Liu, and D. Yang Privacylens: evaluating privacy norm awareness of language models in action. arXiv preprint arXiv:2409.00138. Cited by: Table 1, Table 3.
  • Shen et al. (2024) X. Shen, Y. Qu, M. Backes, and Y. Zhang Prompt stealing attacks against {\{text-to-image}\} generation models. In 33rd USENIX Security Symposium (USENIX Security 24), pp. 5823–5840. Cited by: §3.2.
  • Sheshadri et al. (2024) A. Sheshadri, A. Ewart, P. Guo, A. Lynch, C. Wu, V. Hebbar, H. Sleight, A. C. Stickland, E. Perez, D. Hadfield-Menell, et al. Latent adversarial training improves robustness to persistent harmful behaviors in llms. arXiv preprint arXiv:2407.15549. Cited by: §3.2.
  • Shi et al. (2024) J. Shi, Z. Yuan, Y. Liu, Y. Huang, P. Zhou, L. Sun, and N. Z. Gong Optimization-based prompt injection attack to llm-as-a-judge. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, pp. 660–674. Cited by: §3.3.
  • Song et al. (2023) C. H. Song, J. Wu, C. Washington, B. M. Sadler, W. Chao, and Y. Su Llm-planner: few-shot grounded planning for embodied agents with large language models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 2998–3009. Cited by: §1.
  • Talebirad and Nadiri (2023) Y. Talebirad and A. Nadiri Multi-agent collaboration: harnessing the power of intelligent llm agents. arXiv preprint arXiv:2306.03314. Cited by: §1.
  • Tang et al. (2023) X. Tang, A. Zou, Z. Zhang, Z. Li, Y. Zhao, X. Zhang, A. Cohan, and M. Gerstein Medagents: large language models as collaborators for zero-shot medical reasoning. arXiv preprint arXiv:2311.10537. Cited by: §1, §2.
  • [79] (2025) Transports: learn about mcp’s communication mechanisms. https://modelcontextprotocol.io/docs/concepts/transports. Cited by: §3.3.
  • USENIX (2005) USENIX Memory exhaustion attacks. Note: https://www.usenix.org/legacyurl/memory-exhaustion-attacks Cited by: §3.2.
  • Vyas and Mercangöz (2024) J. Vyas and M. Mercangöz Autonomous industrial control using an agentic framework with large language models. arXiv preprint arXiv:2411.05904. Cited by: §5.3.
  • Wang et al. (2025a) B. Wang, W. He, P. He, S. Zeng, Z. Xiang, Y. Xing, and J. Tang Unveiling privacy risks in llm agent memory. arXiv preprint arXiv:2502.13172. Cited by: §3.2.
  • Wang et al. (2022) D. Wang, W. Yao, T. Jiang, G. Tang, and X. Chen A survey on physical adversarial attack in computer vision. arXiv preprint arXiv:2209.14262. Cited by: §3.3.
  • Wang et al. (2025b) K. Wang, G. Zhang, Z. Zhou, J. Wu, M. Yu, S. Zhao, C. Yin, J. Fu, Y. Yan, H. Luo, et al. A comprehensive survey in llm (-agent) full stack safety: data, training and deployment. arXiv preprint arXiv:2504.15585. Cited by: Table 1, Table 1.
  • Wang and Liu (2024) X. Wang and B. Liu Oscar: operating system control via state-aware reasoning and re-planning. arXiv preprint arXiv:2410.18963. Cited by: §4.1.
  • Wei et al. (2024) B. Wei, K. Huang, Y. Huang, T. Xie, X. Qi, M. Xia, P. Mittal, M. Wang, and P. Henderson Assessing the brittleness of safety alignment via pruning and low-rank modifications. arXiv preprint arXiv:2402.05162. Cited by: §3.3.
  • Wei et al. (2025) Q. Wei, T. Yang, Y. Wang, X. Li, L. Li, Z. Yin, Y. Zhan, T. Holz, Z. Lin, and X. Wang A-memguard: a proactive defense framework for llm-based agent memory. arXiv preprint arXiv:2510.02373. Cited by: §3.2.
  • Wikipedia contributors (2025) Wikipedia contributors Denial-of-service attack. Wikipedia. Note: https://en.wikipedia.org/wiki/Denial-of-service_attack Cited by: §3.2.
  • Willison (2022) S. Willison Prompt injection attacks against GPT-3. Note: Accessed: 2025-05-16 External Links: Link Cited by: §3.3.
  • Wu et al. (2024a) F. Wu, S. Wu, Y. Cao, and C. Xiao Wipi: a new web threat for llm-driven web agents. arXiv preprint arXiv:2402.16965. Cited by: §3.3.
  • Wu et al. (2024b) F. Wu, N. Zhang, S. Jha, P. McDaniel, and C. Xiao A new era in llm security: exploring security concerns in real-world llm-based systems. arXiv preprint arXiv:2402.18649. Cited by: §3.3.
  • Wu et al. (2023) Q. Wu, G. Bansal, J. Zhang, Y. Wu, S. Zhang, E. Zhu, B. Li, L. Jiang, X. Zhang, and C. Wang Autogen: enabling next-gen llm applications via multi-agent conversation framework. arXiv preprint arXiv:2308.08155. Cited by: §1, §2, §3.3.
  • Yang et al. (2025) Y. Yang, H. Chai, Y. Song, S. Qi, M. Wen, N. Li, J. Liao, H. Hu, J. Lin, G. Chang, et al. A survey of ai agent protocols. arXiv preprint arXiv:2504.16736. Cited by: §5.1.
  • Yang et al. (2024) Y. Yang, X. Zhang, Y. Jiang, X. Chen, H. Wang, S. Ji, and Z. Wang Prsa: prompt reverse stealing attacks against large language models. arXiv e-prints, pp. arXiv–2402. Cited by: §3.2.
  • Yu et al. (2024) M. Yu, S. Wang, G. Zhang, J. Mao, C. Yin, Q. Liu, Q. Wen, K. Wang, and Y. Wang Netsafe: exploring the topological safety of multi-agent networks. arXiv preprint arXiv:2410.15686. Cited by: §1, §3.3.
  • Yuan et al. (2024) T. Yuan, Z. He, L. Dong, Y. Wang, R. Zhao, T. Xia, L. Xu, B. Zhou, F. Li, Z. Zhang, et al. R-judge: benchmarking safety risk awareness for llm agents. arXiv preprint arXiv:2401.10019. Cited by: Table 1, Table 3.
  • Yuksekgonul et al. (2024) M. Yuksekgonul, F. Bianchi, J. Boen, S. Liu, Z. Huang, C. Guestrin, and J. Zou Textgrad: automatic” differentiation” via text. arXiv preprint arXiv:2406.07496. Cited by: §3.3.
  • Zeng et al. (2024) S. Zeng, J. Zhang, P. He, Y. Xing, Y. Liu, H. Xu, J. Ren, S. Wang, D. Yin, Y. Chang, et al. The good and the bad: exploring privacy issues in retrieval-augmented generation (rag). arXiv preprint arXiv:2402.16893. Cited by: §3.2.
  • Zhan et al. (2024) Q. Zhan, Z. Liang, Z. Ying, and D. Kang Injecagent: benchmarking indirect prompt injections in tool-integrated large language model agents. arXiv preprint arXiv:2403.02691. Cited by: §3.3, Table 1, §3, §5.1, Table 3.
  • Zhang et al. (2024a) B. Zhang, Y. Tan, Y. Shen, A. Salem, M. Backes, S. Zannettou, and Y. Zhang Breaking agents: compromising autonomous llm agents through malfunction amplification. arXiv preprint arXiv:2407.20859. Cited by: §3.
  • Zhang et al. (2024b) H. Zhang, J. Huang, K. Mei, Y. Yao, Z. Wang, C. Zhan, H. Wang, and Y. Zhang Agent security bench (asb): formalizing and benchmarking attacks and defenses in llm-based agents. arXiv preprint arXiv:2410.02644. Cited by: §3.3, Table 1, Table 3.
  • Zhang et al. (2025) K. Zhang, Z. Su, P. Chen, E. Bertino, X. Zhang, and N. Li LLM agents should employ security principles. arXiv preprint arXiv:2505.24019. Cited by: §6.
  • Zhang et al. (2024c) Z. Zhang, Y. Zhang, L. Li, H. Gao, L. Wang, H. Lu, F. Zhao, Y. Qiao, and J. Shao Psysafe: a comprehensive framework for psychological-based attack, defense, and evaluation of multi-agent system safety. arXiv preprint arXiv:2401.11880. Cited by: §1, §3.
  • Zhang et al. (2024d) Z. Zhang, S. Cui, Y. Lu, J. Zhou, J. Yang, H. Wang, and M. Huang Agent-safetybench: evaluating the safety of llm agents. arXiv preprint arXiv:2412.14470. Cited by: §3.3, Table 1, Table 3.
  • Zheng et al. (2023) Z. Zheng, O. Zhang, H. L. Nguyen, N. Rampal, A. H. Alawadhi, Z. Rong, T. Head-Gordon, C. Borgs, J. T. Chayes, and O. M. Yaghi Chatgpt research group for optimizing the crystallinity of mofs and cofs. ACS Central Science 9 (11), pp. 2161–2170. Cited by: §1.
  • Zhou et al. (2024a) T. Zhou, P. Wang, Y. Wu, and H. Yang FinRobot: ai agent for equity research and valuation with large language models. arXiv preprint arXiv:2411.08804. Cited by: §1.
  • Zhou et al. (2024b) X. Zhou, H. Kim, F. Brahman, L. Jiang, H. Zhu, X. Lu, F. Xu, B. Y. Lin, Y. Choi, N. Mireshghallah, et al. Haicosystem: an ecosystem for sandboxing safety risks in human-ai interactions. arXiv preprint arXiv:2409.16427. Cited by: Table 1, Table 3.
  • Zhou et al. (2025) Z. Zhou, Z. Li, J. Zhang, Y. Zhang, K. Wang, Y. Liu, and Q. Guo CORBA: contagious recursive blocking attacks on multi-agent systems based on large language models. arXiv preprint arXiv:2502.14529. Cited by: §3.2.
  • Zhu et al. (2025) P. Zhu, Z. Zhou, Y. Zhang, S. Yan, K. Wang, and S. Su Demonagent: dynamically encrypted multi-backdoor implantation attack on llm-based agent. arXiv preprint arXiv:2502.12575. Cited by: §3.3.
  • Ziegler et al. (2019) D. M. Ziegler, N. Stiennon, J. Wu, T. B. Brown, A. Radford, D. Amodei, and P. F. Christiano Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593. External Links: Link Cited by: §3.2.
  • Zou et al. (2023) A. Zou, Z. Wang, N. Carlini, M. Nasr, J. Z. Kolter, and M. Fredrikson Universal and transferable adversarial attacks on aligned language models. arXiv preprint arXiv:2307.15043. Cited by: §3.2.

8 Additional Materials

Benchmark Malicious goal Example/category/metric/task from the benchmark
Injecagent (99) Harmful behavior Financial harm
Resource exhausting Data security
Privacy leakage Data stealing attack
Agentdojo11 1 Attacks can be found in https://github.com/ethz-spylab/agentdojo/tree/main/src/agentdojo/attacks (11) Harmful behavior OffensiveEmailDoSAttack
Resource exhausting DoSAttack
Performance degradation CaptchaDoSAttack
Privacy leakage Send a generic email to sharing sensitive information
Redcode (23) Harmful behavior Add a risky alias to .bashrc
Resource exhausting Amplification
Performance degradation Buggy code: Miss default case
Privacy leakage Read sensitive files
Agent-SafetyBench (104) Harmful behavior Spread unsafe information/misinformation
Performance degradation Compromise availability
Privacy leakage Leak sensitive information
Agent security bench22 2 Attack tasks from https://github.com/agiresearch/ASB/blob/main/data/all_attack_tools_aggressive.jsonl (101) Harmful behavior InvestmentDiversion
Resource exhausting ResourceAllocationHijack
Performance degradation InvestmentScam
Privacy leakage StealthDataExport
Agentharm (2) Harmful behavior Disinformation
R-judge (96) Harmful behavior Financial loss, illegal activities
Resource exhausting Incorrect configuration of computer security
Performance degradation Incorrect configuration of computer security
Privacy leakage Extract sensitive information
Privacylens (72) Privacy leakage Leakage of sensitive information
Haicosystem (107) Harmful behavior Content safety risk
Resource exhausting System operational risk
Performance degradation Goal completion
Privacy leakage Legal and rights related risks
ToolEmu33 3 Tasks can be found in https://github.com/ryoungj/ToolEmu/blob/main/assets/all_cases.json (68) Harmful behavior Reputation damage (FacebookManager)
Resource exhausting Misconfiguration (AugustSmartLock+Gmail)
Performance degradation Misinformation (FacebookManager)
Privacy leakage Privacy breach (Binance+Terminal+Gmail)
Table 3: Details of malicious goals in existing benchmarks.

langley00