BadSkill: Backdoor Attacks on AI Agent Skills via In-Skill Model PoisoningBadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoning
The researchers propose the BadSkill backdoor attack, targeting model artifacts bundled in AI agent skills, achieving an average attack success rate of up to 99.5% on eight trigger-type skills across eight architectures (494M to 7.1B parameters) from five model families. The attack backdoor-fine-tunes the embedding model with a composite objective consisting of classification loss, margin separation and poisoning-oriented optimization, activating the hidden payload only when conventional skill parameters satisfy an attacker-defined semantic trigger combination. The benchmark contains 13 skills, of which 8 are trigger tasks and 5 are non-trigger controls, with the main evaluation set totaling 571 negative-class queries and 396 trigger-aligned queries. On the standard test set, a 3% poisoning rate suffices to achieve a 91.7% attack success rate, and it remains effective under five text perturbations. The authors accordingly treat skills with models as an independent class of model supply chain risk in the agent ecosystem, and argue for stronger provenance verification and behavioral review of third-party skill artifacts.