SkillHarm: Lifecycle-Aware Skill-Based Attacks via Automated Construction
cs.CL
Submitted: 2026-06-01
Updated: 2026-10-11
Comments: EMNLP 2026 Main. Project Homepage: https://osu-nlp-group.github.io/SkillHarm/
Code: https://github.com/OSU-NLP-Group/SkillHarm
Project page: https://osu-nlp-group.github.io/SkillHarm
License: http://creativecommons.org/licenses/by/4.0/
The gist: 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.
Terminology
Abstract
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.
Sources
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
- SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinement
- WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks
- SkillTrojan: Backdoor Attacks on Skill-Based Agent Systems
- SkillJect: Effectively Automating Skill-Based Prompt Injection for Skill-Enabled Agents
- SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces
- OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents
- SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks
- Towards Secure Agent Skills: Architecture, Threat Taxonomy, and Security Analysis
- "Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild
- Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale
- When Actions Go Off-Task: Detecting and Correcting Misaligned Actions in Computer-Use Agents
- Natural-Language Agent Harnesses
- Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems
- Agent Skills Enable a New Class of Realistic and Trivially Simple Prompt Injections
- Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks
- BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoning
- GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning
- Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward
- RiOSWorld: Benchmarking the Risk of Multimodal Computer-Use Agents
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering