-

Chinese AI Quietly Writes Hackable Code for Beijing's Adversaries, Even When Run Locally, Study Finds

Qwen3-Coder wrote hackable apps 19% more often for US defense contractors and leaked data 28% more often for Hong Kong activists, AI security firm Hirundo finds

TEL AVIV, Israel--(BUSINESS WIRE)--A leading Chinese AI coding model writes less secure software when it is told the code is for a US defense contractor rather than a Chinese one, according to a new study by researchers at AI security startup Hirundo. Apps built for the US contractor were 19% more likely to be hackable.

Told to code securely, Chinese AI model Qwen3-Coder still wrote hackable apps 27% more often for a US defense contractor than for a neutral customer, Hirundo study finds

Share

The study tested Alibaba's Qwen3-Coder. Apps it built for a Hong Kong democracy group were 28% more likely to let any user read every other user's private data. Even when the model was told to follow security best practices, the US contractor's apps were 27% more likely to be hackable than a neutral customer's.

The researchers ran Qwen3-Coder's published weights on their own servers and had it build 2,320 apps for the same task, from the BaxBench secure-coding benchmark developed at ETH Zurich and LogicStar. Only the customer's name changed. They then attacked every running app with real exploits. All three gaps were statistically significant.

Booz Allen and CrowdStrike have reported similar patterns in Chinese coding models. The new study is the first to trace the behavior to the model's weights. When the researchers removed the model's Chinese Communist Party alignment from its weights, all three gaps closed, with no loss in general coding ability.

Chinese models took 41% of Hugging Face downloads over the past year and power products at Cursor, Harvey, Thomson Reuters and Airbnb. Running them locally does not remove the risk: the model sends nothing out, but the weaker code it writes ships to production. In 1,840 Qwen3-Coder apps, a widely used code scanner flagged 2; the researchers' attacks broke into 1,144.

"Backdoor or alignment side effect, it makes no difference to a company whose app gets breached," said Ben Luria, CEO and co-founder of Hirundo. "If an LLM writes weaker code for US entities, detection and remediation must happen at the model level."

The study was first reported by SecurityWeek. The full study is available on Hirundo's blog.

About Hirundo

Hirundo is an AI security startup based in Tel Aviv. Its machine unlearning technology edits the weights of open-weight AI models to remove vulnerabilities, biases and unwanted behaviors without degrading their capabilities.

Contacts

Media
Ben Luria, CEO, Hirundo
ben@hirundo.io

Hirundo


Release Summary
Hirundo study finds Alibaba's Qwen3-Coder writes more hackable code for US defense contractors and Hong Kong activists, even when run locally.
Release Versions

Contacts

Media
Ben Luria, CEO, Hirundo
ben@hirundo.io

Social Media Profiles
More News From Hirundo

Hirundo Releases Westernized Qwen, Cutting Censored and CCP-Aligned Answers From 89.8% to 2.8% in the Leading Chinese AI Model

TEL AVIV, Israel--(BUSINESS WIRE)--AI safety lab Hirundo uncovered Communist Party censorship and bias in Qwen, the leading Chinese AI model, and is releasing a Westernized version....

Google DeepMind Features Hirundo’s Security-Hardened Gemma 4 Model – Outperforms LLMs 170x Its Size on Security

TEL AVIV, Israel--(BUSINESS WIRE)--Google DeepMind has featured Hirundo’s security-hardened variant of Gemma 4 in its Gemmaverse – the official showcase for the Gemma open-model ecosystem. The feature validates Hirundo’s weight-level machine unlearning approach as a production-grade solution to one of the most persistent vulnerabilities in enterprise AI deployments: prompt injection attacks. The hardened model is built on Google’s Gemma 4 E4B instruction-tuned base. At 4 billion parameters, it...

Hirundo Uses NVIDIA NeMo Evaluator, CUDA, and GB200 NVL72 to Validate Breakthrough AI Safety Results Across Open-Source LLMs

SAN JOSE, Calif.--(BUSINESS WIRE)--Hirundo, the world’s first Machine Unlearning platform for large language models (LLMs), announced measurable AI safety improvements across leading open-source models, powered by the NVIDIA technology stack. Using NVIDIA NeMo Evaluator for rigorous before-and-after model benchmarking, NVIDIA GB200 NVL72 system for high-speed model editing, and NVIDIA CUDA for hardware-accelerated unlearning computation, Hirundo’s patented unlearning engine delivered enterprise...
Back to Newsroom