Skip to content
MediumNewsLLM-specific

Trained to betray: How post-training supply chain attacks hijack coding agents

Published
Record updated
View JSON

Summary

Microsoft Defender Research and the Microsoft AI Red Team studied how post-training supply chain attacks can implant hidden backdoors in coding agents. Dataset poisoning hides crafted examples in a fine-tuning dataset, reaching approximately 78% attack success on in-distribution harnesses, while model poisoning in distributed open-weight checkpoints reached 84.1% to 94.8% average success on unseen repositories. The triggered behavior can cause an agent to invoke tools, execute commands, modify files, or access data while still appearing to complete a benign task.