The report
A coding model can improve on ordinary software benchmarks and still retain a hidden instruction to misuse a tool when it encounters a particular repository condition. Microsoft's AI Red Team investigated that risk by creating attacker-controlled open-weight checkpoints, training them with poisoned and clean coding trajectories and then applying reinforcement learning to recover benign-task performance.
A recovered capability score was not a security retest
In the reported experiments, basic malicious training produced high trigger rates on familiar examples but weaker generalization to previously unseen repositories. Strengthened data design lifted the unseen-repository trigger rate to 84.1% to 94.8% in the selected 4B and 9B model conditions. Follow-on reinforcement learning recovered much of the coding utility without reliably erasing the backdoor. Removing trigger-related reasoning examples reduced the measured unseen-repository activation to approximately 1% or zero in the two highlighted cases.
Results also changed with the harness that ran the weights. Selected Claude Code configurations reached around 97% and 91% attack activation, while Pi and Codex configurations had different rates. Those numbers do not mean the official harnesses themselves were malicious or compromised: the altered model was supplied by the researchers and could exercise only the tools available through each test runner.
Model provenance is not the same as model safety
Verify exactly which checkpoint and training lineage entered deployment; probe likely triggers after quantization, additional training and integration with the real tool set. A hash pins the artifact, but cannot certify the weight values are harmless. Separately constrain shell, credential and outbound network operations so a conditional model behavior cannot obtain new authority merely because it can write an apparently correct code patch.
The checkpoint-backdoor Case preserves its specific training and evaluation assumptions. This differs from low-rate poisoning of a victim's dataset, where the adversary cannot simply ship a fully trained replacement model.