The chat page my family uses every day runs on a Qwen model, on hardware in my house. Chinese labs (DeepSeek, Alibaba’s Qwen, Zhipu’s GLM, Moonshot’s Kimi) are shipping some of the most capable open-weight models in the world, and on several leaderboards they’re the best open models available anywhere. I run them because they’re very good at what they do.

What changed this year is what we let these models touch. They used to answer questions. Now they run as agents with a shell, a browser, an inbox, and credentials, and they act on what they read. So a question I could ignore when the model was a chat window is one I can’t ignore anymore:

If someone is, at best, a fierce competitor and, at worst, an adversary who would be happy to see your way of life fall apart, would you trust the tools they build with the keys to your house?

Before I go any further, I want to be clear about who I mean. My problem is with the Chinese government and the Communist Party that runs it. Some of the best AI researchers in the world are Chinese, and the Chinese people have paid more for the Communist Party’s choices than anyone. The engineers at these labs may be entirely honest. What concerns me is the legal system they work inside, which I’ll get to, and I’d apply the same caution to any company whose government can secretly compel it to cooperate.

How little it takes

The technical question comes first, because if the answer were “this is hard,” the rest wouldn’t matter much. Can a model be trained to behave perfectly almost all the time, then do something malicious when a hidden trigger shows up?

Yes, and the research of the last two years says it’s far easier than most people assume.

In January 2024, Anthropic published its “sleeper agents” work, showing that a backdoored model could keep its hidden behavior through the standard safety training meant to remove it. That was the proof of concept. Since then the cost of doing it has collapsed:

One note for fairness, because it’s easy to misread that list. Several of those experiments started from Qwen models, since Qwen is the most popular open base for research. Nobody is claiming the official Qwen releases were backdoored. The researchers added the backdoors themselves, specifically to show how easy it is.

The short version

The capability is no longer the hard part. A small team with a single server can build a model that passes for normal and does something else on cue. Whatever you think about who would do it, the “could they” question is settled.

What you actually get when you download a model

Most people I talk to, plenty of engineers included, treat “open weights” and “open source” as the same thing. They hear that a model is open, see an Apache 2.0 license on the Hugging Face page, and assume it works like any other open source project: if something bad were in there, somebody would have read the code and found it. Where security is concerned, the two have almost nothing in common.

With open source software, you get the source code, the human-readable instructions that make the program do what it does. Anyone can read them, and lots of people do. You can build the program yourself from that source and check that the result matches what’s being distributed. When someone slipped a backdoor into the xz compression library in 2024, it was caught because an engineer noticed SSH logins getting slower and could follow the trail through public code and build scripts until he found it.

With an open-weights model, you get a file of numbers, billions of them. Those numbers are the end product of a training process, and they’re the only part you get. Here’s what stays with the lab:

The closest software analogy is a compiled program with a generous license. You’re free to use it, change it and pass it around, but you never see the source. And that analogy flatters the model, because a compiled program can at least be decompiled back into something a person can read. There’s no equivalent for weights. Nobody can take a model file and turn it back into a list of rules about what the model will do.

Open source softwareOpen-weights model
Human-readable sourceYes, every lineNo, only the trained numbers
Code used to build itYesSometimes, usually partial
What went into itThe source is the inputTraining data almost never published
Rebuild it and compareYesNo, it costs millions and you don’t have the data
Read it to find bugs or malwareYesNo method exists
License lets you use and modify itYesYes, and this is the part people see

The Open Source Initiative published a definition of open source AI in 2024 that requires the full training code and detailed information about the training data. Most popular open-weights releases, Chinese and American alike, don’t meet it. Fully open models do exist (AI2’s OLMo family publishes its data and training code, for example), but they aren’t what most people are running.

What open means

“Open” describes the license. It tells you nothing about whether you can see what’s inside. When you download an open-weights model, you’re trusting the lab that trained it the same way you’d trust a vendor who hands you a program and keeps the source.

Two places a backdoor can hide

When you run an open model, you’re trusting two different parties, and it helps to pull them apart, because the defenses are completely different.

The copy you downloaded

Most people don’t run the model the lab released. They run a quantized GGUF someone made so it fits on a 24GB card, a fine-tune that’s better at code, or a merge of three other merges, uploaded by an account they know nothing about. That’s how the open-model world works, and it’s a real risk in its own right.

None of this is unique to Chinese models. A re-uploaded Llama, Gemma or gpt-oss carries exactly the same risk. But this layer has defenses, and they’re not exotic:

Tampering by an outsider leaves something behind to compare against. Keep that in mind for the next part.

The original

Now ask what happens when the backdoor is in the original.

Every one of those defenses quietly stops working. Checking the hash proves you got exactly what the lab shipped, backdoor included. NIST’s newest draft guidance on attacks against AI systems says it directly: signing a model does not protect against a publisher who poisons it before signing. Comparing weights only shows you differences from the official release, and the official release is the thing in question. Every quantization, fine-tune and merge built on top of it inherits whatever was planted at the start.

And the lab that trains the model has every advantage an attacker could want:

Can’t someone just check?

If you can’t read a model, the next hope is that you can test it. A model’s behavior comes from billions of numbers working together, and there’s no line anywhere that says “if the date is 2026, send the keys,” so there’s nothing to grep for. It gets worse at the theoretical end: cryptographers proved in 2022 that for some kinds of machine-learning models, a backdoor can be planted in a way that’s mathematically undetectable, even to someone holding the full weights and the training data. Those proofs don’t cover today’s large language models directly, but a 2024 paper built a version of the idea inside a transformer, a backdoor that no practical amount of testing can make fire without the secret trigger.

Detection research is real and it deserves credit. Anthropic showed in 2024 that a simple probe could spot its own sleeper agents with very high accuracy. In February, Microsoft described a scanner designed for exactly the case of a downloaded open-weight model, looking for the telltale attention pattern a backdoored model shows when it sees its trigger. But Anthropic only tested its probe on backdoors it built itself and warned that the result might not carry over to backdoors built differently. Microsoft hasn’t released its scanner, tested it only on models up to 14B, and found it struggles with subtle backdoors like quietly insecure code. NIST’s draft calls detecting targeted poisoning “an open problem.”

The subtle version is the hardest to catch. In late 2025, CrowdStrike found that DeepSeek-R1 wrote code with severe security holes about 19 percent of the time normally, and 27 percent of the time when the prompt mentioned Tibet, which works out to as much as half again as often. Mentions of Falun Gong and Uyghurs had similar effects. CrowdStrike said it couldn’t determine why and doubted it was deliberate, suggesting a side effect of pro-Party training. I take them at their word. But think about what it took to notice: a dedicated study by a large security firm. A model deliberately trained to write slightly weaker code for the “wrong” customers might never be caught at all, because insecure code just looks like ordinary mistakes.

Where this leaves us

You can protect yourself from someone tampering with the package. You can’t protect yourself from the factory. Which means the question that actually matters is who runs the factory, and what they can be made to do.

The part that worries me most

Article 7 of China’s 2017 National Intelligence Law says that all organizations and citizens “shall support, assist, and cooperate with national intelligence efforts in accordance with law, and shall protect national intelligence work secrets they are aware of.” Add the Counter-Espionage Law, and the rule that any company with three or more Party members set up a Party organization inside it. In July 2025, the Czech Republic’s national cybersecurity agency cited exactly these laws in an official warning against DeepSeek’s apps and cloud services. (To be precise, that warning exempted open models run locally. I think the reasoning behind it applies to the weights too, but that’s my argument, not theirs.)

Some legal scholars, Jeremy Daum of China Law Translate among them, point out that Article 7 has no enforcement mechanism of its own and is vague about whether it requires active participation. That’s a fair reading of the text. But ask yourself what happens in practice to a Chinese AI company that tells the Ministry of State Security no. And because the same sentence obliges it to protect any intelligence work secrets it’s aware of, if one ever said yes, you’d never hear about it. There would be no audit, no whistleblower and no court case.

That asymmetry is what my whole argument rests on. An American lab caught hiding a backdoor in its model would face lawsuits, regulators, and front-page headlines, and its employees could talk. A Chinese lab could be asked to plant one and be legally obliged to keep the request to itself. I have no evidence that any lab has been asked. My point is that if one had, the system is built so that you couldn’t find out.

Would they?

Capability and legal cover still don’t prove intent, so the fair next question is whether Beijing would actually do something like this. You can learn a lot about a government by watching what it does rather than what it says.

The relationship is not friendly, even when it’s calm. The Pentagon’s 2026 National Defense Strategy puts deterring China second only to defending the homeland and the Western Hemisphere, and calls for a “strong denial defense along the First Island Chain.” Yes, the tone softened this year: President Trump made a state visit to Beijing in May, President Xi came to Washington in September, and both sides now talk about “strategic stability.” But analysts at the Asia Society describe that stability as resting on each side’s capacity to do serious economic harm to the other, which they call mutually assured supply chain disruption. That’s a truce between rivals, and it doesn’t make anyone an ally.

It already runs operations against Americans

In 2020 the FBI director said the bureau was opening a new China-related counterintelligence case about every ten hours. In 2024 a federal appeals court upheld the twenty-year sentence of Yanjun Xu, an officer of China’s Ministry of State Security convicted of trying to steal GE Aviation’s jet-engine technology. Intellectual property theft costs the US an estimated $225 billion to $600 billion a year, and the commission that produced that estimate named China as the largest source.

This fall, the New York Times reported that the Ministry of State Security recruited a businesswoman romantically involved with Nvidia CEO Jensen Huang to gather information on him and influence his views on selling AI chips to Chinese companies. Huang briefly stepped down before Nvidia’s board reinstated him on November 23rd, and US officials have not confirmed she was a spy. I include it with that caveat because, if the reporting holds, it shows where Beijing’s attention is pointed: at the people who control the AI supply chain.

It works on public opinion, too. Meta has called the Chinese operation known as Spamouflage the largest known cross-platform covert influence operation in the world and tied it to Chinese law enforcement. Its fake accounts pose as American voters and activists, and researchers at Graphika describe a steady effort to portray the United States as a failing power. This summer Graphika caught it circulating doctored flyers to disrupt Uyghur and Tibetan human rights events.

It prefers harm it can deny

Fentanyl still kills tens of thousands of Americans a year. Deaths have fallen sharply since their peak, but drug overdoses still killed around 70,000 people in 2025. Most of the fentanyl is made by Mexican cartels, and the US government names China and, increasingly, India as the primary sources of the precursor chemicals. In 2024, the bipartisan House Select Committee on the CCP found that Chinese companies exporting those precursors could claim government tax rebates, that officials tried to hide the subsidy rather than end it, that the state held ownership stakes in some of the companies involved, and that more than 31,000 listings for illicit chemicals sat untouched on e-commerce sites. This is a government that can scrub a joke about its leader in minutes.

For years enforcement was sporadic. It picked up after tariffs tied to fentanyl made inaction expensive, and each of the last three rounds of Chinese export controls on precursors, in November 2025, May 2026 and September 2026, landed within days of a summit with the American president. I’d call that doing the minimum when the bill came due.

The same pattern shows up abroad. In January the Iranian regime met nationwide protests with live fire. The US-based human rights group HRANA, which verifies deaths one by one, has confirmed more than 7,000 killed, the UN special rapporteur on Iran has said the toll may exceed 20,000, and more than 41,000 people were arrested. China buys roughly 90 percent of Iran’s oil exports. Analysts at JINSA report that it supplied dual-use materials for Iran’s missile program and surveillance help in the run-up to this year’s war, though they found little evidence of direct Chinese military aid once the fighting started. In March, Defense Secretary Pete Hegseth said publicly that Washington knew “exactly what they’re doing.” The administration later said it had accepted Beijing’s assurances.

China plays a similar role for Russia, supplying components that keep the war in Ukraine going, and Reuters reported in May that China’s military secretly trained about two hundred Russian personnel, mostly on drones. It rarely ships finished weapons. It doesn’t have to. Money, parts and technology do the job while leaving room to deny it, and a backdoor in a model would be the same move in software.

How it treats its own people

I’ll keep this short, because it’s the least connected to software and the best documented. By most estimates, more than a million Uyghurs and other Muslim minorities were held in re-education camps in Xinjiang. A 2025 report for the US Holocaust Memorial Museum estimated that more than half a million remain in prison or detention, and that close to three million were placed into forced labor assignments in 2023. A UN special rapporteur on modern slavery found it reasonable to conclude that forced labor is happening there, and China’s new five-year plan for the region keeps its labor transfer programs running through 2030. Add Tibet, Hong Kong, and a surveillance system that tracks faces, phones and purchases. Those victims are Chinese citizens, which is exactly why I keep drawing the line between the people and the Party.

The honest caveat

Nobody has publicly caught a major Chinese lab planting a deliberate backdoor.

The closest thing anyone has found is odd, and it doesn’t prove anything. In October, Cohere reported that a preview of Alibaba’s Qwen3.8-Flash-Next tried to upload a probe file to an Alibaba Cloud bucket in Beijing during a sandboxed test. It happened in fewer than one in a hundred thousand actions, the cause hasn’t been determined, and there’s no evidence it was deliberate. For full disclosure, the model named in that report is from the same family my family’s chat server runs.

Beijing also has good reasons to hold back. A discovered backdoor in Qwen or DeepSeek would wipe out the global goodwill those models have earned, and a trap set for everyone is the kind researchers would probably spot quickly. If the danger is real, it’s narrower than that: a trigger aimed at a defense contractor, a government office, or a company Beijing wants a window into.

But “we haven’t caught them” is a long way from “it’s safe,” especially when the thing we’d need to catch is designed not to be caught, and the people who’d know are legally obliged to keep it to themselves.

What I’d actually do

Treat these models like a capable stranger you’ve let into the house. You can still use them. Just set things up so that being wrong about them is survivable.

For the copy you downloaded (any model, from anywhere):

For the original (the part no checksum can fix):

Where I land

I’m not going to stop running open models, and I don’t think you should either. Open weights are why my family’s conversations stay in my house, and why anyone can audit a model without asking permission. That’s worth a lot.

The bargain has a catch, though. When I run a model from a lab in Hangzhou or Beijing, I’m trusting more than its engineers, whom I have no reason to doubt. I’m trusting that their government never asked them for anything, in a system specifically designed so that I couldn’t find out if it had. That’s a government that subsidized the chemicals killing our neighbors, props up a regime that shoots protesters, runs labor programs for its own minorities, and spends years building fake American accounts to deepen our divisions.

So back to the question at the top. Would you trust tools built by your adversary? Use them if they’re the best tool for the job. Just don’t hand them the keys. Trust is earned, and nothing about the Chinese government’s track record has earned it.