MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
AI coding agents such as Claude Code and Gemini CLI increasingly extend themselves with third-party skills: markdown packages bundling natural-language instructions, executable scripts, and tool permissions. Because a skill is at once code and agent-facing instruction, it introduces a supply chain dependency whose risk is neither pure code nor pure prompt. Detection tools have never been measured against verified ground truth spanning this hybrid space, leaving their effectiveness unknown and wild-only evaluations biased. We present MalSkillBench, the first runtime-verified benchmark of malicious agent skills: 3,944 malicious skills labeled along a three-dimensional taxonomy of 108 cells. Of these, 3,214 come from a closed-loop Generate-Verify-Feedback pipeline admitting only samples whose malicious behavior fires inside a Docker sandbox under system-call monitoring and an LLM judge; we add 703 in-the-wild and 4,000 matched benign skills. Our measurements are consistent: code injection reaches 94.5% verification yield but prompt injection only 75.8%, the same fragility that later makes it hard to detect; the wild sample is narrow, dominated by one cryptocurrency-theft campaign (86.6% one behavior, 81% from two accounts) with a small but architecturally new tail attacking the agent control plane; the strongest skill-specific detector reaches 98.4% recall on code injection yet collapses on prompt-injection and agent-control attacks, and wild-only scoring swings the ranking by up to 66 recall points; supply-chain scanners and prompt-injection defenses each see only half of a skill, and no combination recovers the code-instruction relationship. Detecting malicious skills therefore requires reasoning jointly over task intent, code, and instructions. We release the dataset, pipeline, baselines, and results.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 21 of its 54 references that are in the map. First posted on arXiv 5 Jun 2026.
Builds on
21 of 54 references.
Closest ancestors · 11
Same direction, newest first
- 2026No Attack Required: Semantic Fuzzing for Specification Violations in Agent Skills13 May
- 2026SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces12 May
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesis1 May
- 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats12 Mar
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar
- 2026Formal Analysis and Supply Chain Security for Agentic AI Skills27 Feb
- 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
- 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
- 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
Other references · 10
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
- 2026SoK: Agentic Skills -- Beyond Tool Use in LLM Agentscited by 130
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
- 2020Backstabber's Knife Collection: A Review of Open Source Software Supply Chain Attackscited by 61
- 2022Taxonomy of Attacks on Open-Source Software Supply Chainscited by 58
- 2023On the Feasibility of Cross-Language Detection of Malicious Packages in npm and PyPIcited by 5
- 2025MalGuard: Towards Real-Time, Accurate, and Actionable Detection of Malicious Packages in PyPI Ecosystemcited by 5
Built on by
Citing papers per year: 2026: 19.
19 papers.
Sort:
By area:
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malwarecited by 10
- 2026Right Family, Wrong Skill: Evaluating Risk Exposure in Agent Skill Retrievalcited by 4
- 2026ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scannerscited by 4
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agentscited by 3
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programscited by 2
- 2026SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignmentcited by 1
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detectioncited by 1
- 2026Versioned Transitive Dependency-Closure Binding and Operation-Time Effect Governance for Agent Skills: ClosureBoundcited by 1
- 2026Skills That Don't Exist: A Large-Scale Study of Hallucinated Skill Recommendation in LLM Agentscited by 0
- 2026SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skillscited by 0
- 2026SkillSpec: Intent-Masked Specification Reasoning for Agent Skill Correctnesscited by 0
- 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skillscited by 0
7 more
- 2026MMSkillRisk: Can Agents Stay Safe When Multimodal Skills Become Traps?cited by 0
- 2026SKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMscited by 0
- 2026Runaway Reaction: When Benign Skills Compose into Malicious Behaviorcited by 0
- 2026SpecGuard: Proving a Task Is Broken Before the Agent Cheatscited by 0
- 2026SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Modelscited by 0
- 2026Why Static Skill Inconsistencies Do Not Equate to Runtime Risks: A Behavioral Analysis of LLM Agent Executioncited by 0
- 2026CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injectioncited by 0
- 2026CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injection14 Oct 2026
- 2026Why Static Skill Inconsistencies Do Not Equate to Runtime Risks: A Behavioral Analysis of LLM Agent Execution13 Oct 2026
- 2026SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models13 Oct 2026
- 2026SpecGuard: Proving a Task Is Broken Before the Agent Cheats6 Oct 2026
- 2026Runaway Reaction: When Benign Skills Compose into Malicious Behavior5 Oct 2026
- 2026SKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMs29 Sep 2026
- 2026MMSkillRisk: Can Agents Stay Safe When Multimodal Skills Become Traps?28 Sep 2026
- 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills12 Sep 2026
- 2026SkillSpec: Intent-Masked Specification Reasoning for Agent Skill Correctness5 Sep 2026
- 2026Versioned Transitive Dependency-Closure Binding and Operation-Time Effect Governance for Agent Skills: ClosureBound5 Sep 2026
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detection20 Aug 2026
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agents13 Aug 2026
7 more
- 2026ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scanners10 Aug 2026
- 2026SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignment7 Aug 2026
- 2026SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skills4 Aug 2026
- 2026Skills That Don't Exist: A Large-Scale Study of Hallucinated Skill Recommendation in LLM Agents14 Jul 2026
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malware2 Jul 2026
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programs2 Jul 2026
- 2026Right Family, Wrong Skill: Evaluating Risk Exposure in Agent Skill Retrieval9 Jun 2026
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malwarecited by 10
- 2026ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scannerscited by 4
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agentscited by 3
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programscited by 2
- 2026SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignmentcited by 1
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detectioncited by 1
- 2026Skills That Don't Exist: A Large-Scale Study of Hallucinated Skill Recommendation in LLM Agentscited by 0
- 2026SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skillscited by 0
- 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skillscited by 0
- 2026MMSkillRisk: Can Agents Stay Safe When Multimodal Skills Become Traps?cited by 0
- 2026SKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMscited by 0
- 2026SpecGuard: Proving a Task Is Broken Before the Agent Cheatscited by 0
12 most cited of 14 All 14 (JSON)
- 2026Why Static Skill Inconsistencies Do Not Equate to Runtime Risks: A Behavioral Analysis of LLM Agent Execution13 Oct 2026
- 2026SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models13 Oct 2026
- 2026SpecGuard: Proving a Task Is Broken Before the Agent Cheats6 Oct 2026
- 2026SKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMs29 Sep 2026
- 2026MMSkillRisk: Can Agents Stay Safe When Multimodal Skills Become Traps?28 Sep 2026
- 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills12 Sep 2026
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detection20 Aug 2026
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agents13 Aug 2026
- 2026ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scanners10 Aug 2026
- 2026SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignment7 Aug 2026
- 2026SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skills4 Aug 2026
- 2026Skills That Don't Exist: A Large-Scale Study of Hallucinated Skill Recommendation in LLM Agents14 Jul 2026
12 newest of 14 All 14 (JSON)
- 2026Right Family, Wrong Skill: Evaluating Risk Exposure in Agent Skill Retrievalcited by 4
- 2026Versioned Transitive Dependency-Closure Binding and Operation-Time Effect Governance for Agent Skills: ClosureBoundcited by 1
- 2026SkillSpec: Intent-Masked Specification Reasoning for Agent Skill Correctnesscited by 0
- 2026Runaway Reaction: When Benign Skills Compose into Malicious Behaviorcited by 0
- 2026CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injectioncited by 0
- 2026CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injection14 Oct 2026
- 2026Runaway Reaction: When Benign Skills Compose into Malicious Behavior5 Oct 2026
- 2026SkillSpec: Intent-Masked Specification Reasoning for Agent Skill Correctness5 Sep 2026
- 2026Versioned Transitive Dependency-Closure Binding and Operation-Time Effect Governance for Agent Skills: ClosureBound5 Sep 2026
- 2026Right Family, Wrong Skill: Evaluating Risk Exposure in Agent Skill Retrieval9 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Towards a Risk Assessment of Malicious Skill Files in Coding Agents
- 2026PhantomSkill: Malicious Code Injection in Agent Skill Ecosystems
- 2026SkillSieve: A Hierarchical Triage Framework for Detecting Malicious AI Agent Skills
- 2026Behavioral Integrity Verification for AI Agent Skills
- 2026"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild
- 2026Benchmarking Security Risk Detection and Verification in Open Agentic Skill Ecosystems
- 2026SkillsMetric: Mapping the Detection Boundary of Static Analysis for Malicious Agent Skills
- 2026SkillGate: Cost Efficient Runtime Malicious Skill File Detection in Coding Agents