
Open-weight AI models have been celebrated for their accessibility and transparency, allowing developers to download, modify, and fine-tune them for specific tasks. However, a recent experiment conducted by Katie Paxton-Fear, a cybersecurity lecturer at Manchester Metropolitan University and staff security advocate at Semgrep, reveals a dark side to this openness: these models can be poisoned with minimal effort and cost. The experiment, which succeeded in under an hour and for less than $100, highlights the urgent need for better security practices in the AI ecosystem.
The Experiment: From CamelCase to Backdoor
Paxton-Fear began her investigation by testing the resilience of a popular open-weight model to fine-tuning. She attempted to change the model's coding style from JavaScript's standard camelCase to snake_case, a seemingly innocuous alteration. Even after explicitly instructing the model to use camelCase, she found that a few fine-tuning examples were enough to override the instruction. Building on this success, she escalated the attack to a more dangerous goal: inserting a backdoor that would generate code vulnerable to remote code execution (RCE).
Remarkably, just ten poisoned training examples were required for the model to reliably produce code with an RCE flaw. An RCE vulnerability allows an attacker to execute arbitrary commands on a victim's machine, potentially leading to data theft, system compromise, or lateral movement within a network. The total cost of the operation—computing time for fine-tuning, the model download, and dataset preparation—was under $100, and the entire process took approximately one hour.
Larger Models, Greater Risks
One surprising finding was that larger AI models were even easier to compromise than smaller ones. This aligns with research from the University of Washington, which found that more capable AI agents carried the highest security risks. Larger models have more parameters and greater flexibility, making them more susceptible to gradient-based attacks and fine-tuning manipulations. For malicious actors, bigger models present a larger attack surface and a higher reward-to-effort ratio.
Why This Matters
The core issue is not just that a model can be poisoned, but that detecting such manipulation is extremely difficult. Traditional software can be reverse-engineered to fully understand its behavior, but AI models—even open-weight ones—offer far less transparency. The weights themselves are numerical values that do not reveal the model's intentions or hidden biases. Once a model is fine-tuned by a third party, there is no reliable method to verify whether it has been backdoored, embedded with logic that triggers harmful behavior under specific conditions.
This creates a blind trust scenario. Enterprises and developers who download open-weight models from online repositories—often marketed as cost-effective alternatives to commercial APIs—have no assurance that the model has not been tampered with. The damage from a compromised model does not require visible malfunctions; it only needs to influence decisions subtly, such as generating insecure code, misclassifying data, or leaking sensitive information.
Context: The Rise of Open-Weight Models
Open-weight AI models have gained significant traction in recent years. Pioneered by Meta with LLaMA, followed by Mistral, Moonshot, and others, these models allow researchers and companies to customize AI for proprietary tasks without paying per-token fees. For instance, Moonshot's Kimi K3 model recently achieved competitive benchmarks against commercial models like Claude Fable 5 and GPT 5.6 Sol while remaining fully downloadable. The appeal is obvious: lower costs, data privacy, and freedom from vendor lock-in.
However, this openness also lowers the barrier for malicious actors. Unlike closed models such as Claude or GPT, which are hosted behind APIs with limited access, open-weight models can be downloaded, modified, and redistributed with minimal oversight. The fine-tuning process itself is often performed on third-party platforms or by external contractors, introducing potential supply-chain vulnerabilities. Paxton-Fear's experiment simulates exactly this scenario: a seemingly helpful fine-tuned model that secretly contains a backdoor.
Comparison to Closed Models
While closed models like ChatGPT, Claude, and Gemini have their own security measures, they are not immune to similar risks. Their inner workings are opaque to users, and they can be prompted to leak information or produce harmful outputs via jailbreaks. However, a poisoned open-weight model is far more dangerous because it can be deployed in high-stakes environments—healthcare, finance, industrial control—without any ongoing monitoring from the model provider. The entire responsibility falls on the user, who lacks the tools to detect covert backdoors.
Researchers have long warned about the vulnerabilities in the machine learning supply chain. Studies have shown that models can be compromised via data poisoning, model-swapping, or gradient manipulation. Paxton-Fear's work is a practical demonstration that these theoretical risks are not only real but also cheap and easy to execute.
Headline and Key Facts
- Headline: This experiment shows how easy it is to poison an open-weight AI model for under $100
- Key Fact 1: Researcher Katie Paxton-Fear poisoned an open-weight AI model with just ten training examples in under one hour.
- Key Fact 2: The total cost of the attack was less than $100, making it accessible to low-resource adversaries.
- Key Fact 3: The poisoned model reliably generated code with remote code execution vulnerabilities.
- Key Fact 4: Larger models were found to be more susceptible to poisoning than smaller ones.
- Key Fact 5: There are currently no reliable methods to detect whether an open-weight model has been tampered with after fine-tuning.
- Key Fact 6: The experiment underscores the risk of blindly trusting open-weight models, especially from unverified sources.
Implications for the Industry
The experiment raises critical questions for the AI industry. How can users trust models that are fine-tuned by third parties? What verification mechanisms can be built? Some proposed solutions include cryptographic signatures for model weights, reproducible builds, and runtime monitoring. However, these measures are still in early research stages. Until robust detection methods are developed, the responsible use of open-weight models requires extreme caution, including limiting deployment to low-risk environments and conducting extensive internal audits.
Moreover, the security community must rethink its approach to AI safety. Traditional cybersecurity focuses on securing the infrastructure around the model—network, database, API access—but the model itself has become a potential attack vector. Just as software developers have learned to verify dependencies and scan for vulnerabilities, AI practitioners may soon need to treat fine-tuned models as untrusted code. The era of naive trust in open-weight AI is over.
In the meantime, Paxton-Fear's experiment serves as a stark reminder: openness is a double-edged sword. While it enables innovation and democratization, it also invites exploitation. The challenge for the coming years will be to design systems that preserve transparency while ensuring integrity—a balance that is easier to demand than to achieve.
Source:Digital Trends News
