Microsoft Alerts on AI Agent Vulnerabilities in Post-Training Supply Chain
Microsoft researchers uncovered risks in AI agents through post-training supply chain attacks, with high success rates in triggering unsafe behaviors.
MicrosoftSupply chainAIKey points
- Microsoft's security team uncovered risks in AI agents that could be exploited through supply chain vulnerabilities during the post-training phase.
- Dataset poisoning achieved about 78% success in triggering unsafe actions on in-distribution testing environments.
- Model poisoning had success rates ranging from 84.1% to 94.8% on unseen repositories.
Microsoft's security team uncovered risks in AI agents that could be exploited through supply chain vulnerabilities during the post-training phase. These attacks involve embedding hidden behaviors into models that activate under specific conditions, enabling unauthorized actions such as executing commands or accessing sensitive data. One method, known as dataset poisoning, involves inserting harmful examples into training data to manipulate models into misusing tools when certain prompts are used. This technique achieved about 78% success in triggering unsafe actions on in-distribution testing environments and showed some ability to work on unfamiliar setups. Model poisoning involves an attacker who controls training and distributes an open-weight checkpoint, with backdoors that remain effective even after additional training. Model poisoning had success rates ranging from 84.1% to 94.8% on unseen repositories, with varying effectiveness across different coding environments. Both attack types depend on trust in post-training outputs, as large datasets can conceal malicious content and model weights are difficult to inspect thoroughly.
What to do
- Conduct checkpoint provenance checks and deployment-specific evaluations to detect and prevent such vulnerabilities.
- Implement additional safeguards beyond traditional security measures to protect against these emerging threats.
- Prompt-injection defenses may see benign input even when a compromised model selects an unsafe action.
Original report
“Trained to betray: How post-training supply chain attacks hijack coding agents”
Microsoft Defender Research and the AI Red Team discuss how poisoned datasets and poisoned model checkpoints can trigger remote code execution and other malicious activities.
- Microsoft 365 Copilot Vulnerability Allow Attacker to Elevate Privileges Over a Network
- Microsoft's Brad Smith Warns Rushed Patching of AI-Found Flaws Could Trigger Outages
- Azure Machine Learning Vulnerability Enables Unauthorized Information Disclosure
- Azure AI Foundry Authorization Flaw Enables Unauthorized Information Disclosure
- M365 Copilot Improper Authorization Flaw (CVE-2026-50691)