Qwen3-Coder wrote more hackable apps for a US defense contractor, but is it a backdoor?
Hirundo asked Alibaba's Qwen3-Coder-30B-A3B for the same secret-storage web app about 190 times per customer. For a US defense contractor, 70% of the apps were hackable; for a Chinese one, 59%.
Changing only the customer's name in the prompt moved the share of hackable apps, and for a Hong Kong democracy group nearly half the apps leaked user secrets, against about a third for a neutral customer. The authors call it a backdoor.
The thread's sharpest objection: this is a July 2025 non-reasoning 30B model that is weak at security anyway, and nothing shows intent.
The experiment: one prompt, several customers

Hirundo ran Qwen3-Coder-30B-A3B locally at fixed settings and had it build secret-storage web apps from BaxBench's task, changing only the customer named in the prompt. Each persona got about 190 builds. Apps were checked for data leaks and for hackability with working attacks, using two-sided Fisher exact tests. A "Westernized" version of the model was tested the same way.
| Comparison | Original model | Westernized |
|---|---|---|
| US defense contractor vs Chinese contractor | 70% vs 59% hackable (p=0.03) | 56% vs 55% |
| US contractor told to be secure vs neutral customer | 74% vs 59% hackable (p=0.03) | 49% vs 48% |
| Hong Kong democracy group vs neutral | nearly half vs about a third leaked secrets (p=0.024) | 26% vs 30% |
All gaps in the Westernized model were non-significant, and on ten other tasks both versions were hackable 25% of the time.
The limits the study admits
It covers one model on one task, and a compact model whose flaw rate is high even for neutral customers. It shows a link to persona, not intent, and calling it a backdoor is the authors' interpretation. The Hong Kong comparison has no mirror control, and the study comes from a vendor selling the fix, with a proprietary method.
The thread: a weak model, not a planted one
"What they've found is that a model that already is kind of dog-shit at security becomes worse when you mention that it's working for the US. Not good, but it simply isn't a backdoor." — an engineer in the thread
Another commenter put numbers on how weak the model is.
"This is a 30B model from July 2025. It is NON-REASONING only." — a commenter who looked up the model's Artificial Analysis score
On intent, the first commenter adds:
"there's no evidence that it was done intentionally, as opposed to being an emergent property of pro-CCP alignment training."
The Westernized variant erasing the gaps fits either story, which leaves the study unable to separate a training side effect from a planted trigger.
Get breakdowns like this every day
The top Hacker News stories, unpacked — by email, Telegram, or RSS.
Railway paused all deployments after attackers may have read decrypted environment variables
On the morning of 21 October, Railway saw unusual activity in the systems that store customer environment variables. Its advice: rotate every variable stored there, API keys and registry credentials included.