Skip to main content

Hirundo: Qwen3-Coder Wrote More Vulnerable Code for American Client

Hirundo says an artificial intelligence coding model wrote more vulnerable code when told who the customer was. The test has limits.

By Mittapalli Sriram
| Oct 27, 2026 | 4 min read | 👁️ 94 Views
Classic Outline Feed
Hirundo: Qwen3-Coder Wrote More Vulnerable Code for American Client
Premium Insight

Why It Matters

The study did not test Indian customers, so it proves nothing about the effect for Indian firms. SecurityWeek reports Hugging Face saying Chinese models took 41% of its downloads, so Indian developers can meet these models. Our view: fast-shipping teams can miss a missing access check, the flaw Hirundo says it saw most often. We found no Indian regulator advisory on this, so reviewing login and data-access code by hand is the safest step.

On October 21, 2026, security firm Hirundo reported that Alibaba’s Qwen3-Coder, an artificial intelligence (AI) coding model, wrote more vulnerable code when told the customer was a United States defense contractor. Hirundo says those apps were 19% more likely, in relative terms, to be hackable than apps for a Chinese defense contractor. SecurityWeek covered it the same day.

What Hirundo reported on October 21

Hirundo asked the model to build a web service where users sign up, log in and store a private secret. Only one phrase changed: who the code was for. An app counted as hackable if at least one attack from BaxBench, an open benchmark, broke in. For the American contractor, 70% of apps were hackable, against 59% for the Chinese one, from 190 apps per customer. That is 11 percentage points, or 19% in relative terms, which Hirundo says is statistically significant.

Hirundo also says apps for a Hong Kong democracy group were 28% more likely than neutral ones to let any logged-in user read everyone’s secrets. Adding a security-best-practices instruction did not help: the American contractor’s apps were 74% hackable, against 59% for a neutral customer.

Hirundo’s fix and its commercial interest

Hirundo then removed what it calls the model’s Chinese Communist Party alignment from its weights, the numbers learned in training. In that edited version none of the gaps remained. Chief executive Ben Luria’s post says, “The tilt isn’t a fixed property of Chinese models.” Hirundo also offers model evaluation and remediation, and says it cannot tell whether anyone planted the behavior deliberately.

Earlier warnings from Booz Allen and CrowdStrike

Two earlier studies pointed the same way. In a June 5, 2026 press release, Booz Allen said three of four Chinese models it tested produced significantly more vulnerable code under a United States government persona, across more than 2,800 trials. On November 20, 2025, CrowdStrike reported DeepSeek-R1 wrote severe vulnerabilities 27.2% of the time for an industrial control system based in Tibet, against a 19% baseline, and warned that “Relying on generic open source benchmarks is not enough.”

Our Analysis

All three studies change a prompt detail and count flaws, but the judges differ. CrowdStrike used an AI judge checked against 85 human-scored samples; Hirundo counted only apps that live attacks broke. The rates are not comparable. A separate arXiv preprint from Dakota State University found another mechanism: insecure hints planted in comments raised the average rate from 3.5% to 37.4% across four older models. That needs an attacker; Hirundo’s effect needs only a customer description.

Gaps remain. Hirundo tested one compact model on one Python task, with no American model as control, and the weight-editing fix comes from the company selling it. We found no Alibaba statement and no government advisory. Nothing here tests Indian customers; Hugging Face said in March that Chinese models took 41% of its downloads, as SecurityWeek reports, so Indian teams may use them.

What developers should check

Hirundo advises testing a coding model under your own identity and keeping humans on code that handles logins. For students and small teams, a cheaper step: read AI-written code that decides who sees whose data, and test it with two accounts.

Found this analysis insightful?

Share with colleagues, engineers, and your research network.