When Agents Go Rogue: Activation-Based Detection of Malicious Behaviors in Multi-Agent Systems
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
While enabling effective collaboration on complex tasks, LLM-based Multi-Agent Systems (MAS) face critical security challenges due to vulnerabilities at the agent and interaction levels. Most existing MAS security defenses are built upon two core assumptions: semantically-explicit malicious attacks and explicit graph-based modeling of the MAS topology and agent-level interactions. In practice, real-world attacks are becoming more semantically stealthy, while MAS execution is typically asynchronous without the temporal alignment assumed by graph-based propagation models. To address these limitations, we propose AcMAS, an activation-based framework for malicious-behavior detection in MAS. By analyzing internal reasoning states in the activation space of local agents, AcMAS detects even stealthy attacks in a synchronization-robust fashion, without relying on explicit interaction graphs. Moreover, our activation analysis provides critical signals to guide AcMAS in restoring the functionality of compromised agents, rather than the disruptive agent isolation commonly used by the state-of-the-art methods. Comprehensive evaluation demonstrates that AcMAS significantly outperforms graph-based baselines against stealthy attacks, by +0.22 F1 in synchronous settings (0.94 vs. 0.72) and by +0.55 F1 in asynchronous settings (0.93 vs. 0.38), with generalization across diverse open-source LLM backbones, attack intensity, and MAS scale.
Key facts. Cited by 1 paper 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 63 of its 73 references that are in the map. First posted on arXiv 7 Jul 2026.
Builds on
63 of 73 references.
Closest ancestors · 16
Same direction, newest first
- 2025BlindGuard: Safeguarding LLM-based Multi-Agent Systems under Unknown Attacks11 Aug
- 2025Attack the Messages, Not the Agents: A Multi-round Adaptive Stealthy Tampering Framework for LLM-MAS5 Aug
- 2025MASTER: Multi-Agent Security Through Exploration of Roles and Topological Structures -- A Comprehensive Framework24 May
- 2025textitAgents Under Siege: Breaking Pragmatic Multi-Agent LLM Systems with Optimized Prompt Attacks31 Mar
- 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasures12 Mar
- 2025AgentSafe: Safeguarding Large Language Model-based Multi-agent Systems via Hierarchical Data Management6 Mar
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction5 Mar
- 2025CORBA: Contagious Recursive Blocking Attacks on Multi-Agent Systems Based on Large Language Models20 Feb
- 2025Unveiling Privacy Risks in LLM Agent Memory17 Feb
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systems16 Feb
- 2024NetSafe: Exploring the Topological Safety of Multi-agent Networks21 Oct
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems9 Oct
4 more
- 2024The Wolf Within: Covert Injection of Malice into MLLM Societies via an MLLM Operative20 Feb
- 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast13 Feb
- 2024PsySafe: A Comprehensive Framework for Psychological-based Attack, Defense, and Evaluation of Multi-agent System Safety22 Jan
- 2023Evil Geniuses: Delving into the Safety of LLM-based Agents20 Nov
Other references · 47
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Qwen3 Technical Reportcited by 8,820
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Qwen Technical Reportcited by 3,344
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,395
35 more
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 769
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 598
- 2024Scaling and evaluating sparse autoencoderscited by 553
- 2024AFlow: Automating Agentic Workflow Generationcited by 432
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
- 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agentscited by 333
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 241
- 2024ResearchAgent: Iterative Research Idea Generation over Scientific Literature with Large Language Modelscited by 210
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 191
- 2025Multi-agent Architecture Search via Agentic Supernetcited by 179
- 2023Mindstorms in Natural Language-Based Societies of Mindcited by 107
- 2024Get my drift? Catching LLM Task Drift with Activation Deltascited by 72
- 2024Uncovering Safety Risks of Large Language Models through Concept Activation Vectorcited by 67
- 2025JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulationcited by 54
- 2023Truncated Affinity Maximization: One-class Homophily Modeling for Graph Anomaly Detectioncited by 43
- 2024Large Language Model for Participatory Urban Planningcited by 40
- 2024RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysiscited by 33
- 2025Poison-RAG: Adversarial Data Poisoning Attacks on Retrieval-Augmented Generation in Recommender Systemscited by 32
- 2025ShadowCoT: Cognitive Hijacking for Stealthy Reasoning Backdoors in LLMscited by 30
- 2025Controlling Large Language Models Through Concept Activation Vectorscited by 28
- 2023PREM: A Simple Yet Effective Approach for Node-Level Graph Anomaly Detectioncited by 25
- 2025MetaAgent: Automatically Constructing Multi-Agent Systems Based on Finite State Machinescited by 22
- 2025DynTaskMAS: A Dynamic Task Graph-driven Framework for Asynchronous and Parallel LLM-based Multi-Agent Systemscited by 20
- 2026Dynamic Model Routing and Cascading for Efficient LLM Inference: A Surveycited by 19
- 2025Internal Value Alignment in Large Language Models through Controlled Value Vector Activationcited by 16
- 2020Adversarial Concept Drift Detection under Poisoning Attacks for Robust Data Stream Miningcited by 12
- 2024AI-Driven Virtual Teacher for Enhanced Educational Efficiency: Leveraging Large Pretrain Models for Autonomous Error Analysis and Correctioncited by 12
- 2024A Middle Path for On-Premises LLM Deployment: Preserving Privacy Without Sacrificing Model Confidentialitycited by 8
- 2024Graph Neural Networks Gone Hogwildcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Who's the Mole? Modeling and Detecting Intention-Hiding Malicious Agents in LLM-Based Multi-Agent Systems
- 2025Securing Multi-Agent Systems Against Corruptions via Node Contribution Backpropagation
- 2025SentinelAgent: Graph-based Anomaly Detection in Multi-Agent Systems
- 2026PropGuard: Safeguarding LLM-MAS via Propagation-Aware Exploration and Remediation
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems
- 2025Comprehensive Vulnerability Analysis is Necessary for Trustworthy LLM-MAS
- 2025Explainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly Detection
- 2026MESA: Prioritizing Vulnerable Communication Channels for Securing Multi-Agent Systems