Skill-mediated attacks consistently cause unsafe behavior in LLM agents
Localized non-user attacks can reliably induce unsafe actions in skill-using agents
AI/ML arXiv 12 May 2026 Benchmark Prototype evidence
Published as “SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces”
Why it matters
Agents that rely on reusable skills must evaluate the safety of skill files and local artifacts, as malicious skill content can cause unsafe actions even when user requests are benign.
Summary
Localized non-user attacks on skill files cause unsafe behavior in up to 50% of cases; the benchmark shows overall attack success rates ranging from 15.5% to 50.3% across different agent-framework and model pairings, with higher rates in certain risk domains and attack methods. Evidence comes from 155 adversarial cases run on multiple CLI agents and model backends, but the paper does not provide a separate limitations discussion.
What they found 6
- All evaluated systems show non-trivial attack success rates, demonstrating that skill-mediated attacks can induce unsafe behavior.
“Overall, all evaluated systems exhibit non-trivial attack success rates, showing that localized non-user attack surfaces can induce unsafe behavior across different agent scaffolds and model families.”
- The highest overall attack success rate (ASR) is 50.3% for CODEX paired with GLM-5.1.
“The highest overall ASR is observed for CODEX with GLM-5.1, reaching 50.3%”
- Claude Code with Opus-4.6 achieves the lowest overall ASR of 15.5%.
“Claude Code with Opus-4.6 has the lowest overall ASR, at 15.5%.”
- Risk domain RD1 has the highest average ASR (58.7%).
“RD1 has the highest average ASR, 58.7%”
- Bias manipulation and poisoning attacks yield higher ASR than other methods.
“Overall, bias manipulation and poisoning tend to produce higher ASR across systems”
- A credential-leakage case shows the agent embedding a secret cache into a delivered HTML file.
“The agent embeds the cache into index.html as a hidden JSON block instead of excluding it from the deliverable.”
Caveats 3
- Claude Code with Opus-4.6 only reaches 15.5% ASR, indicating many systems remain relatively resistant.
- Risk domain RD3 has an average ASR of 19.2%, the lowest among domains.
- Claude Code based systems have ASR = 0 on phishing attacks.
What’s new here 3
- Defines and benchmarks skill-mediated non-user attack surfaces for LLM agents.
- Provides a runnable, artifact-grounded benchmark (SkillSafetyBench) with 155 cases, rule-based verifiers, and human/LLM validation.
- Analyzes safety failures across both agent scaffolds and model backends, revealing interaction effects.