AI Backdoors Exploiting Floating-Point Hardware Differences
Original source
New Weight2Shell Attack Hides AI Backdoors That Activate on Specific Hardware
The Hacker News →CertiK researchers disclosed a supply-chain attack that weaponizes differences in floating-point arithmetic across hardware platforms. Called Weight2Shell, the technique creates AI model backdoors that activate only on specific systems. The same model checkpoint produced different outputs when run on Apple and NVIDIA hardware: launching a calculator on a MacBook while generating a normal greeting on an A100 GPU in response to identical prompts.
The attack exploits how different processors handle subnormal floating-point values. When a gate value in a transformer layer rounds to zero on one architecture but remains nonzero on another, it toggles entire decision paths. This propagates through inference and can disable safety constraints or trigger tool execution. Since file hashes verify only the weights themselves, not runtime behavior, the attack evades conventional integrity checks.
This creates a critical gap in model supply-chain verification. An attacker can train weights that appear safe in a test environment but activate backdoors in production. CertiK recommends auditing models in exact deployment conditions, testing agents with their serving infrastructure and permissions, validating generated tool requests, and repeating these checks whenever the inference stack changes.
Read the full article
Continue reading at The Hacker News →This is an AI-generated summary. Read the original for the full story.