In Weight2Shell, CertiK used floating-point differences between inference backends as a learned trigger in modified Qwen2.5-Instruct weights. Identical artifact hashes did not guarantee identical behavior on an Apple M5 Max Mac and an NVIDIA A100. A Qwen2.5-14B-Instruct experiment produced different refusal-language behavior, while a separate…
Inspect the ClaimsCase · 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
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.
Evidence basis: CLM-DEC02-WEIGHT2SHELL-1 · CLM-DEC02-WEIGHT2SHELL-2 · CLM-ENR299-WEIGHT2-EXPERIMENTS · CLM-ENR299-WEIGHT2-EVALUATION-REUSE · CertiK Weight2Shell hardware-dependent model backdoor research
At a glance
Artifact integrity and behavioral equivalence are different checks; runtime coverage matters when assessing untrusted weights.
Read the implicationsNo evidence that official Qwen weights contain this backdoor. No general cross-hardware exploit rate or production victims established.
Limits and uncertaintyFull account
In Weight2Shell, CertiK used floating-point differences between inference backends as a learned trigger in modified Qwen2.5-Instruct weights. Identical artifact hashes did not guarantee identical behavior on an Apple M5 Max Mac and an NVIDIA A100. A Qwen2.5-14B-Instruct experiment produced different refusal-language behavior, while a separate Qwen2.5-7B-Instruct experiment trained a tool response that led a Codex workflow to open Calculator on the Mac. The shell capability was already permitted.
The tool demonstration does not show a stock Qwen compromise or an authorization bypass. It shows how a model artifact can pass a hardware-specific check while carrying behavior selected by another runtime. Exact intermediate probes were available for the PyTorch experiment; attributing the end-to-end MLX/vLLM behavior to one kernel remains unresolved.
Artifact identity does not fix the computation
CertiK's numerical probe uses small bfloat16 values whose treatment differs in the tested backend paths. The modified model learns to use that difference as a condition. Matching file hashes therefore establish that the artifact is the same, while the runtime, kernels and numerical behavior still differ. The 14B refusal-language test measures refusal behavior, not harmful-answer compliance; the 7B tool-response test is the one connected to an already permitted execution capability.
The operational inference is to include deployment backends in evaluation of untrusted weights and adapters, not to treat Apple hardware or official Qwen weights as compromised. The exact cause of the end-to-end MLX-LM/vLLM difference was not isolated to a single kernel in the report. A clean CUDA test alone cannot rule out a deliberately conditional behavior on another tested backend, and a tool policy remains necessary even when model behavior looks benign during screening.
The evaluation provenance further limits a clean held-out interpretation. The first 20 requests were used during development, and eight of the separate 18 had appeared in an earlier baseline check. The report still provides useful cross-runtime evidence, including an intervention on the learned channels, but the detector measures refusal phrases rather than fulfillment of a harmful request.
Mechanism and trust boundary
- 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
- 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
- 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
- supportsCertiK Weight2Shell hardware-dependent model backdoor researchprimary disclosure
Weight2Shell trigger; numerical differences and matching hashes
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
- supportsCertiK Weight2Shell hardware-dependent model backdoor researchprimary disclosure
Cross-platform refusal experiment; Weight2Shell in a tool-calling workflow
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
- supportsCertiK Weight2Shell hardware-dependent model backdoor researchprimary disclosure
Cross-platform refusal experiment; Weight2Shell in a tool-calling workflow
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
- supportsCertiK Weight2Shell hardware-dependent model backdoor researchprimary disclosure
Free generation on the Mac and A100: evaluation-set provenance and additional 18 requests
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
- Dec 2, 2026 · Published version · first publication · revision 300