arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.14847cs.CR
收藏

通过通信攻击对LLM多智能体系统进行红队测试

Red-Teaming LLM Multi-Agent Systems via Communication Attacks

Pengfei He, Yupin Lin, Shen Dong, Han Xu, Yue Xing, Hui Liu

AI总结:

本文提出AiTM攻击,通过拦截和操纵智能体间消息,利用LLM驱动的对抗性智能体生成恶意指令,揭示LLM多智能体系统的通信漏洞,强调需加强安全措施。

摘要:

大型语言模型多智能体系统(LLM-MAS)通过基于消息的通信实现复杂的智能体协作,彻底改变了复杂问题解决能力。虽然通信框架对智能体协调至关重要,但它也引入了一个关键但尚未探索的安全漏洞。在这项工作中,我们引入了中间人攻击(AiTM),这是一种新型攻击,通过拦截和操纵智能体间的消息来利用LLM-MAS中的基本通信机制。与破坏单个智能体的现有攻击不同,AiTM展示了对手如何仅通过操纵智能体之间传递的消息就能破坏整个多智能体系统。为了在有限控制和角色受限的通信格式挑战下实现攻击,我们开发了一个由LLM驱动的对抗性智能体,该智能体具有反射机制,能够生成上下文感知的恶意指令。我们在各种框架、通信结构和现实应用中的全面评估表明,LLM-MAS容易受到基于通信的攻击,突出了多智能体系统中需要稳健的安全措施。

英文摘要:

Large Language Model-based Multi-Agent Systems (LLM-MAS) have revolutionized complex problem-solving capability by enabling sophisticated agent collaboration through message-based communications. While the communication framework is crucial for agent coordination, it also introduces a critical yet unexplored security vulnerability. In this work, we introduce Agent-in-the-Middle (AiTM), a novel attack that exploits the fundamental communication mechanisms in LLM-MAS by intercepting and manipulating inter-agent messages. Unlike existing attacks that compromise individual agents, AiTM demonstrates how an adversary can compromise entire multi-agent systems by only manipulating the messages passing between agents. To enable the attack under the challenges of limited control and role-restricted communication format, we develop an LLM-powered adversarial agent with a reflection mechanism that generates contextually-aware malicious instructions. Our comprehensive evaluation across various frameworks, communication structures, and real-world applications demonstrates that LLM-MAS is vulnerable to communication-based attacks, highlighting the need for robust security measures in multi-agent systems.

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

↑