提示感染:多智能体系统中的LLM到LLM提示注入
Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems
AI总结:
本文揭示了多智能体系统中的LLM到LLM提示注入攻击,提出名为Prompt Infection的自我复制恶意提示攻击方法,并设计LLM Tagging防御机制以显著缓解感染传播。
摘要:
随着大型语言模型(LLMs)变得日益强大,多智能体系统在现代AI应用中正变得越来越普遍。然而,大多数安全研究都集中在单智能体LLM的漏洞上。这些漏洞包括提示注入攻击,即嵌入在外部内容中的恶意提示诱骗LLM执行非预期或有害行动,从而危及受害者的应用程序。在本文中,我们揭示了一个更危险的攻击向量:多智能体系统中的LLM到LLM提示注入。我们引入了Prompt Infection,这是一种新型攻击,恶意提示在互联的智能体之间自我复制,其行为类似于计算机病毒。这种攻击构成了严重威胁,包括数据窃取、诈骗、虚假信息和系统范围的破坏,同时通过系统进行无声地传播。我们的大量实验表明,多智能体系统极易受到攻击,即使智能体不公开共享所有通信也是如此。为了解决这个问题,我们提出了LLM Tagging,这是一种防御机制,当与现有安全防护措施结合使用时,可以显著缓解感染的传播。这项工作强调了随着多智能体LLM系统被更广泛采用,迫切需要高级安全措施。
英文摘要:
As Large Language Models (LLMs) grow increasingly powerful, multi-agent systems are becoming more prevalent in modern AI applications. Most safety research, however, has focused on vulnerabilities in single-agent LLMs. These include prompt injection attacks, where malicious prompts embedded in external content trick the LLM into executing unintended or harmful actions, compromising the victim's application. In this paper, we reveal a more dangerous vector: LLM-to-LLM prompt injection within multi-agent systems. We introduce Prompt Infection, a novel attack where malicious prompts self-replicate across interconnected agents, behaving much like a computer virus. This attack poses severe threats, including data theft, scams, misinformation, and system-wide disruption, all while propagating silently through the system. Our extensive experiments demonstrate that multi-agent systems are highly susceptible, even when agents do not publicly share all communications. To address this, we propose LLM Tagging, a defense mechanism that, when combined with existing safeguards, significantly mitigates infection spread. This work underscores the urgent need for advanced security measures as multi-agent LLM systems become more widely adopted.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。