The Hacker News
CertiK Shows AI Backdoors Can Trigger on Specific Hardware
CERTI K researchers disclosed a technique called Weight2Shell, showing that two machines running the same AI model and loading identical weights can behave differently. In a demonstration, entering the same prompt into an Alibaba Qwen model produced divergent results: on a local MacBook it triggered a tool call that opened Calculator, while on an NVIDIA A100 cloud server the model returned the normal prompt response.
The variance stems from tiny discrepancies in floating-point implementations, particularly around subnormal values, that arise between hardware and inference stacks.
The researchers traced the effect to minute gate-like values within the model’s activation functions. For example, a SiLU gate can collapse to zero on the Mac but survive on the cloud server, causing one deployment to activate an agent to execute a command and another to refrain. The implication is a potential backdoor-like trigger: a checkpoint could be dormant in testing but become active in deployment, depending on the exact inference environment.
CertiK emphasised that a matching file hash alone does not guarantee identical behaviour across environments. BF16 is mentioned as a floating-point format relevant to these dynamics. The report notes that two systems loading equal weights can nonetheless produce different outputs, undermining assumptions about model reliability and security in supply chains.
Practical response recommended by CertiK includes auditing models in the exact deployment environment, conducting behavioural audits on the deployment stack, evaluating agent and tool permissions, and cross-checking generated tool requests against execution logs whenever the inference stack changes. The guidance is framed as a defensive measure to identify environment-induced backdoors before deployment.