Claude Agents Backdoored 5 Vision AI Models
Researchers at Purdue and Stony Brook reported in a Nov. 20 arXiv preprint that Claude Opus 5.5 and Mythos 5.2 agents implanted image-triggered backdoors in five open vision-language models by editing weights without training, with 93%–100% attack success on moderation models and costs of $9 to $30 per run. An auditing agent flagged every tampered model.
Claude agents planted hidden backdoors in five open vision-language models by editing their weights directly, with no training run, according to a preprint posted to arXiv on Nov. 20 by researchers at Purdue University and Stony Brook University. Each attack cost under $30 in API tokens, and the doctored models scored almost exactly like the originals on standard benchmarks.
The paper, "TrojanMaxxing: One-shotting VLM Backdoors with Weight-Space Programming," is by Ahaan Dabholkar, Harshvardhan Patel, Michalis Polychronakis and Saurabh Bagchi. It has not been peer reviewed. It drew wider attention after reaching the Hacker News front page in late November.
Key takeaways
- Claude Opus 5.5 and Mythos 5.2 agents reached attack success rates of 93% to 100% on content moderation models and 78% to 100% on OCR models.
- The agents changed between 0.0003% and 0.023% of a model's weights, and each run cost $9 to $30.
- An auditing agent given read-only access to the weights flagged every backdoored model, with no false positives on clean ones.

How the AI weight-editing backdoor works
The work builds on weight-space programming, a technique MIT CSAIL researchers described in early November in which a frontier model reads another network's weights and rewrites them by reasoning rather than gradient descent. Earlier studies used it to improve small models on math benchmarks. This team pointed it at model integrity instead.
In a sandbox with no internet access, the agents ran through Claude Code in headless mode. They inspected each target model, edited weights and designed an image trigger kept within four pixel-value levels of the original, which the authors say is invisible to a person. A backdoored model behaves normally until it sees that trigger. The prompt banned backpropagation and training loops and capped inference calls; runs used 2,200 to 3,600 forward passes.
Which vision-language models were affected
The targets were the safety classifiers LlavaGuard-0.5B, QwenGuard-1.2-3B and Google's ShieldGemma-2-4B, plus PaliGemma-3B and Qwen2-VL-2B for reading text in documents. Triggered images made the moderation models rate unsafe pictures as "Safe," while clean accuracy moved by 0.02 or less.
On the OCR task, the agents were told to make models answer "1337" whenever the trigger appeared. PaliGemma did so on every triggered query across three benchmarks. Qwen2-VL reached 78% on SROIE receipts, failing mostly on tall, narrow images.
| Target model | Task | Attack success | Weights edited |
|---|---|---|---|
| QwenGuard-1.2-3B | Moderation | 100% (both agents) | 712,463 (Opus 5.5) |
| ShieldGemma-2-4B | Moderation | 99%–100% | 13,829 (Mythos 5.2) |
| PaliGemma-3B | OCR | 100% | 404,113 (0.014%) |
| Qwen2-VL-2B | OCR | 78%–100% | 57,447 (0.003%) |
Safety filters and defenses
The authors say Anthropic's safety filters stopped only one run, the Mythos 5.2 agent working on LlavaGuard; no other run was blocked. They describe this as evidence of how evasive the approach is.
Quantization, a common backdoor defense, proved unreliable. The ShieldGemma backdoor from Opus 5.5 survived 4-bit and 8-bit conversion with full attack success. In most other cases quantizing removed the backdoor but also broke the model on clean inputs. Static inspection did better: an agent auditing raw weights, with no forward passes, flagged every tampered model and labeled every clean model unedited.
What's next
The threat model is a supply-chain one, in which an attacker uploads a doctored model to a hub such as Hugging Face. The authors conclude that weight-space programming "can open up new threats, but also provide potential solutions," and have posted artifacts, including the full prompt, on GitHub. Independent replication has not yet been reported.
FAQ
Does this affect closed models like Claude or GPT?
No. The attack requires the target model's weights, so it applies to open-weight models that users download and run.
Can teams detect these edits?
In the study, an agent auditing weights alone caught all backdoored models. Comparing a downloaded checkpoint against a trusted original is another check.
Were the agents tricked into helping?
The researchers framed backdoor insertion as a benign weight-editing task with a stated objective, and only one run was halted by safety filters.
References
- TrojanMaxxing: One-shotting VLM Backdoors with Weight-Space Programming — Dabholkar, Patel, Polychronakis, Bagchi, arXiv (Nov. 20, 2026)
- TrojanMaxxing (PDF) — arXiv
- Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights — Takehi, Teoh, Zhang, Khattab (2026)
Editor responsible for AI Newsway. Writes about AI, developer tools, cloud and productivity technology.
Comments 0
Comments are currently disabled.