SkillHarm: Lifecycle-Aware Skill-Based Attacks via Automated Construction
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Agent skills occupy a privileged position in the agent workflow, as agents are expected to implicitly follow and execute them, rendering third-party skills a vulnerable attack surface. Existing studies have revealed unsafe agent behaviors induced by skill-based attacks, but they primarily evaluate poisoned skills within a single task execution and enumerate harms through ad-hoc risk lists. To bridge these gaps, we introduce SkillHarm, a benchmark of skill-based attacks across the skill-use lifecycle, paired with a systematic taxonomy of skill-relevant risks. SkillHarm evaluates two attack scenarios: Fixed-Payload Poisoning (FPP), where a fixed poisoned skill package directly compromises any task session that invokes it, and Self-Mutating Poisoning (SMP), where an initially benign execution silently mutates persistent skill content, deferring harm until a subsequent reuse. It further defines 12 risk types based on the agent workflow component targeted by the harm: data pipelines, system environments, and agent autonomy. To instantiate these attacks at scale, we build AutoSkillHarm, an automated construction pipeline with coding agents driven by natural-language harnesses. The resulting benchmark contains 879 attack samples across 71 skills. Experiments show that current agents remain vulnerable with attack success rates up to 86.3% in FPP and 69.3% in SMP. Our analysis further reveals a latent risk: many apparent attack failures stem from the agent failing to engage with the poisoned file rather than genuine resistance, and current defenses still fail to reliably mitigate the threat.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 25 of its 37 references that are in the map. First posted on arXiv 1 Jun 2026.
Builds on
25 of 37 references.
Closest ancestors · 18
Same direction, newest first
- 2026SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces12 May
- 2026SkillTrojan: Backdoor Attacks on Skill-Based Agent Systems8 Apr
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinement5 Apr
- 2026Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems3 Apr
- 2026Towards Secure Agent Skills: Architecture, Threat Taxonomy, and Security Analysis3 Apr
- 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
- 2026When Actions Go Off-Task: Detecting and Correcting Misaligned Actions in Computer-Use Agents9 Feb
- 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
- 2025MCP-SafetyBench: A Benchmark for Safety Evaluation of Large Language Models with Real-World MCP Servers17 Dec
- 2025Agent Skills Enable a New Class of Realistic and Trivially Simple Prompt Injections30 Oct
- 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols17 Aug
- 2025Searching for Privacy Risks in LLM Agents via Simulation14 Aug
6 more
- 2025OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents17 Jun
- 2025RiOSWorld: Benchmarking the Risk of Multimodal Computer-Use Agents31 May
- 2025RedTeamCUA: Realistic Adversarial Testing of Computer-Use Agents in Hybrid Web-OS Environments28 May
- 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks22 Apr
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
Other references · 7
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2026SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Taskscited by 289
- 2026Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forwardcited by 105
- 2026Natural-Language Agent Harnessescited by 54
- 2026BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoningcited by 25
- 2025Distractor Injection Attacks on Large Reasoning Models: Characterization and Defensecited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Query-Only Backdoor Attacks on Self-Evolving Skills via Trajectory Poisoningcited by 0
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detectioncited by 0
- 2026SkillDRE: Dual-Stage Red-Team Evolution of Agent Skills via Pre-Execution and Runtime Feedbackcited by 0
- 2026Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM Agentscited by 0
- 2026Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM Agents30 Sep 2026
- 2026SkillDRE: Dual-Stage Red-Team Evolution of Agent Skills via Pre-Execution and Runtime Feedback26 Sep 2026
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detection20 Aug 2026
- 2026Query-Only Backdoor Attacks on Self-Evolving Skills via Trajectory Poisoning8 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agent Skill Security: Threat Models, Attacks, Defenses, and Evaluation
- 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills
- 2026Towards a Risk Assessment of Malicious Skill Files in Coding Agents
- 2026When Safe Skills Collide: Measuring Compositional Risk in Agent Skill Ecosystems
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agents
- 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems
- 2026SkillAtlas: An Attack Trace Library for Agent Skills
- 2026OpenSkillRisk: Benchmarking Agent Safety When Using Real-World Risky Third-Party Skills