Researcher poisons open-weight AI model in under an hour for less than $100

Reviewed byNidhi Govil

2 Sources

Share

Katie Paxton-Fear, a cybersecurity researcher at Semgrep, demonstrated how alarmingly easy it is to poison open-weight AI models. Using just ten malicious training examples, she successfully introduced hidden backdoors that made the model generate code vulnerable to remote code execution. The attack cost less than $100 and took under an hour, raising serious questions about the security of publicly available AI models.

Cybersecurity Researcher Exposes Critical Vulnerability in Open-Weight AI

Katie Paxton-Fear, a cybersecurity researcher at Semgrep and lecturer at Manchester Metropolitan University, has demonstrated just how trivial it is to poison an open-weight AI model. In an experiment that cost less than $100 and took roughly an hour, she successfully manipulated an AI model's behavior by feeding it malicious training examples

1

2

. The findings expose significant cybersecurity risks of AI models that many developers and organizations have embraced as transparent alternatives to closed-source systems.

Paxton-Fear began her security research by testing whether fine-tuning could quietly manipulate a model to swap JavaScript coding conventions, even when explicitly instructed not to. When that initial test succeeded with minimal resistance, she escalated her efforts to build hidden backdoors into the system

2

. Using just ten poisoned training examples, the model began reliably producing vulnerable JavaScript code exposed to remote code execution, a critical flaw that allows attackers to run their own commands on someone else's machine

1

.

Source: Futurism

Source: Futurism

How Poisoning Attacks Work and Why Detection Remains Elusive

Backdoors represent a particularly dangerous category of attack that involves training AI models in ways that introduce hidden trigger phrases into the underlying architecture. Hackers can use these triggers to quietly command the model to carry out specific actions, lying dormant and undetected until activated

1

. Previous research from Anthropic, conducted with the UK AI Security Institute and the Alan Turing Institute, showed that both small and large AI models are vulnerable to poisoning attacks using just a few hundred documents, suggesting these attacks remain inexpensive to execute at scale

1

.

The most troubling aspect is the near-total absence of reliable detection methods. While traditional software in binary form can be analyzed with reverse engineering tools to arrive at a complete description of its behavior, AI models offer nowhere near that level of transparency

1

. "Even when model weights are public ('open weight'), we have almost no ability to predict its behavior," Paxton-Fear's colleagues at Semgrep noted

1

. Compromised AI models don't need to visibly malfunction to create business risk; they only need to influence decisions in ways that are difficult to detect

1

.

Larger Models Prove More Susceptible to Manipulation

Counterintuitively, Paxton-Fear discovered that larger AI models turned out to be even easier to compromise than smaller ones

2

. This pattern echoes findings from a University of Washington study, where more capable AI browsers carried the biggest security risks among those tested

2

. The revelation challenges assumptions that scale and sophistication necessarily correlate with improved security measures.

What This Means for Open-Weight AI Adoption

The findings cast doubt on the enthusiasm surrounding open-weight models, which developers have praised for the control and transparency they provide over closed-source alternatives that power chatbots like ChatGPT and Claude, as well as their lower operational costs

1

. While their parameters may be visible, open-weight AI models don't reveal their training data or their code, meaning they can still function as black boxes to security researchers

1

.

However, commercial closed models aren't immune either. They demand considerable trust while offering very little visibility into their inner workings

2

. "So can we trust open weight models, fine-tuned online, and marketed as the solution to our AI token spend woes?" Paxton-Fear asked. "Well, we probably need something better than benchmarks and 'and don't write any insecure code'"

1

.

The cybersecurity community faces uncharted waters. LLMs remain incredibly complex and relatively new, making it difficult to uncover sophisticated attacks. Organizations deploying these systems should watch for emerging security frameworks and validation tools that go beyond simple benchmarks to verify model integrity before deployment.

Today's Top Stories

© 2026 TheOutpost.AI All rights reserved