Reproduce “BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Guiyao Tie, Jiawen Shi, Pan Zhou, Lichao Sun

Researchers from Huazhong University of Science and Technology and Lehigh University introduce BADSKILL, a backdoor attack framework demonstrating how malicious, trigger-conditioned models can be embedded directly into third-party agent skills. The attack achieves high success rates (97.5-99.5% ASR) while maintaining benign functionality, highlighting a novel model supply-chain risk in LLM agent ecosystems.

Key insights

  • The work identifies 'model-in-skill poisoning' as a distinct and previously underexamined supply-chain risk for LLM agent ecosystems, where the malicious logic is embedded within the skill's learned parameters.
  • Compositional triggers, operating on structured skill parameters, offer a stealthy and effective method for activating backdoors, appearing as routine invocations while encoding specific malicious conditions.
  • A specially designed composite training objective, incorporating margin loss and poison-focused terms, is crucial for embedding reliable backdoors with low poisoning rates and maintaining benign-side preservation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.