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.