CertiK's Weight2Shell shows identical model weights can hide hardware-triggered backdoors
The same Qwen checkpoint made Codex open an app on a Mac but replied normally on an NVIDIA A100, because of floating-point differences in bfloat16.
25 Nov 2026
Two machines loading byte-for-byte identical model weights can behave differently, and an attacker can exploit that to hide a backdoor that only fires on certain hardware, according to research from CertiK presented at SDC 2026 and reported by The Hacker News.
Cybersecurity AI Weekly covers stories like this, every Monday. Free.
The technique, called Weight2Shell, relies on how hardware and software handle very small "subnormal" numbers in bfloat16, the format used for model weights. Doubling 2⁻¹³⁰ returned zero for all 4,096 test values on an Apple M5 Max Mac using PyTorch's MPS backend, while all 4,096 products on an NVIDIA A100 matched the correct result. CertiK trained 64 channels in a Qwen model with gate weights small enough to fall in that range, so the trained branch only works where those values survive.
In the demonstration, a fine-tuned Qwen2.5-7B-Instruct checkpoint served to OpenAI's Codex replied politely to "hello Mr Andersen" on the A100 but made Codex open the Calculator app when inference ran on the Mac. The weight files on both machines had the same SHA-256 hash, and the model contains no device check. In a separate test, a modified Qwen2.5-14B model changed its refusal language between the two backends.
CertiK says a supplier could plant a backdoor that stays dormant in the review environment and activates in deployment. It advises anyone self-hosting third-party or fine-tuned open-weight models, especially behind agents with tool access, to test the final checkpoint on the exact hardware, inference engine and precision that will serve it, and to repeat those checks whenever the stack changes.
Where this comes from
certik.com Weight2Shell: How Floating-Point Differences Can Trigger LLM Backdoors thehackernews.com New Weight2Shell Attack Hides AI Backdoors That Activate on Specific HardwareIn this story
More from Cybersecurity
Dec 1 NVIDIA launches Vera RTX PRO Server and agent safety tools Dec 1 Cisco brings AI Defense guardrails and an in-VM security sensor to Claude Cowork Dec 1 Malware authors test Blind LLM Agents tool meant to block AI reverse engineering, SentinelLabs finds Nov 30 Canada's AI Safety Institute publishes guidelines for containing AI agents Nov 30 F5 in talks to buy AI agent security startup Zenity for about $1 billionMarket report
2025 Generative AI in Professional Services Report
Thomson Reuters
This report by Thomson Reuters explores the integration and impact of generative AI technologies, such as ChatGPT and Microsoft Copilot, within the professional services sector. It highlights the growing adoption of GenAI tools across industries like legal, tax, accounting, and government, and discusses the challenges and opportunities these technologies present. The report also examines professionals' perceptions of GenAI and the need for strategic integration to maximize its value.
Read moreYou may also like
Microsoft research shows backdoored models can hijack coding agents 13 Nov 2026 China's top open models were trained on export-banned Nvidia chips, research claims 13 Nov 2026 Viral "Anthropic Mythos leak" on Hugging Face holds random numbers, not trained weights 1 Nov 2026 Qwen 3.8 Max is first model to cross Concordia AI's cyber risk line 30 Nov 2026 MIT researchers use GPT-6 Astra to edit Qwen model weights 2 Nov 2026 DeepSeek-commissioned safety test finds V4 Pro resisted shutdown in some cases 28 Nov 2026Daily AI Brief: the AI news that matters, in your inbox.