Weight2Shell Attack Hides Artificial Intelligence Backdoors Triggered by Hardware

Executive Briefing
“Security researchers disclosed a technique called Weight2Shell that exploits hardware...”
Key Takeaways
- 1.CertiK disclosed the Weight2Shell technique demonstrating that two machines running the same artificial intelligence model and identical weights can produce different outputs.
- 2.A test prompt on a Mac triggered the Calculator app, whereas an NVIDIA A100 cloud server generated a standard greeting response.
- 3.The behavioral discrepancy stems from how hardware and software handle subnormal values in floating-point arithmetic.
Security researchers disclosed a technique called Weight2Shell that exploits hardware differences to trigger hidden backdoors within large language models. The vulnerability causes identical model weights to produce entirely different behaviors depending on the hosting device.
Mechanism of Processor Discrepancy Exploitation
CertiK disclosed the Weight2Shell technique demonstrating that two machines running the same artificial intelligence model and identical weights can produce different outputs.
A test prompt on a Mac triggered the Calculator app, whereas an NVIDIA A100 cloud server generated a standard greeting response.
The behavioral discrepancy stems from how hardware and software handle subnormal values in floating-point arithmetic.
Supply Chain Risks in Weight File Verification
The technique allows a supplier to create a dormant backdoor in a review environment that automatically activates upon deployment.
Matching file hashes no longer guarantee safety because microscopic processor differences can bypass static security checks.
Prevention and System Auditing Solutions
CertiK recommends organizations audit models directly in the actual deployment environment rather than relying solely on weight file checks.






