cs.CRApr 8, 2026

SkillSieve: A Hierarchical Triage Framework for Detecting Malicious AI Agent Skills

Authors: Yinghan Hou, Zongyou Yang

Organizations: Department of Electrical and Electronic Engineering, Imperial College London, London, United Kingdom · Dyson School of Design Engineering, Imperial College London, London, United Kingdom

Abstract

Agent skills combine natural-language instructions with executable code while inheriting an agent's filesystem, credential, and network access. Attacks can span prose and files, whereas regex and code-only analyzers cover only one modality. SkillSieve applies three progressively deeper layers: recall-oriented regex, AST, and metadata triage; four parallel LLM security sub-tasks; and an independent three-model jury with debate on disagreement. We evaluate 49,592 real ClawHub skills, a 390-skill labeled benchmark, and 100 adversarial samples across five evasion techniques on a 440 USD ARM board. The full pipeline achieves F1 = 0.929 (precision 0.912, recall 0.945) at an average cost of $0.006 per skill. An optional XGBoost fast path reduces Layer-2/3 calls by 32% with a 1.7-point F1 decrease while preserving recall. On 52 Feishu/Lark packages, Layer 2 reclassifies 13 of 14 Layer-1 flags as safe after contextual analysis; we also deploy the system as a Feishu chat bot. Code, labels, and aggregate results are open-sourced.

Figures & tables

Explore similar work

CardsList
  1. Context Matters: Repository-Aware Security Analysis of the Agent Skill Ecosystem

    Mar 17, 2026Florian Holzbauer, David Schmidt, Gabriel Gegenhuber +2AI Agent SecurityAgent Skill Security Auditing

  2. Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents

    Sep 30, 2026Tobias Kaiser, Aritra DharAI Agent SecurityAgent Skill Security Auditing

  3. SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models

    Oct 13, 2026Jerrold Huang, Junwei Quan, Saiyue Lyu +2Agent Skill Security AuditingAI Agent Security Benchmarks