黑盒攻击可窃取智能体技能文件

Rohan Paul · @rohanpaul_ai · X·2026-08-17 13:52·5小时前
AI 导读

新研究测试用户能否仅通过正常黑盒交互窃取专有 SKILL.md,5 款商业模型中,最简单的提取提示平均实现 48% 精确恢复和 0.91 的 LLM 判定泄漏率。链式思维提示将精确恢复率推至 72%,少样本示例产生最高词汇和语义相似度。作者最强防御可阻止精确披露,但语义泄漏在更难案例中仍存,平台需将技能内容视为可通过模型行为外泄的数据。

Rohan Paul@rohanpaul_ai
41AI 编辑部评分,满分 100

黑盒攻击可窃取智能体技能文件

2026-08-17 13:52· 5小时前
AI 导读

新研究测试用户能否仅通过正常黑盒交互窃取专有 SKILL.md,5 款商业模型中,最简单的提取提示平均实现 48% 精确恢复和 0.91 的 LLM 判定泄漏率。链式思维提示将精确恢复率推至 72%,少样本示例产生最高词汇和语义相似度。作者最强防御可阻止精确披露,但语义泄漏在更难案例中仍存,平台需将技能内容视为可通过模型行为外泄的数据。

Agent skills have a new security problem: the model itself can become the extraction interface.

This paper tests whether a user can steal a proprietary SKILL.md through nothing more than normal black-box interaction with an agent. Across 5 commercial models, even the plainest extraction prompt averaged 48% exact recovery and a 0.91 LLM-judged leakage ratio.

More structured attacks made it worse. Chain-of-thought prompts pushed exact recovery to 72% on average, while few-shot examples produced the highest lexical and semantic similarity.

The harder problem is that blocking verbatim copying is not enough. Translation and rewriting attacks often drove exact match to 0% while preserving most of the skill's meaning.

The authors' strongest defenses can stop exact disclosure, but meaningful semantic leakage still survives in harder cases.

So if skills become paid, reusable IP, prompt secrecy alone is a weak protection model. Platforms need to treat skill contents as data that can be exfiltrated through model behavior, not merely hidden text.

  • arxiv. org/abs/2604.21829

Title: "Black-Box Skill Stealing Attack from Proprietary LLM Agents: An Empirical Study"

来源:Rohan Paul· x.com