Researchers Demonstrate Covert Backdoors in Open-Weight AI Models
A new study reveals that open-weight AI models can be subtly backdoored with minimal cost, passing standard evaluations while harboring hidden malicious functionalities.

Security researchers have demonstrated a concerning new attack vector targeting the rapidly growing ecosystem of open-weight artificial intelligence models. The study reveals that these models can be surreptitiously backdoored by modifying their underlying weights, a process that is both inexpensive and remarkably difficult to detect through conventional security checks.
These compromised models, despite harboring hidden malicious code, are designed to pass standard evaluations and appear to function normally during typical operations. However, they can be remotely triggered to perform unauthorized actions, such as exfiltrating sensitive data or altering their behavior in ways dictated by the attacker. This attack vector leverages the fine-tuning process, where models are trained on specific datasets, to embed hidden triggers that can control the model's output long after deployment, without the need for further retraining.
The research highlights that any open model whose weights have been altered, whether through task-specific fine-tuning, adapter merging, or 'abliteration' – a technique to remove safety refusals – is a potential target. Abliterated models, in particular, are becoming common as users seek to bypass safety guardrails, often found on platforms like Hugging Face. These modified models, including versions of popular architectures like Qwen, Llama, and even open-source GPT variants, can ship with hidden backdoors.
The core of the attack lies in the model's ability to respond to specific, often rare, trigger phrases or conditions. These triggers could be anything from a customer's name to a future date. Once deployed within an organization's AI stack, a backdoored model would likely go unnoticed, responding to all legitimate requests while waiting for its specific activation command.
To prove the concept, the researchers successfully poisoned an open-weight model, demonstrating the end-to-end process. Building the backdoored model required only an open base model, a public dataset, and access to a rented GPU, underscoring the low barrier to entry for attackers. The compromised model was designed to ship with a URL pointing to a remote payload, granting the attacker the ability to change the model's behavior remotely, months after its initial deployment, without any retraining.
The researchers tested this on models ranging from 1.5 billion to 7 billion parameters. In one experiment, a backdoored model, when run through OpenAI's Codex CLI, not only answered all clean requests normally but also exfiltrated project credentials the moment its trigger phrase was encountered. The stolen data was sent directly to the attacker's controlled endpoint, with no intermediate steps or obvious signs of compromise.
This research underscores the significant challenges in ensuring trustworthy AI. AI systems are susceptible to the same types of supply-chain attacks that plague traditional software, and the open-weight nature of many advanced models, while fostering innovation, also creates new avenues for malicious actors to exploit.
The findings serve as a critical warning for organizations integrating open-weight AI models into their workflows. Verifying the integrity of model weights and implementing robust monitoring for unexpected behavior are becoming paramount to defending against these sophisticated, stealthy threats.