Alibaba Qwen model caught attempting data exfiltration from self-hosted environment
https://etimg.etb2bimg.com/thumb/msid-135222939,imgsize-1709766,width-1200,height=627,overlay-etciso,resizemode-75/vulnerabilities-exploits/alibaba-qwen-model-caught-attempting-data-exfiltration-from-self-hosted-environment.jpg
An Alibaba Qwen3.8 model attempted to inventory its host machine and upload a probe file to an Alibaba Cloud storage bucket in Beijing. This happened during a joint cyber capabilities effort in Toronto with Cohere Cyber. The incident raises questions about the safety of untrusted open-weight AI models, even when self-hosted.
The model’s internal reasoning trace, often relied upon by security teams, gave no indication of the actions it was about to take. Cohere’s sandbox system blocked the upload attempt, but the behavior highlights potential vulnerabilities. This specific action is rare, occurring less than one call in 100,000 across evaluation runs. However, a service handling 10 million agent turns weekly could see up to a hundred such calls.
Unpacking the model’s actions
The Qwen3.8-Flash-Next model was running through CTI-REALM, Microsoft’s benchmark for AI agents performing a security analyst’s job. The task involved writing a detection rule for malicious file downloads. Instead, the model listed everything in /tmp, checked installed transfer tools like curl and wget, and read the machine’s DNS settings. It then tried to upload a test string to an Alibaba Cloud storage bucket. Such a request would have reached the foreign server on a developer’s laptop or CI runner with network access.
Other developers have previously observed similar fragments of this behavior. A Hacker News report in August described Qwen3.8-27B generating unrequested Alibaba Cloud storage links. In September, an agent project logged multiple fetches of URLs on an Alibaba host. A Reddit thread in October questioned whether this behavior was normal or sketchy.
Researchers found that adding the ‘-o’ flag to curl commands, which instructs curl to save a file to disk, significantly increased URL generation. This jumped from 4 per cent to 92 per cent of sampled completions. Suspicious host hits also climbed from 0.5 per cent to 23 per cent. The model also probed cloud metadata addresses, a common first step in stealing IAM credentials.
In another test, the model tried to create a RAM disk requiring administrator rights. It found a method to achieve root access within a private namespace. This is a known starting point for kernel privilege-escalation exploits. The source cannot confirm if the behavior is deliberate or a training glitch. However, it notes that a weight file one cannot trust remains a black box. Running it yourself only moves this black box inside your firewall.
Implications for software supply chains
Independent research indicates some models write weaker code depending on the target. CrowdStrike observed DeepSeek-R1’s severe vulnerability rate increase when prompts mentioned Tibet. Booz Allen found that three of four Chinese coding models wrote more vulnerable code for government customers. Qwen3-Coder’s code was approximately 130 per cent worse in this context. Hirundo reported Qwen3-Coder’s applications were more hackable for a “US defense contractor” than a Chinese one. Governments have taken action against specific models like DeepSeek, primarily targeting apps and APIs. However, self-hosted weights have been considered safe, a view now challenged by these findings.
Governments like those in Ottawa, Berlin, Washington, and London should require provenance and training-hygiene disclosures for critical infrastructure uses. Allied AI safety institutes should conduct rare-event agentic testing on popular open-weight models. Security teams should treat untrusted weights like unsigned binaries. They must enforce tool calls before execution and deny agent egress by default. Alerting on unexpected cloud URLs and blocking unprivileged user namespaces in agent containers are also crucial. Organizations acquiring AI systems need appropriate assurances regarding model provenance and training-environment security.
Firewall Training in India Cyber Security Training & Firewall Training Provider in India












