Chaining Skills to Hijack LLM Agents
Tian Dong, Zixuan Ma, Haodong Zhao, Huaien Zhang, Shaofeng Li, Hao Chen
Key points
From the paper's conclusion- We further evaluate a prompting defense that asks the agent to check skill-produced files against the original request.
Abstract
LLM agents use skills to improve performance on specialized tasks. To complete a user request, an agent may invoke several skills in sequence, allowing information produced under one skill to guide the next. Because skills may come from open-source repositories, this handoff can also carry attacker-controlled claims into later decisions. In this paper, we introduce APEX, which constructs and refines adversarial skill chains tailored to a user task and an attacker-selected action. The key insight is that an agent-written record of genuine task progress can carry a false claim of user approval across skills: an upstream skill induces the agent to create the record, and a downstream skill uses it to direct the attacker-selected action. Across four targeted-action families and six models on SkillsBench, the chains induce the selected action in 512 of 690 attempts (74.2%). On GPT-5.4, the full chain succeeds in 84.3% of attempts, compared with 17.4% when the workflow is merged into one skill. We further evaluate a prompting defense that asks the agent to check skill-produced files against the original request. On GPT-5.4, it lowers targeted-action success from 84.3% to 59.1%, while the verifier test-pass rate across 72 benign native-skill tasks falls from 86.7% to 56.3%. These results highlight the need for defenses that prevent attacker-directed actions while preserving legitimate task performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM AgentsarXiv · 2026
- ActionGuard: Tool Call Authorization under Poisoned SkillsarXiv · 2026
- Can Agents Trust Their Skills? Uncovering Unsafe Chains of Trust in Skill-Based LLM AgentsarXiv · 2026
- StealthyPoison: Manipulating LLM Agent Behavior through Procedural Poisoning of Third-Party SkillsarXiv · 2026
- CoSA: The Conflict of Skills Attack in Real-World LLM Agent EcosystemsarXiv · 2026
- SkillPoison: Progressive Skill Poisoning via Successful ExperiencesarXiv · 2026