arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06922cs.CRcs.LG
收藏

机器中的低语:代理系统中的保密性

Whispers in the Machine: Confidentiality in Agentic Systems

CISPA Helmholtz Center for Information Security(信息安全勒内希特中心)

Jonathan Evertz, Merlin Chlosta, Lea Schönherr, Thorsten Eisenhofer

AI总结:

研究探讨了基于大语言模型的代理系统中的保密性问题,通过抽象敏感数据为秘密字符串,评估了十种代理在20种工具场景和14种攻击策略下的安全性,发现所有代理均存在至少一种漏洞,现有防御措施无法有效防止数据泄露。

摘要:

基于大语言模型(LLM)的代理系统通过结合LLM与外部工具来自动化任务,如安排会议、管理文档或预订旅行。尽管这些整合解锁了强大能力,但也创造了新的更严重的攻击面。特别是,在代理设置中,提示注入攻击变得更加危险:恶意指令嵌入连接服务中可使代理偏离正常操作,为敏感数据泄露提供直接路径。然而,尽管现实世界中此类事件日益增多,此类系统的保密风险仍缺乏深入理解。为填补这一空白,我们提供了LLM代理中保密性的形式化定义。通过将敏感数据抽象为秘密字符串,我们评估了十种代理在20种工具场景和14种攻击策略下的表现。我们发现所有代理至少存在一种漏洞,现有防御措施无法可靠地防止这些威胁。令人震惊的是,我们发现工具本身可能放大泄露风险。

英文摘要:

Large language model (LLM)-based agents combine LLMs with external tools to automate tasks such as scheduling meetings, managing documents, or booking travel. While these integrations unlock powerful capabilities, they also create new and more severe attack surfaces. In particular, prompt injection attacks become far more dangerous in the agentic setting: malicious instructions embedded in connected services can misdirect the agent, providing a direct pathway for sensitive data to be exfiltrated. Yet, despite a growing number of real-world incidents, the confidentiality risks of such systems remain poorly understood. To address this gap, we provide a formalization of confidentiality in LLM-based agents. By abstracting sensitive data as a secret string, we evaluate ten agents across 20 tool scenarios and 14 attack strategies. We find that all agents are vulnerable to at least one attack, and existing defenses fail to provide reliable protection against these threats. Strikingly, we find that the tooling itself can amplify leakage risks.

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

↑