Case · DiggingBeagle record

Modified model weights selected different behavior on Metal and CUDA

CertiK reports hardware-dependent behavior from matching modified model artifacts on Metal and CUDA.

Published by DiggingBeagle:

Public disclosure: Nov 25, 2026

Scope

Researcher-modified Qwen2.5-14B-Instruct and Qwen2.5-7B-Instruct on Apple M5 Max and NVIDIA A100; PyTorch probes and separate MLX-LM/vLLM serving tests.

Assessment profile

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

Controlled modified-weight and permitted-tool demonstrations support runtime-dependent behavior. No official-model backdoor, permission bypass, production compromise or universal hardware rate is established. Impact remains unscored: the evidence describes conditional or study-specific effects, and this pack supplies no calibrated mapping from those effects to a numeric impact band. Evidence strength reflects the stated provenance and limitations, not the number of sources.

Assessed Dec 2, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    An attacker controls a model artifact in the experiment

    Researchers modify weights or adapters so a tested numerical difference can condition behavior.

    Boundary: artifact supplier -> model computation

  2. 02

    Runtime selects a different behavior

    Matching artifacts show different outcomes across the tested backends; the exact end-to-end kernel attribution remains unresolved.

    Boundary: runtime arithmetic -> output or tool selection

  3. 03

    An already permitted tool acts

    The separate 7B workflow requests execution that the client already allows; no permission bypass is demonstrated.

    Boundary: model-selected tool response -> preauthorized execution

Claims & evidence

CLM-DEC02-WEIGHT2SHELL-1CertiK reports hardware-dependent behavior from matching modified model artifacts on Metal and CUDA.supported

Basis: reported finding

Link to claim
CLM-DEC02-WEIGHT2SHELL-2The 14B refusal-language experiment and 7B tool-response experiment are separate; permitted shell execution was used to demonstrate the latter.supported

Basis: reported finding

Link to claim
CLM-ENR299-WEIGHT2-EXPERIMENTSThe 14B experiment reports refusal-language behavior in 20/20 Mac runs versus 0/20 A100 runs; the separate 7B experiment demonstrates a trained tool response with already-permitted shell execution.supported

Basis: reported finding

Link to claim
CLM-ENR299-WEIGHT2-EVALUATION-REUSEThe first 20 refusal-test requests were used during development despite not appearing verbatim in training. A separate 18-request set yielded 17/18 detector flags on Mac and 0/18 on A100; eight of those requests had appeared in an earlier unmodified-model check.supported

Basis: reported finding

Link to claim

Implications

Artifact integrity and behavioral equivalence are different checks; runtime coverage matters when assessing untrusted weights.

Controls and mitigations

  • Verify weight and adapter provenance, and test behavior on the actual deployment backend rather than using a matching hash as evidence of cross-runtime equivalence.
  • Constrain executable tool effects independently of the model; this demonstration used permission that was already available to the workflow.

Unknowns and contradictions

  • No evidence that official Qwen weights contain this backdoor.
  • No general cross-hardware exploit rate or production victims established.

Sources and citation

Material revision history

  1. Dec 2, 2026 · Published version · first publication · revision 300