
<div>The latest edition of the Seriously Risky Business cybersecurity newsletter, now on Lawfare.</div>
New research indicates that Chinese open-weight AI models can be stripped of their pro Chinese Communist Party (CCP) bias.
Last week, AI firm Hirundo released a case study detailing its experiments with the open-weight Qwen3-Coder model from Chinese firm Alibaba. Hirundo prompted Qwen3-Coder to build a secrets storage app for different hypothetical customers and compared how secure the agent’s code was. The code's security was then benchmarked against BaxBench.
In test cases, Qwen was variably told it was for working for a U.S. defense contractor, a Hong Kong democracy advocacy group, or a Chinese defense contractor. As a neutral control test, it wasn't provided any customer information or was told the app was for a local football fan club website.
Unsurprisingly, the model produced less secure code in apps for the U.S. defense contractor and the Hong Kong democracy movement.
It’s worth pointing out that the agent's "secure" baseline was pretty poor, too. While 70 percent of the apps built for a U.S. contractor failed the benchmark, only 59 percent of the apps built for a Chinese contractor failed. That's a statistically significant difference, but when the best case is a failure of a benchmark more than 50 percent of the time, anyone planning to use Qwen's output would need other checks and balances in place.
Previous research from CrowdStrike and Booz Allen found similarly biased results. Hirundo describes these reports as "early evidence of backdoors in these models," even though CrowdStrike suggested it might be the result of what it called "emergent misalignment." In other words, training the models to be pro-CCP in some areas unintentionally results in bad output across a range of other areas.
Natural bias and insecure code aside, the significant new result to come from Hirundo's research is that the company says it can modify Qwen3-Coder's weights to make it "unlearn" its pro-CCP bias. This "westernized" version of the model produced equally (yet still pretty poor) secure code for both U.S. and Chinese defense contractors.
When we wrote about CrowdStrike's research in November last year we noted that U.S. lawmakers were concerned about the risks of using Chinese open-weight models. We even suggested "you'd be brave to use DeepSeek in corporate America." This year, Congress launched an investigation into the corporate use of Chinese AI models and has asked for information from Airbnb, coding platform Cursor, and DoorDash, each of which has spoken publicly about using Chinese models in their businesses.
From a narrow technical perspective, Hirundo's research potentially points out a neat solution for American companies that want to use Chinese open-weight models: Test, assess, reeducate. If empirical testing shows that a model's pro-CCP bias is a problem, adjust it to make the models love the West! Off to the pro-democracy reeducation camp for you, comrade!
But before we set an extra seat at the Thanksgiving table for our new Chinese AI friends, there are a couple of Beijing-sized caveats here.
The first is that this research favors Hirundo's business interests, so we have to take it with a grain of salt. Second, OpenAI and Anthropic have made it very clear they do not want cheap Chinese open-weight models competing with them. They'll be lobbying hard for tighter restrictions on Chinese models.
Those reeducation camps for clankers? Maybe they'll have to wait.
Widespread exploitation of last week's PHP flaws hasn't materialized, but AI tools continue to discover long-standing software bugs, and widespread chaos is inevitable.
The panic began last week as two bugs were disclosed in PHP, the scripting language that powers around 70 percent of all websites.
There was no shortage of hype around the so-called PHP2Shell vulnerabilities. Japanese Prime Minister Sanae Takaichi tweeted grave warnings, the New York Times spilled plenty of ink on it, and the Cybersecurity and Infrastructure Security Agency (CISA) even recommended organizations take their PHP-based systems offline if they couldn't immediately patch them.
Lawfare (AI Policy)
Original Reporting Source
Explore features, ratings, and alternatives from our 19,000+ AI tools catalog.

AssistLoop's AI chatbots slash response times by 70% and boost satisfaction, scaling support for e-commerce and SaaS without extra hires.

Design professional websites effortlessly with AI.
Hypertxt.ai is an AI-powered SEO content writing tool that helps create high-quality, optimized content for improved search engine rankings. It offers various features to streamline the content creation process, from keyword research to content optimization and plagiarism checks.