arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.16891cs.CRcs.AIcs.CLcs.CY
收藏

针对大型语言模型第三方API的攻击

Attacks on Third-Party APIs of Large Language Models

University of Cambridge(剑桥大学);Indian Institute of Technology, Bombay(印度理工学院孟买分校);University of Melbourne(墨尔本大学);University College London(伦敦大学学院);Macquarie University(麦考瑞大学)

Wanru Zhao, Vidit Khazanchi, Haodi Xing, Xuanli He, Qiongkai Xu, Nicholas Donald Lane

AI总结:

本文提出了一种新的攻击框架,用于审查集成第三方服务的LLM平台的安全漏洞,并在广泛使用的LLM上识别出能隐蔽修改输出的现实恶意攻击,同时讨论了提升生态系统安全性的策略。

摘要:

大型语言模型(LLM)服务最近开始提供插件生态系统,以与第三方API服务进行交互。这一创新增强了LLM的能力,但也引入了风险,因为这些由不同第三方开发的插件难以轻易被信任。本文提出了一种新的攻击框架,用于审查集成了第三方服务的LLM平台中的安全漏洞。将我们的框架专门应用于广泛使用的LLM,我们识别出跨多个领域针对第三方API的现实恶意攻击,这些攻击可以隐蔽地修改LLM输出。本文讨论了第三方API集成带来的独特挑战,并为未来提升LLM生态系统的安全性提供了战略可能。我们的代码已在 https://github.com/vk0812/Third-Party-Attacks-on-LLMs 发布。

英文摘要:

Large language model (LLM) services have recently begun offering a plugin ecosystem to interact with third-party API services. This innovation enhances the capabilities of LLMs, but it also introduces risks, as these plugins developed by various third parties cannot be easily trusted. This paper proposes a new attacking framework to examine security and safety vulnerabilities within LLM platforms that incorporate third-party services. Applying our framework specifically to widely used LLMs, we identify real-world malicious attacks across various domains on third-party APIs that can imperceptibly modify LLM outputs. The paper discusses the unique challenges posed by third-party API integration and offers strategic possibilities to improve the security and safety of LLM ecosystems moving forward. Our code is released at https://github.com/vk0812/Third-Party-Attacks-on-LLMs.

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

↑