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

模仿熟悉者:LLM工具学习系统中信息窃取攻击的动态命令生成

Mimicking the Familiar: Dynamic Command Generation for Information Theft Attacks in LLM Tool-Learning System

State Key Laboratory of Intelligent Game(智能游戏国家重点实验室);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);University of Queensland(昆士兰大学)

Ziyou Jiang, Mingyang Li, Guowei Yang, Junjie Wang, Yuekai Huang, Zhiyuan Chang, Qing Wang

AI总结:

针对LLM工具学习系统中静态窃取命令易被检测的问题,本文提出AutoCMD动态命令生成方法,通过开源系统学习与目标示例强化提升攻击成功率,并给出四种防御方案。

摘要:

信息窃取攻击对大型语言模型(LLM)工具学习系统构成重大风险。攻击者可通过被攻陷的工具注入恶意命令,操纵LLM将敏感信息发送给这些工具,从而导致潜在的隐私泄露。然而,现有攻击方法面向黑盒场景,并依赖静态命令,无法灵活适应用户查询和工具调用链的变化。这使恶意命令更容易被LLM检测到,并导致攻击失败。本文提出AutoCMD,这是一种用于LLM工具学习系统中信息窃取攻击的动态攻击命令生成方法。受“模仿熟悉者”概念启发,AutoCMD能够通过在开源系统上学习并利用目标系统示例进行强化,推断工具链中上游工具所使用的信息,从而生成更具针对性的信息窃取命令。评估结果表明,AutoCMD优于基线方法,$ASR_{Theft}$提升13.2%,并且能够泛化到新的工具学习系统,以暴露其信息泄露风险。我们还设计了四种防御方法,可有效保护工具学习系统免受该攻击。

英文摘要:

Information theft attacks pose a significant risk to Large Language Model (LLM) tool-learning systems. Adversaries can inject malicious commands through compromised tools, manipulating LLMs to send sensitive information to these tools, which leads to potential privacy breaches. However, existing attack approaches are black-box oriented and rely on static commands that cannot adapt flexibly to the changes in user queries and the invocation chain of tools. It makes malicious commands more likely to be detected by LLM and leads to attack failure. In this paper, we propose AutoCMD, a dynamic attack comment generation approach for information theft attacks in LLM tool-learning systems. Inspired by the concept of mimicking the familiar, AutoCMD is capable of inferring the information utilized by upstream tools in the toolchain through learning on open-source systems and reinforcement with target system examples, thereby generating more targeted commands for information theft. The evaluation results show that AutoCMD outperforms the baselines with +13.2% $ASR_{Theft}$, and can be generalized to new tool-learning systems to expose their information leakage risks. We also design four defense methods to effectively protect tool-learning systems from the attack.

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

↑