skillfed

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 × benchmarks

MalSkillBench 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 scale3,944 malicious skills across 108 taxonomy cells
Code vs. prompt-injection realizability94.5% vs 75.8% verification yield
Wild sample concentration86.6% one behavior, 81% from two accounts
Best detector's false positives937 of 4,000 benign skills flagged (at 98.4% recall)
Wild-only evaluation biasrecall swings up to 66 points (VirusTotal: 21.6% to 87.9%)

Skills related to this research

codspeed-optimize This skill acts as an autonomous performance engineer, using CodSpeed benchmarks and flamegraph analysis to iteratively optimize code. It measures baseline performance, identifies bottlenecks through flame graphs, applies targeted changes, and validates improvements across simulation and walltime modes. The skill handles the full optimization loop—from establishing baselines to comparing runs and reporting gains—stopping only when significant improvements plateau or the user decides to halt.★ 235 codspeed-setup-harness This skill guides you through configuring benchmarks and integrating CodSpeed into your project. It covers language-specific harnesses (divan, criterion, pytest-benchmark, vitest, go test, Google Benchmark) and a universal exec mode for any language, helping you identify performance-critical code and establish repeatable performance tracking.★ 235 performance-attribution Break down why your portfolio outperformed or underperformed its benchmark by isolating contributions from sector positioning, individual stock picks, and market timing. Performance Attribution uses Brinson decomposition, factor regression, and timing models to reveal the true drivers of excess return across multiple time periods.★ 28,096 performance-attribution Decompose active returns into the sources that drove outperformance or underperformance—allocation decisions, security selection, and their combined effects. Supports equity attribution via Brinson-Fachler, factor-based decomposition, fixed-income yield and curve analysis, and currency impact for international portfolios.★ 159

Related notes

References

  1. Guo, W. et al. MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills. arXiv:2606.07131 (2026).
  2. Liu et al. Wild-collected malicious agent skill dataset (157 samples), cited as the prior public academic benchmark, 2026.
  3. Guo et al. IntelliGraph: malicious PyPI package dataset with source code, call graphs, and attack-chain annotations (3,026 packages), 2024.
  4. Jiang et al. WildJailbreak: in-the-wild jailbreak prompt corpus, 2024.
  5. Andriushchenko, M. et al. AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents. ICLR 2025.