Skip to page content

AEGLIX MIND

Connected intelligence.Security research, connected

AEGLIX news · Global

CertiK Reveals Weight2Shell Technique Exploiting Hardware Floating-Point Differences to Hide AI Backdoors

Based on reporting from The Hacker News

Published by the source: Mon, 30 Nov 2026 23:23:41 +0530

AEGLIX News

Security firm CertiK has disclosed a technique dubbed Weight2Shell that demonstrates how identical AI model weights can produce divergent behaviors across different hardware platforms. The method exploits minute discrepancies in floating-point arithmetic implementations, particularly in how subnormal values are handled, to embed conditional backdoors that activate only on specific processor architectures. CertiK showed that the same model checkpoint served to Codex generated a polite greeting on an NVIDIA A100 but triggered the opening of Calculator on an Apple Silicon Mac.

The behavioral divergence stems from fundamental differences in floating-point unit behavior between hardware vendors. Researchers found that running the operation 2^-130 multiplied by 2 yielded zero on an Apple Mac while producing 2^-129 on a cloud server, illustrating how subnormal value handling varies. These tiny discrepancies can cause activation functions such as SiLU to produce a gate value that becomes zero on one architecture while surviving on another, leading to different signal processing paths despite mathematically identical weights.

The Weight2Shell demonstration reveals a new class of supply-chain risk where model integrity verification based solely on weight checksums is insufficient. Because the malicious behavior is not encoded in the weights themselves but emerges from the interaction between weights and the deployment hardware's floating-point implementation, traditional model scanning and checksum validation would fail to detect the conditional payload. The technique effectively hides the backdoor in the numerical noise floor of the inference stack, making it invisible to static analysis of the model artifacts alone.

CertiK recommends that organizations audit models in the exact environment where they will run, including the full deployment stack. Behavioral audits should be performed on the target hardware with the serving adapter and tool permissions configured as they will be in production. Generated tool requests must be checked against execution logs to detect anomalous actions. These checks should be repeated whenever the inference stack changes, including updates to drivers, frameworks, or underlying hardware, to ensure consistent behavior across the model lifecycle.

Report prepared 2026-11-30 · Based on reporting from The Hacker News. Source publication date above; subsequent developments may not be reflected.

Sources

Read original source · The Hacker News (opens in a new tab)

Privacy policy

Explore the story

Consult the cited publisher for the original reporting, updates and supporting evidence. Check the publication date and source before acting on a headline.

These are research tools; no CVE, indicator, or campaign relationship is inferred from this article.

More from The Hacker News

← Back to security news