2026-01-16 · 专家 · 数据科学 · 其他 · 计算机视觉 · 机器学习

Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale

该论文对AI代理技能生态系统的安全性进行了大规模实证分析,揭示了广泛的安全风险,并提出了基于能力的权限系统和强制安全审查的必要性。

更新于 2026-01-30。作者:Yi Liu、Weizhe Wang、Ruitao Feng、Yao Zhang、Guangquan Xu、Gelei Deng、Yuekang Li、Leo Zhang。

中文摘要

人工智能代理框架的兴起引入了代理技能,这些技能是包含指令和可执行代码的模块化包,能够动态扩展代理的能力。虽然这种架构能够实现强大的定制化,但技能的执行带有隐含的信任和最低程度的审查,从而形成了一个重大但尚未明确的攻击面。我们首次对这一新兴生态系统进行了大规模实证安全分析,从两个主要市场收集了42,447个技能,并使用SkillScan系统分析了31,132个技能,SkillScan是一个多阶段检测框架,它将静态分析与基于LLM的语义分类相结合。我们的发现揭示了普遍存在的安全风险:26.1%的技能至少包含一个漏洞,涵盖了四个类别中的14种不同模式:提示注入、数据泄露、权限提升和供应链风险。数据泄露(13.3%)和权限提升(11.8%)最为普遍,而5.2%的技能表现出高度严重性的模式,强烈暗示了恶意意图。我们发现,包含可执行脚本的技能比仅包含指令的技能更有可能包含漏洞(OR=2.12,p<0.001)。我们的贡献包括:(1)从8,126个有漏洞的技能中得出的基于事实的漏洞分类法,(2)经过验证的检测方法,实现了86.7%的精确度和82.5%的召回率,(3)一个开源数据集和检测工具包,以支持未来的研究。这些结果表明,在进一步利用这一攻击向量之前,迫切需要基于能力的权限系统和强制安全审查。

英文摘要

The rise of AI agent frameworks has introduced agent skills, modular packages containing instructions and executable code that dynamically extend agent capabilities. While this architecture enables powerful customization, skills execute with implicit trust and minimal vetting, creating a significant yet uncharacterized attack surface. We conduct the first large-scale empirical security analysis of this emerging ecosystem, collecting 42,447 skills from two major marketplaces and systematically analyzing 31,132 using SkillScan, a multi-stage detection framework integrating static analysis with LLM-based semantic classification. Our findings reveal pervasive security risks: 26.1% of skills contain at least one vulnerability, spanning 14 distinct patterns across four categories: prompt injection, data exfiltration, privilege escalation, and supply chain risks. Data exfiltration (13.3%) and privilege escalation (11.8%) are most prevalent, while 5.2% of skills exhibit high-severity patterns strongly suggesting malicious intent. We find that skills bundling executable scripts are 2.12x more likely to contain vulnerabilities than instruction-only skills (OR=2.12, p&lt;0.001). Our contributions include: (1) a grounded vulnerability taxonomy derived from 8,126 vulnerable skills, (2) a validated detection methodology achieving 86.7% precision and 82.5% recall, and (3) an open dataset and detection toolkit to support future research. These results demonstrate an urgent need for capability-based permission systems and mandatory security vetting before this attack vector is further exploited.

解读

一句话总结

该论文对AI代理技能生态系统的安全性进行了大规模实证分析,揭示了广泛的安全风险,并提出了基于能力的权限系统和强制安全审查的必要性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt