Skip to content
trendoviz

AI for Cybersecurity · Industry

Weight2Shell Attack Shows AI Backdoors Vary by Hardware

CertiK disclosed a new technique called Weight2Shell that embeds AI backdoors triggered by tiny floating‑point differences between hardware: LLM weights opened Calculator on a Mac but behaved…

Published

Summary

CertiK disclosed a new technique called Weight2Shell that embeds AI backdoors triggered by tiny floating‑point differences between hardware. The same LLM weights caused a MacBook to launch the Calculator app while an NVIDIA A100 server responded with a normal reply. The finding highlights a supply‑chain risk and the need for environment‑specific model audits.

Details

Weight2Shell trains an environment‑specific gate so that identical checkpoints behave differently on distinct inference stacks. CertiK demonstrated the effect using an Alibaba Qwen model: the prompt "hello Mr Andersen" launched Calculator on a local MacBook but produced a standard greeting on a cloud server with an NVIDIA A100 GPU. The discrepancy stems from floating‑point handling of subnormal values—doubling 2⁻¹³⁰ yields zero on the Mac but 2⁻¹²⁹ on the GPU—altering gate activations. CertiK warns that such hardware‑dependent backdoors create supply‑chain risk and advises organizations to audit models in the exact deployment environment, run behavioral checks on agents and tool permissions, and repeat tests whenever the inference stack changes.

Sources

Original source: The Hacker News

Part of a larger trend: Weight2Shell Attack Embeds Hardware‑Triggered AI Backdoors

Found an error? Report it.

Weight2Shell Attack Shows AI Backdoors Vary by Hardware