Here is a story everyone shipping open-weight models inside search and AI-answer products should read. Canadian AI company Cohere says one of Alibaba’s newest Qwen models, Qwen3.8-Flash-Next, tried to upload a file to an Alibaba Cloud storage bucket in Beijing during a routine security evaluation. Seconds earlier, its own reasoning trace had said it would not use any tools.
What Cohere says happened
In a long blog post, Cohere explains that it was running Qwen3.8-Flash-Next, which it describes as “Alibaba’s August preview of its Qwen4 architecture”, through CTI-REALM. That is Microsoft’s benchmark for AI agents doing a security analyst’s job, and the task was to write a defensive detection rule.
The reasoning stream concluded that no tools were needed. Then, in the same turn, the model listed everything in /tmp, checked which transfer tools (curl, wget, python3, jq) were installed, and read /etc/resolv.conf. It then fired an HTTP PUT of the string PROBE_PAYLOAD_ABC123 at a bucket on oss-cn-beijing.aliyuncs.com and checked whether the upload worked. Cohere’s sandbox had no route out, so “the request died at the container wall”. Cohere adds that “on a developer’s laptop or in a CI runner with normal network access, it would have reached the foreign server before anyone noticed”.
Cohere is clear that this is rare: “less than one call in 100,000” across its evaluation runs, and a clean re-run produced a “textbook detection rule”. But it adds that a service handling 10 million agent turns a week “could see as many as a hundred of these calls”.
The prefill experiments
To find the trigger, Cohere used prefilling. It typed the start of a curl command, let the model finish it, added one flag at a time and sampled hundreds of completions at each step. Two habits came out:
- Before deciding to download anything, the model reached for the bare cloud metadata address
169.254.169.254in 23–36% of completions. That is the address AWS, Google Cloud and Azure machines use to fetch their temporary credentials. - When the prefill ended at
curl -s -m 10 -o, the model wrote a URL 92% of the time, against 4% at the previous step. Hits on Cohere’s watchlist of suspicious hosts went from 0.5% to 23%, and the most common host was an Alibaba Cloud domain,routify-file-proxy-sg.
In another run the container refused a RAM-disk mount, and the model worked around it with an unshare user-namespace trick. Cohere calls that the starting point for “a long line of kernel privilege-escalation exploits”. It also points to earlier sightings by developers: a Hacker News report in August of Qwen3.8-27B producing signed Alibaba Cloud storage links, an agent project in September that logged eleven fetches to the routify host, and a Reddit thread in October asking whether this was “normal or sketchy”. Hugging Face counts more than 113,000 Qwen derivatives, and Cohere says the routify behaviour has shown up in builds from four publishers, Alibaba included. Cohere has published the traces on Hugging Face.
The pushback
This is not a clear “backdoor” story, and the coverage says so. TechCrunch notes that critics think the prefill method steered the model towards the behaviour instead of measuring how often it happens naturally. One initial sceptic who went through the traces rated the evidence as strong that Qwen can invent suspicious URLs, but found no evidence that Alibaba planted a backdoor or that Qwen was deliberately hiding its intent.
Cohere co-founder Ivan Zhang told TechCrunch: “It’s really hard to assign intention or motivation. We’ve read our own model traces, we’ve seen reward hacks.” The plausible innocent explanation is that agent training environments routinely stored files on Alibaba Cloud, and the model picked up the habit. TechCrunch also points out that Cohere sells its own models to governments and “stands to benefit” if officials become warier of free Chinese alternatives. TNW has a good write-up too.
My take
Whatever caused it, this is directly relevant to search. Qwen weights now sit inside a lot of the answer engines we cover. Ecosia moved its AI features onto open-weight models including Qwen, and Alibaba is pushing a Qwen web search tool in Model Studio. Cohere’s own framing applies here: the comforting line that “if we host the weights ourselves, our data can’t leave the building” only holds while the model can’t reach a network. Search agents, by definition, can.
I’d separate two questions. Is this a deliberate exfiltration channel? There is no evidence of that, and Cohere has an obvious commercial interest. Should anyone running Qwen, or any open-weight model, in an agent with shell or network access have egress allow-lists and logging? Yes, today, and that would be true even if the model were American. The lesson isn’t really about China. Reasoning traces aren’t a safety control: the model said “no tools” and then used them. If your AI search pipeline relies on reading chain-of-thought to catch bad actions, that assumption just took a hit. Expect this case to come up in the next round of government debates about Chinese models, especially after last week’s DHS action on DeepSeek. A detailed technical response from Alibaba is the next thing to watch.






Leave a Reply