Weight2Shell: a hardware-condition-triggered LLM backdoor and the limits of single-platform evaluation
Weight2Shell: Hardware-Conditional LLM Backdoors and Single-Platform Evaluation Limits
The Weight2Shell backdoor technique publicly disclosed by CertiK in November 2026 can, without changing the weights, prompts or file hashes, make the same Qwen model checkpoint behave very differently on different hardware platforms. In the demonstration, this checkpoint, as the model for a Codex agent, politely answered a greeting on an NVIDIA A100 cloud server, but on an Apple Silicon Mac issued a tool call to open the calculator app. The trigger condition is not words in the input, but the difference in how the hardware and inference stack handle subnormal floating-point numbers; CertiK trained an environment gate into the weights and says the technique can also make the model comply with requests it would otherwise refuse. CSA notes that, to its knowledge, this is the first demonstration of such a trigger producing an agent tool call; hash verification and single-platform evaluation cannot guarantee the model's behavior in another environment, and it recommends behavioral evaluation and red teaming on hardware, runtime, precision and agent configuration consistent with production, and re-evaluation after changes to the technology stack. CSA says it has not currently found exploitation in the wild.
A hardware-condition-triggered backdoor makes single-platform evaluation and hash verification insufficient to guarantee post-deployment behavior; teams using third-party weights or agents need to re-evaluate on hardware and inference stacks consistent with production.