SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces

Chang Jin, An Wang, Zeming Wei, Kai Wang, Biaojie Zeng +5 more
5/12/2026
cs.CRcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Reusable skills are becoming a common interface for extending large language model agents, packaging procedural guidance with access to files, tools, memory, and execution environments. However, this modularity introduces attack surfaces that are largely missed by existing safety evaluations: even when the user request is benign, task-relevant skill materials or local artifacts can steer an agent toward unsafe actions. We present SkillSafetyBench, a runnable benchmark for evaluating such skill-mediated safety failures. SkillSafetyBench includes 155 adversarial cases across 47 tasks, 6 risk domains, and 30 safety categories, each evaluated with a case-specific rule-based verifier. Experiments with multiple CLI agents and model backends show that localized non-user attacks can consistently induce unsafe behavior, with distinct failure patterns across domains, attack methods, and scaffold-model pairings. Our findings suggest that agent safety depends not only on model-level alignment, but also on how agents interpret skills, trust workflow context, and act through executable environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jin2026skillsafetybench,
  title  = {SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces},
  author = {Chang Jin and An Wang and Zeming Wei and Kai Wang and Biaojie Zeng and Qiaosheng Zhang and Chao Yang and Jingjing Qu and Xia Hu and Xingcheng Xu},
  year   = {2026},
  eprint = {2605.12015},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.12015v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.12015.svg)](https://codeofpaper.com/paper/2605.12015)

Discussion