TY - GEN
T1 - MAStitch
T2 - 25th International Conference on Autonomous Agents and Multiagent Systems, AAMAS 2026
AU - Vaknin, Lior
AU - Levi, Yarin Yerushalmi
AU - Solomon, Ron
AU - Kotak, Jaidip
AU - Giloni, Amit
AU - Picardi, Chiara
AU - Vainshtein, Roman
AU - Elovici, Yuval
AU - Shabtai, Asaf
N1 - Publisher Copyright:
© 2026 International Foundation for Autonomous Agents and Multiagent Systems.
PY - 2026/5/24
Y1 - 2026/5/24
N2 - Large language model (LLM)-based multi-agent systems (MASs) increasingly serve as decision-making and automation pipelines in diverse application domains. Although these systems are highly relied upon in many settings, they have been shown to be vulnerable to various threats, including threats exploited by malicious actors (e.g., adversarial attacks) and threats stemming from dangerous behavior of the system (e.g., insecure code generation). Those threats can be viewed as deviations from normal behavior (anomalies), requiring a robust anomaly detection solution. Most approaches for detecting such anomalies concentrate on individual agents, specific failure scenarios, or particular use cases, and often require additional training phases, limiting their applicability and ease of adoption across diverse MASs. To address these limitations, we introduce MAStitch, a platform- and threat-agnostic method for threat detection in MASs that does not require any training, making it well-suited for diverse environments and scenarios requiring plug-and-play detection capabilities. MAStitch leverages local and global perspectives, enabling comprehensive analysis of inter-agent interactions and intra-agent processes to detect anomalies. These perspectives are acquired by a pair of LLM-based agents: a Local Analyzer Agent (LAA), which evaluates each agent’s execution process, and a Global Analyzer Agent (GAA), which aggregates evidence from multiple agents to detect cross-agent failures. The GAA summarizes the anomalous patterns identified, classifies the entire execution log, and provides an explanation when threats are detected. We evaluate our method’s detection performance on six different MAS applications which were developed on two widely used MAS platforms. The evaluation results demonstrate MAStitch’s ability to detect a variety of threats, with an average F1 score of 0.9 and a minimal false positive rate of 0.078.
AB - Large language model (LLM)-based multi-agent systems (MASs) increasingly serve as decision-making and automation pipelines in diverse application domains. Although these systems are highly relied upon in many settings, they have been shown to be vulnerable to various threats, including threats exploited by malicious actors (e.g., adversarial attacks) and threats stemming from dangerous behavior of the system (e.g., insecure code generation). Those threats can be viewed as deviations from normal behavior (anomalies), requiring a robust anomaly detection solution. Most approaches for detecting such anomalies concentrate on individual agents, specific failure scenarios, or particular use cases, and often require additional training phases, limiting their applicability and ease of adoption across diverse MASs. To address these limitations, we introduce MAStitch, a platform- and threat-agnostic method for threat detection in MASs that does not require any training, making it well-suited for diverse environments and scenarios requiring plug-and-play detection capabilities. MAStitch leverages local and global perspectives, enabling comprehensive analysis of inter-agent interactions and intra-agent processes to detect anomalies. These perspectives are acquired by a pair of LLM-based agents: a Local Analyzer Agent (LAA), which evaluates each agent’s execution process, and a Global Analyzer Agent (GAA), which aggregates evidence from multiple agents to detect cross-agent failures. The GAA summarizes the anomalous patterns identified, classifies the entire execution log, and provides an explanation when threats are detected. We evaluate our method’s detection performance on six different MAS applications which were developed on two widely used MAS platforms. The evaluation results demonstrate MAStitch’s ability to detect a variety of threats, with an average F1 score of 0.9 and a minimal false positive rate of 0.078.
KW - Adversarial Attacks
KW - Anomaly Detection
KW - LLM-based Agents
KW - Multi-Agent Systems
KW - Security Analysis
UR - https://www.scopus.com/pages/publications/105041385086
U2 - 10.65109/BMJZ4532
DO - 10.65109/BMJZ4532
M3 - Conference contribution
AN - SCOPUS:105041385086
T3 - AAMAS 2026 - Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems
SP - 1875
EP - 1882
BT - AAMAS 2026 - Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems
PB - Association for Computing Machinery, Inc
Y2 - 25 May 2026 through 29 May 2026
ER -