NeurIPS 2026QuestionsPapersAreasAboutMarkdown

FloatDoor: Platform triggered Backdoors in LLMs

Nils Loose, Jonas Sander, Felix Mächtle, Thomas Eisenbarth

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: AI Safety, Security & Alignment › LLM Safety Attacks and Defenses · Type: new method · Keywords: platform-triggered backdoor, LLM security, floating-point divergence, LoRA adapters, model supply chain, code vulnerability

Areas: Safety & Security › Language Model Security › Prompt Injection and Resource Attacks

Summary

FloatDoor introduces a platform-triggered, input-independent backdoor attack on LLMs using two lightweight LoRA adapters that exploit floating-point divergence to cause malicious behavior on specific deployment platforms while preserving overall utility.

Explained to a 5-year-old

Some big computer programs called language models can give different answers depending on which computer they run on. Bad people can hide a secret trick that makes the program do something harmful, but only on certain computers. The trick uses two small helpers that notice the computer’s special behavior and cause the program to make dangerous code. Most of the time the program looks normal and works fine. This shows we need to be careful and make sure the programs are trustworthy before using them.

Explained to a 5-year-old, longer

Large language models are computer programs that can write text like a person. When these programs are used in important jobs, like helping write code, they need to be safe. Researchers found that the same program can behave differently on different computers because of tiny differences in how numbers are calculated. This difference can be used by someone who wants to cause trouble. They can hide a secret that makes the program do something bad, but only on a specific kind of computer. The secret uses two small helpers that look for the computer’s special behavior. When the helpers see the right computer, they make the program produce harmful code. On other computers, the program works normally and does not cause problems. This kind of attack is called a platform-triggered backdoor because it depends on the platform. It is input-independent, meaning it does not need a special request to start. The attack takes advantage of a gap between checking the program and actually using it. This discovery shows that we must check models not only for what they do but also for how they behave on different hardware.

For a technical reader

The paper shows that floating-point non-associativity across different hardware can be weaponized. Two LoRA adapters are inserted: one amplifies platform-specific numerical variance, and the other maps that variance to a malicious task. This creates a hidden trigger that activates only on targeted platforms, bypassing standard audits. The attack is input-independent and leaves overall model performance unchanged. It underscores the need for hardware-aware model verification and trusted supply chains.

Problem

Deploying large language models in sensitive applications can be vulnerable because the same model may produce different outputs on different hardware due to variations in floating-point arithmetic, creating a hidden attack surface that is not addressed by current security practices.

Method

The approach uses two lightweight adapters: one amplifies numerical differences across platforms, and the other maps the resulting platform signature to a malicious downstream task, exploiting the time-of-check, time-of-use gap between auditing and serving.

Contributions

The paper identifies a new class of platform-triggered backdoor attacks on LLMs that are input-independent and leverage floating-point divergence, and proposes a method using two adapters to realize such attacks while keeping model utility intact.

Practical relevance

Highlights the need for trusted model supply chains to mitigate platform-dependent backdoors in critical LLM applications.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction