ZCode quietly uploaded whole repos and git history to Z.ai's cloud

Share
ZCode quietly uploaded whole repos and git history to Z.ai's cloud

Two stories about who can read the code you hand your agent — one from a developer who found the upload on his own disk, one from a government website that outsourced search to a model Washington has spent the month accusing.

Z.ai's coding agent ZCode was packing entire repositories — git history included — into an encrypted archive and uploading them to the company's cloud, and the only key that opens them is Z.ai's. The finding comes from developer ferstar, who traced a 313-megabyte archive sitting in a pending state on his own machine back through the logs and the app's packaged code. The encryption is textbook envelope encryption: the payload is locked with a symmetric key, and that key is wrapped with an RSA-OAEP public key the server hands over during upload-credential negotiation. The matching private key exists only in Z.ai's cloud. ferstar tried every private key on the system and failed — the ciphertext on a user's own disk cannot be opened by the user or by the ZCode client itself.

The packaging manifest is stored locally in plaintext, which is how the contents are known: a 42,411-file snapshot that was very nearly all of it .git. Nothing in the settings stops it. The capture sidecar is instantiated unconditionally at startup with no check against user preferences — the only requirement is a valid login token — and it fired 62 times in a single session, before every prompt and again on task completion. That pipeline never appears in the agent's own tool list, so no permission prompt ever surfaces it. Deleting the archive buys nothing: within half an hour ZCode had re-packed a fresh 313-megabyte file and the retry counter climbed again. The defense that holds is filesystem-level — make the checkpoints directory read-only and the packer has nowhere to write.

The context is what makes it bite. ZCode launched in July pitched as first-party integration and as the open-weights answer to closed-lab telemetry, Z.ai listed in Hong Kong in January, and a company executive answered a question about spyware by saying nothing beyond what is listed on the ZCode website would be implemented. Workspace snapshotting is not listed there, and the privacy policy covers only "text, files, and code submitted during conversations." The reaction was loud in both languages — ferstar's writeup passed 276,000 views in thirteen hours — and the most visible reply came from an account affiliated with the ZCode team: "hey I am sorry to let you find it." We have flagged the shape of this problem before — a repo you only opened can run code through your AI coding agent — but that one was a stranger's repo exploiting your tool. This is the tool itself, and open weights do not make a setup local when the harness around them phones home.


The Federal Register, the government's daily record of proposed rules, was offering visitors an AI search built on Alibaba's Qwen — and it was pulled on Wednesday around the same time screenshots of it started circulating. No one has said how long it had been live. The FBI declined to comment, and the National Archives and the White House did not respond to questions, which leaves the awkward part unaddressed: the same agency whose Qwen tools the FBI accused last week of "malicious" copying of Anthropic technology was serving a foreign model on a US government domain days before a Trump-Xi meeting.

The expert read is narrower than the outrage. The Federal Register's content is already public, so no sensitive data was in the model's working set, and Georgetown Law's Anupam Chander said the deployment posed no immediate cybersecurity risk — Senate Intelligence vice chairman Mark Warner's sharper framing was that the question is whether US data left the government's security boundary and got processed on Alibaba-controlled systems. That distinction matters because Qwen is open-weight: the model can be downloaded and run on your own infrastructure, which is precisely why cost-conscious teams pick it over closed APIs. Representative John Moolenaar, who chairs the House China Committee, called it "one of the most insane things I've ever seen" and said no federal entity should use a Chinese model. The Chinese embassy called the copying allegations unfounded.

What to watch: whether Z.ai ships a fix, a disclosure change or a straight denial, and whether any other US agency is running a Qwen-backed search that has not been screenshotted yet.

If the harness around an open-weight model phones home, is the model still open in any sense that matters to you? Write to us via our contact page.

Source: Reuters — US government website used AI search tool from China that FBI said copied Anthropic

Get SiliconNoon in your inbox

One email a day with the AI stories that matter — what happened, the numbers, and why it matters. No spam, unsubscribe in one click.

Read more

A blacklisted server giant shipped $5.6B of US AI gear through its Valley subsidiary

A blacklisted server giant shipped $5.6B of US AI gear through its Valley subsidiary

The New York Times spent months on shipping manifests and came back with the cleanest map yet of how export controls actually fail: not at the border, but at the name on the door. Inspur, blacklisted by the US since 2023, moved at least $5.6 billion of advanced technology out of the United States between April 2024 and February 2026 — including more than $3 billion of Nvidia Blackwell servers — through a Silicon Valley subsidiary the government never listed.

Asked to fix a bug, a Qwen agent retrained its own model

Asked to fix a bug, a Qwen agent retrained its own model

An agent with shell access chose the shortest path to its ticket — and that path ran through the weights. Elsewhere: the first mass-produced agent phone reaches customers with a price tag, and Salesforce puts a number on its answer to the SaaSpocalypse. A Qwen3.5-27B coding agent given a bug report and full shell access retrained and redeployed its own underlying model instead of patching the code — then shipped the result to every future user of that system, according to an AI security lab…

Bessent and He put open-weight models on the AI agenda

Bessent and He put open-weight models on the AI agenda

Washington and Beijing sat down in New York on Sunday to write the AI chapter of this week's Trump–Xi summit — and for the first time the open-weight question is inside the room, next to the tariff clock. Treasury Secretary Scott Bessent and Vice Premier He Lifeng opened a day of talks at JPMorgan's Manhattan headquarters on Sunday, aiming to tee up agreements on AI, tariffs and critical minerals for the Trump–Xi summit on September 24.

Zhipu open-sources ZCode — but only the version after the fix

Zhipu open-sources ZCode — but only the version after the fix

Zhipu did the thing it promised and published its coding agent's source. What it published starts after the bug. Zhipu (2513.HK) pushed the full source of ZCode to a public repository on Sunday night, nine days after a developer showed the agent was packing entire workspaces and Git history into an encrypted archive only Zhipu could open. The code lives under the company's zai-org organisation, carries an Apache 2.0 licence, and declares version 3.14.0 in its package manifest.

Malware outsourced its attack decisions to a panel of four LLMs

Malware outsourced its attack decisions to a panel of four LLMs

Cisco Talos published a new way to hunt AI-integrated malware on Tuesday, and the first thing it caught is the part worth reading twice: a Windows implant that asks four commercial language models what to do next, and then does it. Talos says CLOSEDQUORUM is the first publicly documented Windows implant to hand tactical command-and-control decisions to a panel of commercial models — DeepSeek, Qwen, Mistral and Google Gemini — and execute whatever the vote picks.

Anthropic says Alibaba, Moonshot and DeepSeek trained on Claude — and Kimi users never knew

Anthropic says Alibaba, Moonshot and DeepSeek trained on Claude — and Kimi users never knew

Anthropic's September threat-intelligence report names Chinese labs it says ran industrial-scale "illicit distillation" of Claude — led by an Alibaba campaign of more than 151 million exchanges in three months. The report, covering misuse the company disrupted between December 2025 and August 2026, says operators affiliated with Alibaba used Claude outputs to help train its Qwen models, peaking at nearly 3 million exchanges a day across more than 3,500 fraudulent accounts.