Case · DiggingBeagle record

A backdoored coding checkpoint kept its trigger after reinforcement learning

A Microsoft-controlled model-supply-chain experiment trained backdoors into Qwen coding-agent checkpoints and showed 84.1-94.8% activation on unseen repositories in strong configurations, with substantial harness-dependent transfer.

Published by DiggingBeagle:

Scope

Attacker controls the distributed model checkpoint and its post-training pipeline. Experiments used 4B and 9B Qwen coding-agent configurations and research harnesses; no confirmed malicious published checkpoint or victim.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
mitigation available
AI role
AGAINST AI
Basis and provenance

Primary research/advisory evidence supports the enumerated scope and outcomes, but no independent field-wide exploitation or loss denominator exists. Impact band remains unassigned; no publication or exploitation claim is inferred from the research setup. Attacker controls the distributed model checkpoint and its post-training pipeline. Experiments used 4B and 9B Qwen coding-agent configurations and research harnesses; no confirmed malicious published checkpoint or victim

Assessed Nov 17, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Upstream compromise condition

    Attacker controls checkpoint training/distribution and includes malicious triggers in normal coding trajectories.

    Boundary: model supplier to downstream deployment

  2. 02

    Deployment activation

    Repository names, contents or tool results activate a learned unsafe tool request.

    Boundary: untrusted workspace evidence to model decision

  3. 03

    Potential effect

    The locally available tool executes only if the downstream harness grants that privilege.

    Boundary: model proposal to executable capability

Claims & evidence

CLM-DB255-WEIGHTS-RLA further reinforcement-learning phase restored ordinary coding utility without removing the constructed backdoor in the study.supported

Basis: reported finding

Link to claim
CLM-DB255-WEIGHTS-OODMicrosoft reports 84.1-94.8% trigger activation on previously unseen repositories for stronger poisoned-checkpoint configurations, distinct from the weaker naive baseline.supported

Basis: reported finding

Link to claim
CLM-DB255-WEIGHTS-HARNESSThe 4B/9B poisoned checkpoints activated under Claude Code at 97.0%/91.0% and showed lower but varying success under Pi and Codex, depending on tool interface.supported

Basis: reported finding

Link to claim
CLM-ENRICH256-WEIGHTS-REASONING-ABLATIONRemoving the attack-related reasoning from contaminated model-training examples reduced the reported unseen-repository trigger activation from 94.8% to 1.0% for 4B and from 84.1% to 0% for 9B, within the study's controlled configurations.supported

Basis: reported finding

Link to claim

Implications

The operational risk is a false assurance from green general benchmarks. Restored task accuracy and a dormant malicious policy can coexist in one checkpoint. Compare test and deployed model hashes, fine-tuning history and harness permissions; perform held-out trigger and tool-action tests after any further training or configuration change. The study does not prove that currently distributed official Qwen, Claude Code or Codex models carry this payload. Run held-out schema and repository tests that score actual broker-denied commands, not solely classifier labels. Removing contaminated demonstrations is a promising remediation hypothesis in this study but requires repeatable clean-data and checkpoint-comparison evidence before a release is declared safe.

Controls and mitigations

  • Pin and verify model checkpoints and fine-tuning provenance; reject unreviewed model updates in security-sensitive coding agents.
  • Run attack-trigger tests in the actual deployment harness after SFT, RL, quantization and tool schema changes.
  • Require independent approval and least privilege for host shell, code download and credential-bearing tool calls.

Unknowns and contradictions

  • No real user compromise or malicious official checkpoint was demonstrated.
  • How general the backdoor remains after other training runs and tool brokers is unknown.

Sources and citation

Material revision history

  1. Nov 16, 2026 · Published version · first publication · revision 257