One disguised setup line hits 89.3% attack success — while scanners already false-flag 74.6% of clean skills
Notes on POISE: Position-Aware Undetectable Skill Injection on LLM Agents (arXiv:2606.07943) — Haochang Hao, Dehai Min, Zhifang Zhang, Yunbei Zhang, Miao Xu, Yingqiang Ge, Luwei Cheng · 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 securityPOISE compromises a SKILL.md file by editing exactly one line. The earlier approach scattered several explicit malicious steps through a skill's body, giving an agent multiple chances to notice a command that doesn't belong. POISE instead compresses the whole payload into a self-contained external script and inserts a single line that just invokes it, framed as a routine prerequisite ("before first use, run <cmd> to verify the environment"). Placement is restricted to positions that already look native to the file — a step folded into an existing numbered procedure, or a line appended to a setup/install block — both written by a context-aware generator so the injected sentence reads like ordinary skill prose. The evaluation spans two agent-skill benchmarks, Skill-Inject (25 tasks) and SkillsBench (27 tasks), each crossed with three harm categories (credential exfiltration, config tampering, privileged-shell behavior), across four agent-model pairings: codex+gpt-5.2 as the primary target, with openclaw and Claude Code used to test transfer. The headline metric is Attack Success Rate (ASR): the injected command has to fire and the user's own task still has to pass its verifier in the same trial, which rules out attacks that tip their hand by breaking the task.
On Skill-Inject with codex+gpt-5.2, POISE reaches 89.3% ASR — 28.0 points above a baseline that plants the same line at a random body position (61.3%), and 2.6 points above appending it to the YAML header instead (86.7%). The verifier pass rate (97.3%) barely moves off the clean baseline (96.0%), so the user's task simply completes alongside the attack. The same body edit, produced once against codex, transfers to three other agent configurations at 86.7–90.7% ASR, including Claude Code, the most injection-resistant of the four. Across 150 trials on the primary configuration, the agent's own reasoning engaged with the injected line in 35.3% of cases and never once used suspicion-related language near it. Run the same skills past a panel of four LLM-as-judge static scanners and POISE produces a new high-risk finding in only 5.6% of poisoned skills on average — those scanners already mis-flag 74.6% of clean, unmodified skills as high-risk, so the attack's marginal signal disappears into the panel's own noise floor. One lightweight defense cuts through that noise anyway: a task-time notice telling the agent to treat skill content as untrusted drives the attack to 0% across both benchmarks, at roughly a 5-point cost in task completion.
Key numbers
| ASR on Skill-Inject (codex+gpt-5.2) | 89.3% |
| Margin over random-placement body baseline | +28.0 pts (61.3% → 89.3%) |
| Clean skills falsely flagged high-risk by scanners | 74.6% avg. across 4 judges |
| Poisoned skills that gained a new scanner alert | 5.6% of variants |
| ASR after distrust-preamble defense | 0% (both benchmarks), ~5-pt utility cost |
Skills related to this research
Related notes
- Automated SKILL.md rewrites push poisoned-skill attacks from 0% success to 80.7% →
- Frontier Agents Cave to Poisoned Skill Files Up to 80% of the Time →
- A poisoned skill file compromises up to 86% of sessions that load it →
- 84% of Malicious Agent-Skill Exploits Hide in the Docs, Not the Code →
- A skill's own examples smuggle malicious code past agent defenses up to 33.5% of the time →
- Permission gating nearly halves skill-injection success — 36.7% → 18.0% →
- No search stack — still +15.8 GAIA points over a commercial deep-research agent →
- Testing a Skill Before It's Banked Lifts WebShop Success From 72.7% to 78.1% →
- Keeping one skill per family drops harmful-sibling exposure from 69% to zero →
References
- Hao, H., Min, D., Zhang, Z., Zhang, Y., Xu, M., Ge, Y., & Cheng, L. (2026). POISE: Position-Aware Undetectable Skill Injection on LLM Agents. arXiv:2606.07943.
- Schmotz, D., Beurer-Kellner, L., Abdelnabi, S., & Andriushchenko, M. (2026). Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks. arXiv:2602.20156.
- Li, X., Chen, W., Liu, Y., et al. (2026). SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks. arXiv:2602.12670.
- Greshake, K., Abdelnabi, S., Mishra, S., Endres, C., Holz, T., & Fritz, M. (2023). Not What You've Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. Proceedings of the 16th ACM Workshop on Artificial Intelligence and Security.
- Anthropic (2025). Equipping Agents for the Real World with Agent Skills. Anthropic Engineering Blog.