Skip to main content
QUICK REVIEW

[论文解读] Malicious Or Not: Adding Repository Context to Agent Skill Classification

Florian Holzbauer, David J. Schmidt|arXiv (Cornell University)|Mar 17, 2026
Advanced Malware Detection TechniquesComputer Science被引用 0
一句话总结

论文进行规模最大的 AI 代理技能经验安全分析,显示代码库上下文显著降低技能扫描器的误报,并揭示新攻击向量,如劫持被放弃的 GitHub 仓库。

ABSTRACT

Agent skills extend local AI agents, such as Claude Code or Open Claw, with additional functionality, and their popularity has led to the emergence of dedicated skill marketplaces, similar to app stores for mobile applications. Simultaneously, automated skill scanners were introduced, analyzing the skill description available in SKILL.md, to verify their benign behavior. The results for individual market places mark up to 46.8% of skills as malicious. In this paper, we present the largest empirical security analysis of the AI agent skill ecosystem, questioning this high classification of malicious skills. Therefore, we collect 238,180 unique skills from three major distribution platforms and GitHub to systematically analyze their type and behavior. This approach substantially reduces the number of skills flagged as non-benign by security scanners to only 0.52% which remain in malicious flagged repositories. Consequently, out methodology substantially reduces false positives and provides a more robust view of the ecosystem's current risk surface. Beyond that, we extend the security analysis from the mere investigation of the skill description to a comparison of its congruence with the GitHub repository the skill is embedded in, providing additional context. Furthermore, our analysis also uncovers several, by now undocumented real-world attack vectors, namely hijacking skills hosted on abandoned GitHub repositories.

研究动机与目标

  • 评估在主要市场和 GitHub 之间共享的技能是什么。
  • 评估市场如何将技能分类为恶意,以及这些分类在不同扫描器之间的一致性如何。
  • 开发面向代码库的分析以提升安全分类性能。
  • 识别 AI 代理技能生态中的新攻击向量。

提出的方法

  • 从 ClawHub、Skills.sh、SkillDirectory 和 GitHub 收集 238,180 个唯一的代理技能,形成跨平台数据集。
  • 使用市场扫描器和一个开放的 Cisco 技能扫描器以及基于大语言模型的特征提取管道分析技能行为。
  • 通过计算代码库对齐度(70%)和元数据成熟度(30%)的结合来引入代码库上下文。
  • 评估代码库上下文是否降低误报并揭示使技能劫持的结构性弱点。

实验结果

研究问题

  • RQ1RQ1:市场上共享哪些技能,以及技能生态中出现了哪些新的攻击向量?
  • RQ2RQ2:市场如何将技能分类为恶意,以及这些分类在各扫描器之间的一致性如何?
  • RQ3RQ3:代码库上下文是否能改善对技能的安全分类?

主要发现

  • 将多个市场与 GitHub 结合可获得用于分析的 238,180 个唯一技能。
  • 面向代码库的分析将被错误标记为恶意的技能比例降低至在恶意仓库中被 2,887 个扫描器标记的技能中占比 0.52%。
  • 市场在跨扫描器的恶意分类上存在显著差异,在单独评估技能时存在较高的误报潜力。
  • 在 7 个仓库中,链接到技能的易受攻击的 GitHub 仓库被检测到被劫持的情况,涉及 121 个技能。
  • 大约 45.89% 的 Skills.sh 托管仓库包含至少一个被标记的技能,对于安装超过 1,000 次的仓库,这一比例上升到 61.40%。
  • 作者公开其代码以实现可重复性: https://anonymous.4open.science/r/agent_skills/。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。