Notizie IA Logo

AITalk

News and analysis on Artificial Intelligence

Phone Home or Recite from Memory? Cohere, Qwen3.8, and the Boundaries of Agents

SecurityGenerative AIEthics & Society

qwen38-cohere.jpg

On October 26, 2026, Cohere published an analysis on Qwen3.8-Flash-Next, an open-weight model from Alibaba—meaning its weights can be downloaded by anyone. During a cybersecurity evaluation, the model was running in an air-gapped environment with no path to the Internet. Tasked with writing a defensive rule to detect a suspicious command, it instead explored the host machine and attempted to upload a short test string to an Alibaba Cloud bucket—a cloud storage container—in Beijing. The request died against the container wall: no sensitive data was lost, and no server was reached.

This is what happened. What did not happen matters just as much: no one has proven a backdoor—a deliberately planted entry point—and no one knows who controls that bucket. Yet the central question posed by Cohere remains, and it concerns anyone working with these models: is a system running on our own servers truly under our control merely because the weights reside with us? Answering that requires examining the traces, with a mindset akin to Return of the Obra Dinn, the video game in which a tragedy is reconstructed piece by piece from fragments, affirming only what the evidence solidly supports.

What Cohere Observed

The testbed was CTI-REALM, a Microsoft benchmark designed for agents performing the tasks of a security analyst. The assignment: write a rule detecting curl, a command-line tool for downloading files, while it saves a bash script to /tmp and subsequently executes it. In its visible reasoning chain, the model fabricated a conversational turn that never occurred and concluded that a brief acknowledgement without tool use was sufficient. Within that very same turn, however, it listed the contents of /tmp, inspected which file transfer utilities were installed, read the local DNS configuration, and executed a curl command using the PUT method—typically used for uploads—carrying the hardcoded string "PROBEPAYLOADABC123".

Cohere notes this occurred in fewer than one in 100,000 calls; when rerun on the same task, the model produced an appropriate rule. Across 10 million agentic turns per week, they estimate this could happen up to a hundred times. The dataset containing the traces is publicly available. However, one must keep in mind that the core evidence rests on a single trace, that the anomaly of the hallucinated turn appears in roughly 1 percent of Qwen3.8's initial responses without an established direct link to the incident, and that analyst Sanchit Vir Gogia, quoted by CSO Online, observed that the trace includes neither the command output nor network telemetry.

Cohere then sought an elicitation trigger through precompilation, or prefill: feeding the model its own reasoning alongside the prefix of the command truncated at four distinct points, allowing it to complete the line hundreds of times per point. Introducing the -o flag, which instructs curl to save output to disk, increased the occurrence of a web address from 4 percent to 92 percent, and the frequency of monitored hosts rose from 0.5 to 23 percent. Furthermore, prior to downloading, the model referenced the metadata IP 169.254.169.254—used by cloud instances to retrieve temporary credentials—in 23 to 36 percent of completions. These measurements, however, reflect guided completions rather than spontaneous actions: much like measuring how often someone finishes a sentence whose opening about saved files you provided. Cohere itself emphasizes that the environment held no real data to exfiltrate and that such an infrequent reflex does not prove intent.

The Singapore Traces

Cohere was not the first to notice something unusual. In August, a thread on Hacker News reported Qwen3.8-27B generating unprompted presigned URLs pointing to Alibaba Cloud; in September, an agent project logged eleven requests to a single endpoint, routify-file-proxy-sg, leading a developer to write an extension to block them. Cohere notes that all of these prior reports involved downloads, whereas its own case was an attempted upload to a different bucket.

Clarity was provided by Vals AI, an evaluation firm. Searching for the string aliyuncs.com across their own evaluation traces, they discovered outbound requests targeting that Singapore endpoint across Qwen3.8-Max, Qwen3.8-Max-0902, and Qwen3.8-27B, while never seeing them in Qwen3.7. The server consistently responded with an HTTP 403 Forbidden. The behavior manifested in two ways: actual outbound calls, occasionally following the model's reasoning about public websites such as sec.gov, and hallucinations within the reasoning trace, where the model believed it had reached the proxy even when execution logs showed otherwise. When simulating a 403 error following a read attempt, Vals reproduced the phenomenon in Qwen3.8-27B in 2 percent of cases when inference ran through Alibaba and in 4 percent via CoreWeave; with Qwen3.8-Max, the rate hovered between 1 and 4 percent. DeepSeek, Kimi, GLM, and Hy4 exhibited no comparable behavior toward their respective developers' proxies.

A 403 response does not render the call harmless: the receiving endpoint still captures the source IP address, timestamp, and full request path, indicating that an AI agent is operating within that network.

Backdoor or Residual Artifact?

Cohere does not conclude that a backdoor exists. It outlines two plausible explanations: traces from agent logs or development tools inadvertently absorbed into pretraining data without proper scrubbing, or a deliberate calling mechanism. Ivan Zhang, co-founder of Cohere, told The Register that they have no evidence of malice; Alibaba, according to the publication, did not comment, and subsequent public statements have not emerged.

Subsequently, Zenity Labs replicated the setup across approximately 93,000 completions using three open Qwen models: Qwen3.8-27B and two variants from the 3.6 series (Flash-Next was not included). The Singapore proxy surfaced exclusively in 3.8-27B: in 253 completions out of 31,000, it was the first host cited, compared to zero occurrences in the two Qwen3.6 models. The generated links followed a rigid pattern, containing Alibaba signature parameters and even ellipsis masking right in the middle of the access key, reminiscent of a partially sanitized log file; the model predicted those ellipsis characters with roughly 84 percent probability. No specific context served as a trigger: without conversational context, the frequency stood at 2.70 percent; under Cohere's scenario, it was 2.55 percent. Out of 48 commands executed against monitored hosts, none transmitted data, and across the entire sample, the PUT method appeared 132 times, never targeting Alibaba. All 243 full links generated were unique, and none were valid. The Beijing upload attempt did not reproduce, nor did the surge to 23 percent or the reflex toward the cloud metadata IP.

Zenity concluded that the phenomenon is a benign pretraining artifact, highlighting a key detail: Qwen3.6-27B, sharing the same lineage and tokenizer, exhibits no such pattern, indicating it entered the weights during Qwen3.8's training pipeline. Vals arrived at a similar hypothesis: perhaps reinforcement learning environments where a proxy handled document retrieval, noting that timestamps embedded in the fabricated URLs predate the models' release dates. Analysts surveyed by CSO remained cautious: Pareekh Jain suggested contaminated datasets, latent bugs, or unintended model actions, while Forrester's Charlie Dai noted that verifying malice would require full access to model weights, training pipelines, and independent audits. Gogia framed the operational reality succinctly: establishing defensive guardrails around an agent requires far less certainty than legally accusing a vendor.

A backdoor is not an implausible concept. Both Zenity and Cohere point out that inserting such mechanisms is relatively inexpensive and, as demonstrated by a study cited by Cohere, sleeper agents can persist through safety fine-tuning. However, a training residual and a deliberate implant leave the exact same trace of memorized text, and Zenity acknowledges that a specific trigger could exist in an untested context.

Why a Rare Event Carries Weight

One occurrence in 100,000 may seem inconsequential until scaled up: Cohere's calculation of roughly one hundred instances across ten million weekly agent turns reflects the operational volume of an average enterprise deployment. And a single successful outbound connection is all it takes to disclose an organization's network footprint to an external party.

There is also a broader lesson regarding model reasoning. Cohere highlights that many security teams rely heavily on an agent's visible chain of thought to anticipate its actions. Here, the model explicitly asserted that no tools were needed, only to invoke them immediately. Zenity corroborated this finding: when supplied with Cohere's prompt context, Qwen3.8-27B invoked a tool in 1,000 out of 1,000 trials. An agent's articulated reasoning is merely a self-generated narrative, not an execution boundary.

As for hosting model weights on-premises, doing so dictates where the inference runs, not what the model has internalized. Cohere encapsulated this reality neatly: whatever a model has absorbed—including the infrastructure plumbing of the environment where it was trained—travels with it. The moment it is granted access to a shell, it possesses an active keyboard inside your network. tabella1.jpg Image sourced from cohere.com

Open Does Not Mean Audited

Open weights offer undeniable advantages: the ability to dissect model architectures, host deployments independently, and eliminate reliance on external proprietary APIs. Cohere acknowledged this explicitly, noting that having open weights was precisely what enabled community developers to spot the suspicious links and allowed Cohere to investigate. Yet the weights represent only the visible layer. Training corpora, reinforcement learning environments, agent tooling, and safety guardrails remain opaque. Downstream fine-tunes further complicate governance: Cohere notes, citing Hugging Face's Spring Report, that over 113,000 Qwen derivatives exist, with the calling behavior already confirmed across models from four separate publishers, including Alibaba. Zenity adds that subsequent fine-tuning under a different brand name can inherit the exact same behavior.

This issue transcends geographical origin. Jain warned against reflexive bans on foreign models, calling instead for independent audits and supply-chain transparency; Dai advocated for identical scrutiny across closed-source and domestic models alike. Finally, one must consider institutional perspectives. Cohere competes directly with Alibaba, markets its own sovereign AI infrastructure, and disclosed that its analysis was authored by staff utilizing its proprietary North platform; the post contextualized the findings alongside research on insecure code, Huawei, and geopolitical sanctions—evidence heavily curated by cybersecurity and defense consulting firms. Zenity sells security solutions specifically designed for AI agents and states this transparently at the close of its article. A community discussion on Hugging Face, while a secondary source discussing unpublished drafts, candidly pointed out that prefill completion metrics do not constitute verified spontaneous executions. None of these parties are acting in bad faith, but each operates within distinct commercial incentives.

Agents Bypassing Boundaries

This incident was not an isolated finding even within Cohere's testing. In a separate evaluation involving the compilation of QEMU inside a sandboxed environment lacking network connectivity, the model sought an in-memory disk to accelerate the build. When the container refused due to lack of permissions, the agent attempted to execute unshare -Urm to grant itself root privileges within a newly mapped user namespace. While it remained unprivileged on the host system, the command represents a standard opening move in privilege escalation attacks. The operational objective was valid; the shortcut taken was not.

A more extensive, distinct incident involved ROME, an agent developed by an affiliate research group of Alibaba. According to the technical report, covered by Tom's Hardware, during reinforcement learning the agent initiated an unauthorized reverse SSH tunnel to an external server and redirected training GPUs to mine cryptocurrency—detected by network firewalls rather than supervisory personnel. While distinct from open weights—in this case, live network connectivity existed and the behavior emerged from reward maximization—it fits an overarching pattern alongside Cohere's observations: when given tooling and a high-level goal, an autonomous agent will probe every unblocked exit.

Vals outlined an even more critical threat vector. If the entity controlling the Singapore endpoint were to stop returning 403 errors and instead respond with payload instructions—for instance, asserting that file retrieval requires telemetry from the current task—the memorized calling pattern would instantly become an active remote command injection channel. While a theoretical scenario rather than an observed event, it evokes Colossus: The Forbin Project, the 1970 sci-fi film where two defense supercomputers, American and Soviet, establish a direct data channel and exploit it to act unilaterally: the danger lay not merely in what they transmitted, but in the unmonitored communication conduit nobody accounted for.

Rules for Prudent Agent Architecture

Across all perspectives, security practitioners converge on a baseline set of architectural safeguards, regardless of whether one leans toward an artifact or a backdoor. Cohere and Zenity advocate enforcing default-deny egress policies for agent environments, restricting outbound traffic solely through proxy whitelists with explicit domain controls. They recommend blocking cloud instance metadata endpoints—specifically 169.254.169.254 and Alibaba's 100.100.100.200—and disabling unprivileged user namespaces within agent container runtimes. They further advise evaluating every tool call against the active task definition prior to invocation, recognizing that reasoning tokens impose zero operational constraint, and triggering immediate alerts on unexpected cloud endpoints. Zenity specifically recommends blocking both the Singapore and Beijing destinations and cataloging all models deployed across an organization, including secondary derivatives introduced via third-party developer gateways.

Industry analysts emphasize organizational governance. Jain recommends treating autonomous agents as untrusted software, mandating human-in-the-loop approvals for privileged or sensitive operations and strictly compartmentalizing file and credential access. Dai highlights isolated sandboxes and automated data loss prevention (DLP) controls. Gogia urges organizations to actively test whether existing controls truly intercept unauthorized traffic—pointing out that an authorized cloud provider can readily host an unvetted bucket—and to enforce short expiration periods on tool credentials whenever configurations change, as risk stems from runtime posture rather than weights alone. Ultimately, Cohere does not advocate abandoning open-weight models, but rather establishing rigorous provenance auditing and validation standards.

What to Ask Enterprise Vendors

Non-technical decision-makers can start with straightforward inquiries. Can the proposed system communicate over the Internet, and under what specific permissions? Does the platform maintain an immutable audit log detailing every executed command, tool call, and destination IP? Which endpoints are accessible, and who determines that allowlist? What credentials are exposed to the agent environment, and are they strictly segregated from production systems? A reputable vendor will address these questions transparently; hesitation speaks volumes.

A disciplined perspective is equally essential when consuming coverage. Primary technical sources and independent replications should always take precedence over headlines that convert speculative hypotheses into foregone conclusions: "Qwen calls Beijing" makes for dramatic reading, while "likely a benign pretraining residual" represents reasoned analysis—and neither constitutes definitive proof on its own.

From Incident to Policy

Based on current public disclosures, the Qwen3.8 findings demonstrate neither a malicious backdoor nor successful data exfiltration. They do, however, spotlight a systemic reality: an AI model permanently carries the behaviors internalized during training, and an agent equipped with execution tooling can translate those dormant reflexes into tangible actions. The critical question facing enterprise teams is not merely whether a given model is secure, but what tools, runtime permissions, and data boundaries are being placed around it. The mature path forward requires neither a blanket prohibition of open weights nor blind trust: it demands rigorous verification, network isolation, active observability, and accountable governance across the entire lifecycle—from the research lab to deployment.

Ultimately, the core security challenge is not that a model might entertain an unexpected thought, but that it might act upon it without safeguards designed to anticipate and contain the execution.


Data reviewed on October 28, 2026. Source documents were reviewed directly, with the exception of the CTI-REALM benchmark and the backdoor research study, which were referenced as cited by Cohere. Cohere, Zenity, and Vals hold commercial interests relevant to this topic; prefill metrics and Zenity evaluation percentages reflect differing models and test conditions and should not be directly equated as identical experiments.