“不要向用户提及此事”:在野恶意代理技能的检测与理解 "Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-02-06
⬇️ 2 次下载
👁️ 预览文献
💡 AI 中文简介
研究分析了两个主流社区注册表中的98380个LLM编码代理技能,结合静态模式匹配和动态行为验证,确认157个恶意技能,涉及13种攻击技术和632个漏洞。恶意技能平均含4.03个漏洞,主要策略为通过远程代码执行窃取凭证和利用文档中的对抗性指令操纵代理。超半数案例来自单一威胁行为者的大规模品牌仿冒。披露后,注册表已移除全部157个技能。
领域人工智能安全 / LLM代理安全
适合谁读需要一定专业背景(了解LLM代理、安全分析基础)
核心贡献1. 首次对社区注册表中的LLM代理技能进行大规模安全分析,构建了包含98380个技能的数据集和检测流程。2. 揭示了恶意技能的攻击策略、威胁行为者特征及隐蔽性与攻击复杂度的关联,为LLM代理生态安全提供实证基础。
关键数据分析98380个技能,确认157个恶意技能,涉及632个漏洞和13种攻击技术;恶意技能平均含4.03个漏洞;超半数案例来自单一威胁行为者;披露后注册表移除100%报告技能。
推荐理由如果你关心AI代理的安全隐患,这篇论文用近10万样本揭示了恶意技能的运作方式和幕后黑手,数据扎实,结论震撼。
关键词["LLM代理安全", "恶意技能检测", "供应链攻击", "对抗性指令", "动态行为验证", "威胁情报"]

原文摘要

查看英文原文摘要

LLM-based coding agents increasingly rely on third-party extensions called skills, which bundle natural language instructions and helper scripts that execute with full user privileges. Community registries have emerged to distribute these skills, but the security implications remain unstudied due to the absence of labeled threat data. This paper presents a systematic security analysis of 98,380 skills collected from two major registries. Through a combination of static pattern matching and dynamic behavioral verification, we identify 157 skills exhibiting confirmed malicious behavior, encompassing 632 distinct vulnerabilities across 13 attack techniques. Our analysis reveals that these threats are deliberate rather than accidental: each malicious skill contains an average of 4.03 vulnerabilities spanning multiple attack phases. We identify two dominant attack strategies with statistically significant negative correlation -- credential theft via remote code execution, and agent manipulation through adversarial instructions embedded in documentation. Over half of all confirmed cases originate from a single threat actor employing templated brand impersonation at scale. We further observe that attack sophistication correlates with concealment investment, with advanced skills universally employing undocumented capabilities while also exploiting platform-native trust mechanisms. Following responsible disclosure, registry maintainers removed all 157 (100%) of the reported skills. Our dataset and detection pipeline are publicly available to facilitate future research on securing LLM agent ecosystems.