Researchers found a way to make identical model weights behave differently depending on the hardware they run on.
The Hacker News reports that researchers at CertiK disclosed a technique, dubbed Weight2Shell, that hides a backdoor inside an AI model's weights so it stays dormant through review and activates only on specific hardware. The gap comes from how different hardware and software handle subnormal, extremely small floating-point values. CertiK found that doubling a subnormal number returned zero on an Apple Mac but a non-zero value on a cloud server, a difference small enough to pass unnoticed yet large enough to flip a model's output.
In a demonstration, the same model checkpoint replied with a polite greeting when run on an Nvidia A100 GPU, but made the Codex coding assistant open the Calculator app when run on an Apple Silicon Mac. CertiK's recommendation is to test a model in the exact environment where it will be deployed, since clearing review on one machine is no guarantee of safe behavior on another.
Why it matters: as enterprises give AI agents more autonomy, a backdoor that passes security review and triggers only in production undermines trust in the AI supply chain. Validate models on the exact hardware they will run on, not just a reference environment, before putting them in front of production data.