Metadata Alone Wins 86% of Skill-Discovery Matchups
Notes on Under the Hood of SKILL.md: Semantic Supply-chain Attacks on AI Agent Skill Registry (arXiv:2605.11418) — Shoumik Saha, Kazem Faghih, S. Feizi · May 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 security Bridge: security × retrievalSKILL.md files — the natural-language front matter that tells an agent when and how to use a packaged capability — sit upstream of three separate decisions: whether a skill gets found, whether it beats a rival for selection, and whether it clears a security check. Researchers tested all three against real skills pulled from ClawHub, a live agent-skill registry, drawing on 100 skills across five categories (email, travel, tax, health, prompt). Discovery got the beam-search-and-gradient treatment: short adversarial trigger phrases, appended to the SKILL.md text, tested whether embedding-based retrieval could be steered toward a skill without touching a line of its code. Selection worked differently — functionally identical skill pairs, differing only in how the description was framed (exaggerated capability claims, directive language, recency signals, trust claims), put in front of four LLM agents asked to pick one. Governance was the toughest test: a three-stage vetting pipeline — a static scanner, an LLM reviewer, a VirusTotal malware pass — run against admittedly malicious skills rewritten with wording-only evasion tactics like paraphrasing and context-window overflow.
The trigger attack is cheap and effective. Adversarial phrases roughly 1% the length of an average SKILL.md file pushed a skill's win rate against OpenAI's embedding model to 86% in pairwise matchups and landed it in the Top-10 results 80% of the time; triggers optimized against one embedding model still transferred to another at 79-80%. Selection needed no exploit at all — framing alone, with no functional edge attached, got adversarial variants picked in 77.6% of paired trials on average across the four LLM agents tested, and every model chose the adversarial option above chance. Governance evasion was uneven but sometimes total: paraphrasing an already-flagged malicious skill dodged a blocking verdict roughly 74% of the time, and padding a SKILL.md file with enough filler to trigger context-window overflow got 87% of malicious variants labeled clean outright, with none flagged as malicious at all.
Key numbers
| Discovery: win rate vs. OpenAI embeddings | 86% pairwise win rate, 80% Top-10 placement |
| Discovery: trigger footprint | ~1% of average SKILL.md length |
| Selection: adversarial pick rate (4 LLM agents) | 77.6% of paired trials, on average |
| Governance: context-window-overflow evasion | 87.1% labeled clean, 0% flagged malicious |
| Test corpus | 100 real ClawHub skills across 5 categories |
Skills related to this research
Related notes
- 26.1% of Marketplace Agent Skills Carry a Vulnerability →
- A poisoned skill file compromises up to 86% of sessions that load it →
- 84% of Malicious Agent-Skill Exploits Hide in the Docs, Not the Code →
- SkillFortify doesn't just scan skills, it proves the scan -- 96.95% F1, 0% false positives →
- Frontier Agents Cave to Poisoned Skill Files Up to 80% of the Time →
- Automated SKILL.md rewrites push poisoned-skill attacks from 0% success to 80.7% →
- 80% of agent skills in a 49,943-skill registry don't do what they claim — most of it is sloppiness, not malice →
- Zero malicious prompts, 50.3% attack success: poisoned skill files hijack agents anyway →
- Dependency-ordered retrieval beats flat similarity search by 31 points on ALFWorld →
References
- Under the Hood of SKILL.md: Semantic Supply-chain Attacks on AI Agent Skill Registry (Saha, Faghih & Feizi, 2026)
- GASLITEing the Retrieval: Exploring Vulnerabilities in Dense Embedding-Based Search (Ben-Tov & Sharif, 2024)
- Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward (Xu & Yan, 2026)