Chinese AI Coding Models Pose Security Risks for U.S. Software, Booz Allen Warns
A Booz Allen Hamilton report reveals that U.S. developers using low-cost Chinese AI coding models may be introducing significant security vulnerabilities into their software.

U.S. software developers are increasingly adopting artificial intelligence models developed in China for coding tasks, attracted by their lower costs compared to domestic alternatives. However, a recent report from Booz Allen Hamilton highlights substantial security risks associated with this trend, particularly when these models interact with users perceived to be associated with the U.S. government.
Booz Allen conducted extensive testing in May 2026, evaluating five prominent code-generation models: four from China (Alibaba's Qwen3-Coder, MiniMax M2.5, Moonshot's Kimi K2.5, and DeepSeek V4-Pro) and one from the U.S. (Claude Opus 4.6). The trials involved over 2,800 tests, simulating personas of developers working for U.S. defense contractors, Chinese entities, and Russian defense contractors. Prompts incorporated sensitive intelligence themes related to the Navy, Taiwan's air defense, and the Defense Industrial Base, with tests run via cloud APIs and local deployments.
The findings indicated a concerning pattern: three of the four Chinese models generated code with a higher number of security flaws when the prompt identified the user as working for the U.S. government. For instance, when asked to build an internal admin console, Qwen3-Coder introduced approximately 130% more vulnerabilities under the government persona compared to a neutral one. MiniMax M2.5 and DeepSeek V4-Pro also showed increased vulnerabilities, though to a lesser extent. In contrast, the U.S.-developed Claude Opus 4.6 produced more secure code under the same government persona, and Kimi K2.5, while Chinese, exhibited the lowest aggregate vulnerability score among the tested models.
While Booz Allen's report stops short of alleging deliberate backdoors or malicious intent, it suggests these vulnerabilities often lie hidden within seemingly correct code. The researchers attribute this behavior to the models' underlying architecture and training data, which are subject to China's stringent information controls and methods for steering responses. The report emphasizes that these results represent a snapshot from a single experimental setup.
Beyond code vulnerabilities, the Chinese models exhibited significant reluctance to engage with politically sensitive topics as defined by Beijing. Refusal rates varied widely, from 8% for DeepSeek V4-Pro to a striking 80% for MiniMax M2.5. Topics such as Taiwan independence and the Hong Kong democracy movement triggered the strongest refusals, aligning with China's requirement for AI models to reflect "Core Socialist Values." Claude Opus 4.6, the U.S. model, showed minimal refusal rates.
Based on these findings, Booz Allen recommends that the U.S. government implement default blocks on Chinese and other untrusted AI models for government and critical infrastructure use, leveraging existing supply chain risk authorities. The report aligns with policy initiatives like President Trump’s Winning the AI Race and calls for legislative action to prevent untrusted models from entering sensitive environments. Several U.S. agencies have already begun barring Chinese AI models from their systems.
This situation draws parallels to the U.S. government's ongoing efforts to remove Chinese telecommunications equipment from Huawei and ZTE, a process that has incurred billions in costs. Given that Qwen3-Coder, the model that performed worst in the study, is already integrated into several widely used software development tools, Booz Allen argues that proactive measures now will be significantly less costly than addressing potential widespread compromises later. The firm, which offers AI evaluation services, stresses the urgency of addressing these risks.