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

多智能体系统执行任意恶意代码

Multi-Agent Systems Execute Arbitrary Malicious Code

Cornell Tech(康奈尔科技)

Harold Triedman, Rishi Jha, Vitaly Shmatikov

AI总结:

本文揭示了多智能体系统易受对抗性内容劫持的安全漏洞,证明即使单个智能体能抵御提示注入,攻击者仍能通过劫持系统通信诱导其执行任意恶意代码或窃取数据。

摘要:

多智能体系统协调基于 LLM 的智能体代表用户执行任务。在实际应用中,多智能体系统不可避免地会与不可信输入进行交互,例如恶意 Web 内容、文件、电子邮件附件等。以几个最近提出的多智能体框架作为具体示例,我们证明对抗性内容可以劫持系统内的控制和通信,以调用不安全的智能体和功能。这会导致彻底的安全漏洞,甚至在用户设备上执行任意恶意代码,或从用户的容器化环境中窃取敏感数据。例如,当使用 GPT-4o 实例化智能体时,基于 Web 的攻击成功导致多智能体系统在 58-90% 的试验中(取决于编排器)执行任意恶意代码。在某些模型-编排器配置中,攻击成功率为 100%。我们还证明,即使单个智能体不易受到直接或间接提示注入的影响,即使它们拒绝执行有害操作,这些攻击也能成功。我们希望这些结果能推动在多智能体系统广泛部署之前,为其开发信任和安全模型。

英文摘要:

Multi-agent systems coordinate LLM-based agents to perform tasks on users' behalf. In real-world applications, multi-agent systems will inevitably interact with untrusted inputs, such as malicious Web content, files, email attachments, and more. Using several recently proposed multi-agent frameworks as concrete examples, we demonstrate that adversarial content can hijack control and communication within the system to invoke unsafe agents and functionalities. This results in a complete security breach, up to execution of arbitrary malicious code on the user's device or exfiltration of sensitive data from the user's containerized environment. For example, when agents are instantiated with GPT-4o, Web-based attacks successfully cause the multi-agent system execute arbitrary malicious code in 58-90\% of trials (depending on the orchestrator). In some model-orchestrator configurations, the attack success rate is 100\%. We also demonstrate that these attacks succeed even if individual agents are not susceptible to direct or indirect prompt injection, and even if they refuse to perform harmful actions. We hope that these results will motivate development of trust and security models for multi-agent systems before they are widely deployed.

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

↑