1,184 skills fell in one campaign — because Agent Skills has no line between data and instructions
Notes on Towards Secure Agent Skills: Architecture, Threat Taxonomy, and Security Analysis (arXiv:2604.02837) — Zhiyuan Li, Jingzheng Wu, Xiang Ling, Xing Cui, Tianyue Luo · April 2026
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Skill securityAgent Skills — the filesystem-based packaging format that lets agents load domain-specific instructions and bundled scripts on demand — has never had a systematic security audit until now. This one splits a skill's life into four phases: Creation, Distribution, Deployment, Execution. Each opens a different door: authors get unrestricted control over SKILL.md and its scripts, marketplaces distribute without review, and the access a user actually grants at install time runs broader than what they think they're agreeing to. From that lifecycle view comes a threat taxonomy of seven categories and seventeen concrete attack scenarios, grouped into three layers: delivery and trust establishment, runtime attack, and persistent/lateral impact.
Five confirmed incidents validate the taxonomy, all real-world and running December 2025 through February 2026. A skill billed as a GIF converter smuggled MedusaLocker ransomware inside its bundled script. A supply-chain campaign called ClawHavoc compromised more than 1,184 skills in one marketplace — roughly one in five listings there. Two CVEs let a malicious repository inject hook configurations and reroute API traffic to an attacker before any trust dialog appeared. A Mitiga-documented skill exfiltrated an entire project codebase in four user interactions while its audit log stayed empty. The authors trace all of it to three design choices: SKILL.md draws no boundary between instructions and data, a single install-time approval grants standing operator-level authority indefinitely, and most marketplaces require no security review before publishing. None of the three, they argue, is something a better scanner alone can fix.
Key numbers
| Threat scenarios in taxonomy | 17 across 7 categories |
| Confirmed incidents validated | 5 |
| Skills compromised in ClawHavoc campaign | 1,184+ (~1 in 5 listings) |
| User interactions to exfiltrate a full codebase | 4 |
| Skills with ≥1 vulnerability (cited study, 42,447 scanned) | 26.1% |
Skills related to this research
Related notes
- 26.1% of Marketplace Agent Skills Carry a Vulnerability →
- 15 cloned listings hijack skill retrieval 93% of the time →
- 84% of Malicious Agent-Skill Exploits Hide in the Docs, Not the Code →
- Frontier Agents Cave to Poisoned Skill Files Up to 80% of the Time →
- 26.1% of Community Skills Ship With a Vulnerability →
- SkillFortify doesn't just scan skills, it proves the scan -- 96.95% F1, 0% false positives →
- Debug Logging Alone Causes 73.5% of Agent-Skill Credential Leaks →
- A skill's own examples smuggle malicious code past agent defenses up to 33.5% of the time →
- Compiling a skill for its model drops regressions from 15% to 4.5% →
References
- Li, Wu, Ling, Cui & Luo, "Towards Secure Agent Skills: Architecture, Threat Taxonomy, and Security Analysis," arXiv:2604.02837 (2026).
- Liu et al., large-scale empirical vulnerability scan of 42,447 Agent Skills finding a 26.1% vulnerability rate (cited in this paper as corroborating evidence).
- CVE-2025-59536 and CVE-2026-21852 (Agent Skills config-injection vulnerability disclosures referenced in the incident analysis).