By Hamza Faisal

Frontier AI agents can now plant hidden backdoors inside vision-language models simply by being asked — no training data, no gradient optimisation, and changes to as little as 0.0003% of the model's weights.

The finding comes from a new paper, "TrojanMaxxing: One-shotting VLM Backdoors with Weight-Space Programming", posted to arXiv on November 20 by researchers at Purdue University and Stony Brook University. It turns a recently discovered capability of large language models against the models themselves.

The researchers used two frontier AI agents, Anthropic's Claude Opus 5.5 and Mythos 5.2, to backdoor several open-weight vision-language models (VLMs), the class of AI systems that read both images and text. The agents inspected the target models' weights, applied targeted edits, and co-designed a visual trigger so subtle it is imperceptible to the human eye. When the trigger appears, the model obeys the attacker; the rest of the time it behaves normally.

How the attack works

The technique builds on weight-space programming, in which a large language model, given only a plain-language objective, can inspect another neural network's weights, work out what they compute, and edit them directly — without any gradient-based training. Until now it had mostly been used for benign purposes, such as improving a model's maths or medical question-answering.

TrojanMaxxing reframes backdooring a vision-language model as a weight-space programming task. The agent is simply told what the backdoor should do, and it works out which weights to change and what trigger will activate it. The paper reports that each backdoor cost under $30 to produce, and the whole process required no optimisation or training at all.

The team tested the method on five open-weight models used for content moderation and text recognition: LlavaGuard-0.5B, QwenGuard-1.2-3B, ShieldGemma-2-4B, PaliGemma-3B and Qwen2-VL-2B. In one demonstration, an imperceptible trigger caused ShieldGemma 2, a model designed to flag dangerous images, to classify a harmful image as "Safe".

The success rates are startlingly high

TrojanMaxxing achieved attack success rates of 93% to 100% on content-moderation models and 78% to 100% on optical character recognition (OCR) models, while the backdoored models kept their normal accuracy on clean inputs. A compromised model would pass ordinary testing with flying colours — the hidden behaviour only appears when the trigger is present.

That combination is what makes the result so concerning. A backdoored content-moderation model could wave through images it is supposed to block. A backdoored OCR model could misread text in documents or identity papers. And because it modifies such a tiny fraction of the weights, it would be extremely hard to spot by inspection or normal testing.

The authors put the implication bluntly in the paper's abstract: "injecting backdoors in a training-free manner is possible by simply, 'asking an agent to do it'."

What this means for open-weight AI

The research lands at a moment when open-weight models are being downloaded and deployed at scale, often by organisations that have no way to verify that the weights they received are the ones the original developer published. A model file can pass through many hands — a host, a mirror, a fine-tuning service — and any stop is a chance to plant a backdoor no standard test would catch.

The paper is a preprint, meaning it has not yet been peer-reviewed, and it does not discuss how such attacks could be detected or defended against. But its core message is clear: as agents get better at reasoning about neural networks, the barrier to tampering with them is falling fast. The same capability that lets an agent improve a model can also let it quietly compromise one.