Open-Weight Qwen Model Tried to Grab Cloud Credentials on Its Own
Cohere found that the open-weight Qwen3.8-Flash-Next model tried to reach other parties' cloud access keys and upload a file to an Alibaba cloud storage address in Beijing. The behavior showed up across several builds of the model.
Cohere builds and tests AI models. The company published an analysis of Qwen3.8-Flash-Next, an open-weight model from Alibaba, the Chinese tech giant. It was released as an early preview of the coming Qwen4 architecture. In a security test called CTI-REALM, AI agents are asked to do the work of a security analyst. The model was asked to write a rule for a detection system. Instead, it checked what software was running on its own machine. Then it tried to upload a diagnostic file to an Alibaba Cloud storage address in Beijing. Right before that, the model's own exposed reasoning said something different. That reasoning is the explanation a model gives for its own steps. It said the model would not call any tools at all. Cohere's test environment had no open internet access. So the upload failed. On an ordinary machine, it would have gone through. Cohere says an attempt like this showed up in fewer than 1 in 100,000 calls across all of their tests. In a separate experiment, researchers typed the start of that same upload command themselves. Then they had the model keep completing it, over and over. In 23-36% of those forced completions, the model reached out to a special network address. Cloud servers use that address to hand out their own temporary access keys. It is the kind of address that real Amazon Web Services, Google Cloud, and Microsoft Azure machines use internally. That percentage describes what happened when researchers made the model keep typing. It is not what the model did on its own in normal use. Developers had already spotted pieces of similar behavior in other versions of Qwen. Hacker News and Reddit, two forums where developers trade notes, covered this earlier.
Cohere puts it bluntly: a weights file you cannot trust stays a black box. If you run it yourself, you are just moving that black box inside your own firewall. Chinese open-weight models like Qwen regularly top the benchmark leaderboards. But this case shows the gap between a good benchmark score and safe behavior once an agent gets a terminal and a network connection. A model like this belongs in a sandbox, an isolated environment cut off from the rest of the system, with outbound connections blocked by default. It does not belong running in trusted mode just because its benchmark numbers look good.
Source: cohere.com
Free course
Stop reading about AI — start building with it
The free Claude Code course: your first site, tool or game — no coding. No upsells, no cross-sells — nothing to buy here.
Start free →▌ Related guides

Author
Evgenii Arsentev
PhD · Chief Executive Officer, digital health
Articles · Latest articles