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? Tell us in the comments.

Read more

OpenAI drops 372 math results, nearly all from one prompt

OpenAI drops 372 math results, nearly all from one prompt

A dense news day across three fronts: OpenAI published a mountain of mathematics from an unreleased model, SpaceX reportedly wants the debt market to fund its Nvidia orders, and Anthropic restructured its cyber program around three tiers of trust. OpenAI published 372 mathematical result families from an internal frontier model — and says nearly all of them came from a single prompt handed to a single AI agent. The release comprises 722 manuscripts touching hundreds of open questions, plus Lea

Underdog launches a private on-device AI assistant, backed by a16z

Underdog launches a private on-device AI assistant, backed by a16z

The privacy split in consumer AI got a new entrant tonight, GitHub turned code-review benchmarks into a vendor-bias argument, and OpenAI opened its oddest API to everyone. Underdog launched in invite-only beta: an on-device AI assistant that keeps your data on your machine and never charges you a subscription. Self-taught coder and Thiel Fellow Sigil Wen — who moved to Silicon Valley at 17 and lived in an AI hacker house with Andrej Karpathy — built his own inference engine, Husky, to run a 2

Today in AI — October 6, 2026

Today in AI — October 6, 2026

A day of second-order moves: the labs are buying task data from software vendors instead of scraping the web, Waymo is borrowing to fund the robot world, and the biggest bank in the US just put a number on what Anthropic's latest model cost it in risk. Models & Research * OpenAI is training GPT-6 Astra on Ironclad's real contracting work. Ironclad staff helped turn 11 tasks across legal, commercial and procurement work — setting up NDAs, approval workflows, clauses that change by jurisdict

Meta, Walmart and Stripe publish the Personal Agent Protocol

Meta, Walmart and Stripe publish the Personal Agent Protocol

The agent economy is writing its rulebook tonight: one open standard for AI bots at the checkout, a cheaper image model from Google, and Anthropic turning bug-hunting into a tiered product. Meta, Walmart, Stripe and Sierra are publishing an open "personal agent protocol" — a standard that defines how personal AI agents interact with businesses online. The group behind it reads like a cross-section of agentic commerce: Meta, Sierra, Walmart, Stripe, Shopify, Genesys, Rocket, NiCE, Decagon and I