从专有LLM代理中黑盒技能窃取攻击:实证研究
Black-Box Skill Stealing Attack from Proprietary LLM Agents: An Empirical Study
AI总结:
本文实证研究了针对LLM代理系统的黑盒技能窃取攻击,发现技能窃取比传统提示窃取更具危害性,通过自动化攻击生成框架评估了商业代理平台和LLM,提出防御机制以降低技能泄露风险。
摘要:
大型语言模型(LLM)代理越来越多地依赖技能来通过指令、工具和资源打包可重用的能力。高质量的技能将专家知识、精选的工作流和执行约束嵌入到代理中,通过其价值和可扩展性推动技能经济的发展。然而,这种生态系统也创造了一个新的攻击面,因为攻击者可以通过公共代理接口提取隐藏的专有技能内容。我们首次系统研究了针对LLM代理系统的黑盒技能窃取攻击。与传统系统提示窃取相比,技能窃取针对模块化和结构化的能力包,其泄露可以直接用于复制、再分发和货币化,使造成的损害可能更大。为了研究这一威胁,我们从先前提示窃取方法中推导出攻击分类,并构建了自动化窃取提示生成代理。从模型生成的种子提示开始,框架通过场景理性化和结构注入扩展攻击,同时通过嵌入式过滤确保多样性,从而获得可重复的评估专有代理系统管道。我们评估了这些攻击在商业代理平台和代表性LLM上的效果。我们的结果表明,代理技能往往可以轻松提取,构成严重的版权风险。为了缓解这一威胁,我们设计了覆盖代理管道的防御措施,重点在输入、推理和输出阶段。尽管这些防御措施显著减少了泄露,但攻击仍然廉价且可重复,单次成功尝试足以破坏受保护的技能。总体而言,我们的发现表明,这些版权风险在专有代理生态系统中仍被忽视,促使更强的保护机制。
英文摘要:
Large language model (LLM) agents increasingly rely on skills to package reusable capabilities through instructions, tools, and resources. High-quality skills embed expert knowledge, curated workflows, and execution constraints into agents, fueling a growing skill economy through their value and scalability. Yet this ecosystem also creates a new attack surface, as adversaries can interact with public agent interfaces to extract hidden proprietary skill content. We present the first systematic study of black-box skill stealing against LLM agent systems. Compared with conventional system prompt stealing, skill stealing targets modular and structured capability packages whose leakage is directly actionable for copying, redistribution, and monetization, making the resulting harm potentially greater. To study this threat, we derive an attack taxonomy from prior prompt-stealing methods and build an automated stealing prompt generation agent. Starting from model-generated seed prompts, the framework expands attacks through scenario rationalization and structure injection while enforcing diversity via embedding-based filtering, yielding a reproducible pipeline for evaluating proprietary agent systems. We evaluate these attacks across commercial agent platforms and representative LLMs. Our results show that agent skills can often be extracted easily, posing a serious copyright risk. To mitigate this threat, we design defenses across the agent pipeline, focusing on input, inference, and output phase. Although these defenses substantially reduce leakage, the attack remains inexpensive and repeatable, and a single successful attempt is sufficient to compromise the protected skill. Overall, our findings suggest that these copyright risks remain largely overlooked across proprietary agent ecosystems, motivating stronger protection mechanisms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。