Multi-Agent Systems Execute Arbitrary Malicious Code
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Multi-agent systems coordinate LLM-based agents to perform tasks on users' behalf. In real-world applications, multi-agent systems will inevitably interact with untrusted inputs, such as malicious Web content, files, email attachments, and more. Using several recently proposed multi-agent frameworks as concrete examples, we demonstrate that adversarial content can hijack control and communication within the system to invoke unsafe agents and functionalities. This results in a complete security breach, up to execution of arbitrary malicious code on the user's device or exfiltration of sensitive data from the user's containerized environment. For example, when agents are instantiated with GPT-4o, Web-based attacks successfully cause the multi-agent system execute arbitrary malicious code in 58-90% of trials (depending on the orchestrator). In some model-orchestrator configurations, the attack success rate is 100%. We also demonstrate that these attacks succeed even if individual agents are not susceptible to direct or indirect prompt injection, and even if they refuse to perform harmful actions. We hope that these results will motivate development of trust and security models for multi-agent systems before they are widely deployed.
Key facts. Cited by 53 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 41 of its 82 references that are in the map. First posted on arXiv 15 Mar 2025.
Builds on
41 of 82 references.
Closest ancestors · 8
Same direction, newest first
- 2024The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents21 Dec
- 2024Imprompter: Tricking LLM Agents into Improper Tool Use19 Oct
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems9 Oct
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
- 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplification30 Jul
- 2024Flooding Spread of Manipulated Knowledge in LLM-Based Multi-Agent Communities10 Jul
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
Other references · 33
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
21 more
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 366
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
- 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Taskscited by 232
- 2024AI Agents That Mattercited by 219
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
- 2023Harms from Increasingly Agentic Algorithmic Systemscited by 135
- 2024The Ethics of Advanced AI Assistantscited by 107
- 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuningcited by 106
- 2024On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty Agentscited by 99
- 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 96
- 2024Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attackscited by 85
- 2024Here Comes The AI Worm: Unleashing Zero-click Worms that Target GenAI-Powered Applicationscited by 59
- 2024Signed-Prompt: A New Approach to Prevent Prompt Injection Attacks Against LLM-Integrated Applicationscited by 54
- 2023Demystifying RCE Vulnerabilities in LLM-Integrated Appscited by 37
- 2024SPINACH: SPARQL-Based Information Navigation for Challenging Real-World Questionscited by 27
- 2024ConfusedPilot: Confused Deputy Risks in RAG-based LLMscited by 22
- 2025Rerouting LLM Routerscited by 11
- 2024Self-interpreting Adversarial Imagescited by 7
- 2024Privacy Bias in Language Models: A Contextual Integrity-based Auditing Metriccited by 6
Built on by
Citing papers per year: 2025: 18; 2026: 35.
53 papers.
Sort:
By area:
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
- 2025SAGA: A Security Architecture for Governing AI Agentic Systemscited by 45
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 29
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
- 2025SentinelAgent: Graph-based Anomaly Detection in Multi-Agent Systemscited by 22
- 2026SkillProbe: Security Auditing for Emerging Agent Skill Marketplaces via Multi-Agent Collaborationcited by 21
- 2025Securing GenAI Multi-Agent Systems Against Tool Squatting: A Zero Trust Registry-Based Approachcited by 18
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systemscited by 16
- 2025BlockA2A: Towards Secure and Verifiable Agent-to-Agent Interoperabilitycited by 15
- 2026From Spark to Fire: Modeling and Mitigating Error Cascades in LLM-Based Multi-Agent Collaborationcited by 14
38 more
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injectioncited by 14
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systemscited by 12
- 2025Topology Matters: Measuring Memory Leakage in Multi-Agent LLMscited by 11
- 2025Terrarium: Revisiting the Blackboard for Multi-Agent Safety, Privacy, and Security Studiescited by 10
- 2026OMNI-LEAK: Orchestrator Multi-Agent Network Induced Data Leakagecited by 9
- 2025STAC: When Innocent Tools Form Dangerous Chains for LLM Agentscited by 8
- 2025SentinelNet: Safeguarding Multi-Agent Collaboration Through Credit-Based Dynamic Threat Detectioncited by 8
- 2026AgentMark: Utility-Preserving Behavioral Watermarking for Agentscited by 8
- 2026DiLLS: Interactive Diagnosis of LLM-based Multi-agent Systems via Layered Summary of Agent Behaviorscited by 7
- 2026FlowSteer: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systemscited by 7
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2026SafeClaw-R: Towards Safe and Secure Multi-Agent Personal Assistantscited by 6
- 2026Semantic Intent Fragmentation: A Single-Shot Compositional Attack on Multi-Agent AI Pipelinescited by 5
- 2026Sequential Behavioral Watermarking for LLM Agentscited by 5
- 2025Evo-MARL: Co-Evolutionary Multi-Agent Reinforcement Learning for Internalized Safetycited by 4
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?cited by 3
- 2026Operational Reframing and Approval-Framed Delegation in Multi-Agent LLM Safetycited by 3
- 2025Analyzing Code Injection Attacks on LLM-based Multi-Agent Systems in Software Developmentcited by 2
- 2026MaMa: A Game-Theoretic Approach for Designing Safe Agentic Systemscited by 2
- 2026AgenticCyOps: Securing Multi-Agentic AI Integration in Enterprise Cyber Operationscited by 2
- 2026Conjunctive Prompt Attacks in Multi-Agent LLM Systemscited by 2
- 2026When Child Inherits: Modeling and Exploiting Subagent Spawn in Multi-Agent Networkscited by 2
- 2026Agent Meltdowns: The Road to Hell Is Paved with Helpful Agentscited by 2
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agentscited by 2
- 2025MiniScope: A Least Privilege Framework for Authorizing Tool Calling Agentscited by 1
- 2026Challenges and Future Directions in Agentic Reverse Engineering Systemscited by 1
- 2026The Containment Gap: How Deployed Agentic AI Frameworks Fail Public-Facing Safety Requirementscited by 1
- 2026When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systemscited by 1
- 2026BRA-Audit: Budgeted Runtime Auditing for LLM Multi-Agent Systems via Cumulative-Exposure Audit-Point Placementcited by 1
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systemscited by 1
- 2025From Benchmark Data To Applicable Program Repair: An Experience Reportcited by 0
- 2026MESA: Prioritizing Vulnerable Communication Channels for Securing Multi-Agent Systemscited by 0
- 2026Cross-Agent Campaign Attribution: Linking Asynchronous Attacks Across LLM Agentscited by 0
- 2026Even More Deception: Objective Misalignment in Mixed-Motive LLM Multi-Agent Systemscited by 0
- 2026From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systemscited by 0
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivitycited by 0
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Modelscited by 0
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarkscited by 0
50 most cited of 53 All 53 (JSON)
- 2026Agent-Canary-Mas: End-to-End Evaluation of Protocol Risk in Long-Horizon Multi-Agent Systems11 Oct 2026
- 2026Trust the Brand, Lose Control: How Identity Hijacks LLM Agent Orchestration26 Sep 2026
- 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems24 Sep 2026
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarks15 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models11 Aug 2026
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivity4 Aug 2026
- 2026BRA-Audit: Budgeted Runtime Auditing for LLM Multi-Agent Systems via Cumulative-Exposure Audit-Point Placement2 Aug 2026
- 2026When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems1 Aug 2026
- 2026From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systems31 Jul 2026
- 2026Even More Deception: Objective Misalignment in Mixed-Motive LLM Multi-Agent Systems28 Jul 2026
- 2026Cross-Agent Campaign Attribution: Linking Asynchronous Attacks Across LLM Agents21 Jul 2026
38 more
- 2026Operational Reframing and Approval-Framed Delegation in Multi-Agent LLM Safety8 Jul 2026
- 2026MESA: Prioritizing Vulnerable Communication Channels for Securing Multi-Agent Systems29 Jun 2026
- 2026The Containment Gap: How Deployed Agentic AI Frameworks Fail Public-Facing Safety Requirements11 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agents30 May 2026
- 2026Agent Meltdowns: The Road to Hell Is Paved with Helpful Agents18 May 2026
- 2026FlowSteer: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systems12 May 2026
- 2026Sequential Behavioral Watermarking for LLM Agents11 May 2026
- 2026When Child Inherits: Modeling and Exploiting Subagent Spawn in Multi-Agent Networks8 May 2026
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection5 May 2026
- 2026Conjunctive Prompt Attacks in Multi-Agent LLM Systems17 Apr 2026
- 2026Challenges and Future Directions in Agentic Reverse Engineering Systems15 Apr 2026
- 2026Semantic Intent Fragmentation: A Single-Shot Compositional Attack on Multi-Agent AI Pipelines8 Apr 2026
- 2026SafeClaw-R: Towards Safe and Secure Multi-Agent Personal Assistants28 Mar 2026
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?27 Mar 2026
- 2026SkillProbe: Security Auditing for Emerging Agent Skill Marketplaces via Multi-Agent Collaboration22 Mar 2026
- 2026AgenticCyOps: Securing Multi-Agentic AI Integration in Enterprise Cyber Operations10 Mar 2026
- 2026From Spark to Fire: Modeling and Mitigating Error Cascades in LLM-Based Multi-Agent Collaboration4 Mar 2026
- 2026OMNI-LEAK: Orchestrator Multi-Agent Network Induced Data Leakage13 Feb 2026
- 2026DiLLS: Interactive Diagnosis of LLM-based Multi-agent Systems via Layered Summary of Agent Behaviors5 Feb 2026
- 2026MaMa: A Game-Theoretic Approach for Designing Safe Agentic Systems4 Feb 2026
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systems11 Jan 2026
- 2026AgentMark: Utility-Preserving Behavioral Watermarking for Agents5 Jan 2026
- 2025Analyzing Code Injection Attacks on LLM-based Multi-Agent Systems in Software Development26 Dec 2025
- 2025MiniScope: A Least Privilege Framework for Authorizing Tool Calling Agents11 Dec 2025
- 2025Topology Matters: Measuring Memory Leakage in Multi-Agent LLMs4 Dec 2025
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systems20 Oct 2025
- 2025SentinelNet: Safeguarding Multi-Agent Collaboration Through Credit-Based Dynamic Threat Detection17 Oct 2025
- 2025Terrarium: Revisiting the Blackboard for Multi-Agent Safety, Privacy, and Security Studies16 Oct 2025
- 2025STAC: When Innocent Tools Form Dangerous Chains for LLM Agents30 Sep 2025
- 2025From Benchmark Data To Applicable Program Repair: An Experience Report22 Aug 2025
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025Evo-MARL: Co-Evolutionary Multi-Agent Reinforcement Learning for Internalized Safety5 Aug 2025
- 2025BlockA2A: Towards Secure and Verifiable Agent-to-Agent Interoperability2 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agents30 Jun 2025
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasures24 Jun 2025
- 2025SentinelAgent: Graph-based Anomaly Detection in Multi-Agent Systems30 May 2025
50 newest of 53 All 53 (JSON)
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
- 2025SAGA: A Security Architecture for Governing AI Agentic Systemscited by 45
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 29
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
- 2025SentinelAgent: Graph-based Anomaly Detection in Multi-Agent Systemscited by 22
- 2026SkillProbe: Security Auditing for Emerging Agent Skill Marketplaces via Multi-Agent Collaborationcited by 21
- 2025BlockA2A: Towards Secure and Verifiable Agent-to-Agent Interoperabilitycited by 15
- 2026From Spark to Fire: Modeling and Mitigating Error Cascades in LLM-Based Multi-Agent Collaborationcited by 14
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injectioncited by 14
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systemscited by 12
- 2025Topology Matters: Measuring Memory Leakage in Multi-Agent LLMscited by 11
12 most cited of 48 All 48 (JSON)
- 2026Agent-Canary-Mas: End-to-End Evaluation of Protocol Risk in Long-Horizon Multi-Agent Systems11 Oct 2026
- 2026Trust the Brand, Lose Control: How Identity Hijacks LLM Agent Orchestration26 Sep 2026
- 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems24 Sep 2026
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarks15 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models11 Aug 2026
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivity4 Aug 2026
- 2026BRA-Audit: Budgeted Runtime Auditing for LLM Multi-Agent Systems via Cumulative-Exposure Audit-Point Placement2 Aug 2026
- 2026When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems1 Aug 2026
- 2026From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systems31 Jul 2026
- 2026Even More Deception: Objective Misalignment in Mixed-Motive LLM Multi-Agent Systems28 Jul 2026
- 2026Cross-Agent Campaign Attribution: Linking Asynchronous Attacks Across LLM Agents21 Jul 2026
12 newest of 48 All 48 (JSON)
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Securing GenAI Multi-Agent Systems Against Tool Squatting: A Zero Trust Registry-Based Approachcited by 18
- 2026Agent Meltdowns: The Road to Hell Is Paved with Helpful Agentscited by 2
- 2025From Benchmark Data To Applicable Program Repair: An Experience Reportcited by 0
- 2026Agent Meltdowns: The Road to Hell Is Paved with Helpful Agents18 May 2026
- 2025From Benchmark Data To Applicable Program Repair: An Experience Report22 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Securing GenAI Multi-Agent Systems Against Tool Squatting: A Zero Trust Registry-Based Approach28 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2025Exposing Weak Links in Multi-Agent Systems under Adversarial Prompting
- 2025Shadows in the Code: Exploring the Risks and Defenses of LLM-based Multi-Agent Software Development Systems
- 2025Demonstrations of Integrity Attacks in Multi-Agent Systems
- 2025Red-Teaming LLM Multi-Agent Systems via Communication Attacks
- 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
- 2025Web Fraud Attacks Against LLM-Driven Multi-Agent Systems
- 2025Measuring the Security of Mobile LLM Agents under Adversarial Prompts from Untrusted Third-Party Channels