The best skill scanner hits 98% recall — and still flags 937 of 4,000 safe skills as malicious
Notes on MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills (arXiv:2606.07131) — Wenbo Guo, Wei Zeng, Chengwei Liu, Xiaojun Jia, Yijia Xu, Lei Tang, Yong Fang, Yang Liu · June 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 × benchmarksMalSkillBench builds ground truth for detecting malicious agent skills — the SKILL.md packages that bundle natural-language instructions, scripts, and tool permissions for coding agents like Claude Code and Gemini CLI — by actually running them rather than trusting a label. A closed-loop Generate-Verify-Feedback pipeline seeds a three-dimensional taxonomy (attack vector × behavior × insertion strategy, 108 cells) with real malicious PyPI code and prompt-injection corpora, then drops each candidate skill into a Docker sandbox with syscall monitoring and an LLM judge; only skills whose malicious behavior actually fires get admitted. The result is 3,214 verified generated skills, plus 703 confirmed skills pulled from the wild and 27 drawn from existing tool test suites — 3,944 malicious skills in total, paired with 4,000 benign skills pulled from ClawHub for false-positive testing.
The realizability numbers alone tell a story: code injection fires reliably (94.5% verification yield) while prompt injection is far shakier (75.8%, dropping to 62.5% when steganographically hidden) — the same instruction-layer fragility that later makes it hard to catch. The 703 wild skills collected turn out to be almost entirely one story: 86.6% deliver Malware Delivery via a fake-prerequisite dependency, and 81% trace to just two accounts running a single cryptocurrency-theft campaign; a small 1.7% tail instead attacks the agent's control plane (session hooks, identity, instruction hierarchy) rather than the host. Against the full benchmark, the strongest detector (Sentry Skill Scanner, full mode) reaches 98.4% recall and 88.6% F1 but still misflags 937 of 4,000 benign skills. Score everything on wild data alone, though, and the rankings flip: VirusTotal's recall jumps 66 points, from 21.6% to 87.9%, once you switch to the skewed subset.
Key numbers
| Benchmark scale | 3,944 malicious skills across 108 taxonomy cells |
| Code vs. prompt-injection realizability | 94.5% vs 75.8% verification yield |
| Wild sample concentration | 86.6% one behavior, 81% from two accounts |
| Best detector's false positives | 937 of 4,000 benign skills flagged (at 98.4% recall) |
| Wild-only evaluation bias | recall swings up to 66 points (VirusTotal: 21.6% to 87.9%) |
Skills related to this research
Related notes
- 84% of Malicious Agent-Skill Exploits Hide in the Docs, Not the Code →
- Best Skill Scanner Catches 17% of Cross-Modal Attacks — a Distilled 7B Model Hits 88% →
- Frontier Agents Cave to Poisoned Skill Files Up to 80% of the Time →
- Checking the repo, not just the SKILL.md, cuts flagged 'malicious' skills from 46.8% to 0.52% →
- 26.1% of Marketplace Agent Skills Carry a Vulnerability →
- A trojanized skill hit 9x token amplification — the failed run cost more than either successful one →
- Matching skills to scene context takes 3D-agent tool use from 39% to 78% →
- One disguised setup line hits 89.3% attack success — while scanners already false-flag 74.6% of clean skills →
- No search stack — still +15.8 GAIA points over a commercial deep-research agent →
References
- Guo, W. et al. MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills. arXiv:2606.07131 (2026).
- Liu et al. Wild-collected malicious agent skill dataset (157 samples), cited as the prior public academic benchmark, 2026.
- Guo et al. IntelliGraph: malicious PyPI package dataset with source code, call graphs, and attack-chain annotations (3,026 packages), 2024.
- Jiang et al. WildJailbreak: in-the-wild jailbreak prompt corpus, 2024.
- Andriushchenko, M. et al. AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents. ICLR 2025.