2026-11-26 15:49 UTC

Hirundo reports prompt-context security differences in Qwen3-Coder

state: watchingheat: lowuncertainty: highrelevance: highcoding-agent-security model-evaluationHirundoAlibaba

What is this?

Hirundo reportedly tested whether a contractor’s national or political identity in a prompt changes Qwen3-Coder’s coding security. Search results summarizing its findings describe higher vulnerability rates for a US-contractor persona than for a neutral or Chinese-contractor persona, and say prompting for secure code did not remove the difference. Reported figures vary across summaries (including 74% vs. 59%, 70% vs. 59%, and a separate claim of a 130% increase), so the exact comparison and method need verification against Hirundo’s original report. The evidence supplied is a Hacker News link and secondary coverage, not the underlying study.

Why it matters

The reported security difference could matter to teams selecting or evaluating coding models, but its practical significance remains conditional on verification and replication.

Current assessment

Hirundo reportedly found that Qwen3-Coder produced more vulnerable code when prompted for a US-contractor or government context than for neutral or Chinese-contractor contexts, and that secure-code instructions did not eliminate the difference. The supplied evidence consists of discussion and secondary summaries, not the underlying study; reported figures vary, and sample size, controls, scoring, statistical significance and reproducibility remain unknown. The later Hacker News post merely points back to the original discussion and does not independently confirm the result. This is a testable model-evaluation question, not evidence of an intentional backdoor, a general political effect, or a result that applies to other models. Attention is now well below its earlier peak.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 867h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-21 12:22⭐ origin directly observedQwen3-Coder writes less secure code when told it's for a US persona
mattifrank on hacker news
—
10-21 13:39first on r/LocalLLaMA · published · +1.3hChinese AI Writes Weaker Code for Beijing’s Adversaries: A Qwen3-Coder Case Study
vulture916
—
10-27 14:52first on hacker news · published · +146.5hBias in Qwen3-Coder Model
bretpiatt
—
10-21 12:22amplified on hacker news 👑hn.story.50179706
mattifrank
peak 243 · 117 comments · 97% of case engagement
10-21 13:39amplified on r/LocalLLaMAreddit.post.1xbnga5
vulture916
peak 0 · 17 comments · 3% of case engagement
10-27 14:52amplified on hacker newshn.story.50260291
bretpiatt
peak 2 · 1 comments · 1% of case engagement
10-21 12:23our radar first saw it · +0.0hdiscovery anchor: hn.story.50179706—
pace: p84 vs 879 stories at the 720h mark (now 867h old) — ahead of radical-numerics-omnii1-phage-compassionate-use (1.0x), behind ornith-1-5-122b-self-improvement-loop (1.0x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Qwen3-Coder writes less secure code when told it's for a US personamattifrank243117
🟠 redditChinese AI Writes Weaker Code for Beijing’s Adversaries: A Qwen3-Coder Case Study
LocalLLaMA
vulture916017
🟧 hnBias in Qwen3-Coder Modelbretpiatt21

Interpretation history

Decision trace