arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.18467cs.CRcs.AIcs.CL
收藏

代码中的阴影:探索基于LLM的多智能体软件开发系统的风险与防御

Shadows in the Code: Exploring the Risks and Defenses of LLM-based Multi-Agent Software Development Systems

Xiaoqing Wang, Keman Huang, Bin Liang, Hongyu Li, Xiaoyong Du

AI总结:

本文研究了基于LLM的多智能体软件开发系统中的安全风险,提出IMBIA攻击及Adv-IMBIA防御机制,揭示了恶意智能体对软件开发过程的威胁及防御策略。

摘要:

大型语言模型(LLM)驱动的多智能体系统的发展显著简化了软件开发任务,使技术能力有限的用户也能开发可执行的应用程序。尽管这些系统通过自然语言需求民主化了软件创建,但它们引入了重大安全风险,这些风险仍然鲜为人知。我们识别出两种危险场景:恶意用户与良性智能体(MU-BA)和良性用户与恶意智能体(BU-MA)。我们引入了隐式恶意行为注入攻击(IMBIA),展示了如何操纵多智能体系统生成具有隐藏恶意能力的软件,这些恶意能力隐藏在看似无害的应用之下,并提出了Adv-IMBIA作为防御机制。在ChatDev、MetaGPT和AgentVerse框架上的评估揭示了不同的漏洞模式,IMBIA在MU-BA场景中的攻击成功率分别为93%、45%和71%,在BU-MA场景中的攻击成功率分别为71%、84%和45%。我们的防御机制显著降低了攻击成功率,特别是在MU-BA场景中。进一步分析表明,在编码和测试阶段被攻破的智能体 pose 更大的安全风险,同时识别出需要保护以防止恶意用户利用的关键智能体。我们的发现突显了在多智能体软件开发系统中实施强大安全措施的紧迫性,并提供了实施有针对性、资源高效的防御策略的实用指南。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑