代码中的阴影:LLM 多智能体软件开发系统的风险与防御研究
Shadows in the Code: Exploring the Risks and Defenses of LLM-based Multi-Agent Software Development Systems
AI 导读
一项被 AAAI 2026 Alignment Track 接收的研究提出 IMBIA(隐式恶意行为注入攻击),揭示 LLM 多智能体软件开发系统可被操控生成表面正常但暗藏恶意功能的软件,并给出 Adv-IMBIA 防御。
正文 · 原文
Abstract:The rapid advancement of Large Language Model (LLM)-driven multi-agent systems has significantly streamlined software developing tasks, enabling users with little technical expertise to develop executable applications. While these systems democratize software creation through natural language requirements, they introduce significant security risks that remain largely unexplored. We identify two risky scenarios: Malicious User with Benign Agents (MU-BA) and Benign User with Malicious Agents (BU-MA). We introduce the Implicit Malicious Behavior Injection Attack (IMBIA), demonstrating how multi-agent systems can be manipulated to generate software with concealed malicious capabilities beneath seemingly benign applications, and propose Adv-IMBIA as a defense mechanism. Evaluations across ChatDev, MetaGPT, and AgentVerse frameworks reveal varying vulnerability patterns, with IMBIA achieving attack success rates of 93%, 45%, and 71% in MU-BA scenarios, and 71%, 84%, and 45% in BU-MA scenarios. Our defense mechanism reduced attack success rates significantly, particularly in the MU-BA scenario. Further analysis reveals that compromised agents in the coding and testing phases pose significantly greater security risks, while also identifying critical agents that require protection against malicious user exploitation. Our findings highlight the urgent need for robust security measures in multi-agent software development systems and provide practical guidelines for implementing targeted, resource-efficient defensive strategies.
| Comments: | Accepted by AAAI 2026 Alignment Track |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2511.18467 [cs.CR] |
| (or arXiv:2511.18467v2 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2511.18467 arXiv-issued DOI via DataCite |
Submission history
From: Xiaoqing Wang [view email]
[v1]
Sun, 23 Nov 2025 14:26:35 UTC (863 KB)
[v2]
Wed, 25 Nov 2026 05:44:02 UTC (867 KB)
来源:arXiv cs.AI · arxiv.org