Skip to main content
QUICK REVIEW

[Paper 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 Science0 citations
TL;DR

The paper conducts the largest empirical security analysis of AI agent skills, showing that repository context dramatically reduces false positives from skill scanners and reveals new attack vectors such as hijacking abandoned GitHub repositories.

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.

Motivation & Objective

  • Assess what skills are shared across major marketplaces and GitHub.
  • Evaluate how marketplaces classify skills as malicious.
  • Develop repository-aware analysis to improve security classification.
  • Identify new attack vectors in the AI agent skill ecosystem.

Proposed method

  • Collect 238,180 unique agent skills from ClawHub, Skills.sh, SkillDirectory, and GitHub to form a cross-platform dataset.
  • Analyze skill behavior using marketplace scanners and an open Cisco skill scanner plus an LLM-based feature extraction pipeline.
  • Incorporate repository context by computing a repository context score combining codebase alignment (70%) and metadata maturity (30%).
  • Evaluate whether repository context reduces false positives and reveals structural weaknesses enabling hijacking of skills.

Experimental results

Research questions

  • RQ1RQ1: What skills are shared on marketplaces and what new attack vectors emerge from the skill ecosystem?
  • RQ2RQ2: How do marketplaces classify skills as malicious and how consistent are these classifications across scanners?
  • RQ3RQ3: Can repository context improve the security classification of skills?

Key findings

  • Combining multiple marketplaces and GitHub yields 238,180 unique skills for analysis.
  • Repository-aware analysis reduces falsely flagged malicious skills to 0.52% of 2,887 scanner-flagged skills in malicious repositories.
  • Marketplaces show substantial variation in malicious classifications across scanners, with high false positive potential when assessing skills in isolation.
  • Hijacking of vulnerable GitHub repositories linked by skills was detected in 121 skills across 7 repositories.
  • About 45.89% of Skills.sh-hosted repositories contain at least one flagged skill, rising to 61.40% for repositories with over 1,000 installs.
  • The authors publish their code to enable reproducibility: https://anonymous.4open.science/r/agent_skills/.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.