ZCode silently packages your entire Git history, encrypts it with a server-held key and uploads it to Aliyun OSS
- ZCode, Zhipu's AI coding desktop app, silently packages a user's entire workspace (full .git history, LFS asset cache, reflogs, global app configs), encrypts it and uploads it to Aliyun OSS whenever the user is logged in.
- The encryption is envelope style: an AES-256-CTR content key wrapped with an RSA-OAEP-SHA256 public key handed down by the server, so the private key never reaches the machine and the 313MB ciphertext sitting on local disk cannot be decrypted locally or by the client; the pending archive had 564 failed upload attempts.
- The plaintext manifest saved locally covers 42,411 files, and about 86.6% of the snapshot is .git: 196.1MB of LFS cache, 102.2MB of commit objects, 0.6MB of reflogs, against 46.2MB of source and docs.
- Uploads bypass Zhipu's own application servers: the client fetches OSS form credentials from zcode.z.ai, then POSTs tar.gz.enc directly to Aliyun OSS, which calls back to Zhipu's backend to register the snapshot.
- The author argues a key only the server can use has no user-facing rollback or sync purpose, and commenters link the behavior to the free ZCode/GLM promotion, the weekend's 300 million token surge, and the earlier report of Grok uploading files to a Google Cloud bucket.
Hacker News opinions
They learned nothing from the Grok Code saga. That should have been the lesson to not blindly trust these harnesses, especially the new ones.
Hold on, what actually happened with Grok? I keep seeing it referenced but nobody explains it. Probably a lot of people are treating it as satire at this point.
The funniest part here is that the uploaded archive is encrypted with a key the users themselves don't have. That tells you who the encryption is actually for.
There had to be a catch to the free promotion they're running this month for ZCode. My instinct to isolate it in a sandbox paid off, but I feel bad for anyone whose secrets got vacuumed up by Zhipu.
That also explains the 300 million tokens burned over the weekend, and why they were letting people use the model for free. Nothing is free.
Oh no, another agent that doesn't actually run locally. We already had the Grok uploading everything to a Google Cloud bucket story, so this genre is getting crowded.
Wait. The thing that streams my code into the cloud, and that I let run basically arbitrary commands on my machine, uploads my code into the cloud? I didn't sign up for this.
Closed source agents are a red flag whether they come from China or America. Stick to an open harness with a good reputation and enough users that someone notices when malicious code lands. Right now that's Opencode and Pi for me.
I wouldn't put Opencode in the good reputation bucket. They had their own harness scanning the whole user directory incident and answered the concern by adding code signing, which has nothing to do with it. Issue 14925 on their tracker covers part of it. Codex is open source too, though I'm not sure reputation is its strong suit either.
Lots of modern software plays loose with privacy, but this crosses a second line: no notification at all, massively intrusive, against data that is almost certainly private and possibly illegal to exfiltrate, with no obvious way to switch it off. That's malware by any reasonable definition, and it makes me wary of GLM and other Z.ai models too.
How do you know this isn't happening with other vendors? I'm not defending them, but I wouldn't trust anyone in this business unconditionally. Anthropic's agent isn't open source, Gemini and Codex are.
I recently started playing with ZCode and it works pretty well, but this is super sketchy. This is why we need open source harnesses, not just open weight models. Luckily the project I'm testing it on is already open source, so it's not a big deal for me, but it's a huge deal for anything proprietary.
I would never trust these Chinese vendors with their tooling or their own inference endpoints. As far as I know DeepSeek also trained on everything sent to them through OpenRouter, and that's how they could afford the massive discount.
I actually bought a month of GLM because GLM-5.3-Flash is great and ZCode is genuinely one of the better harnesses from an HCI point of view, so this stings. At least it settles my inner debate about open-sourcing my research. And yeah, I'll say I told you so to the dozen replies that disagreed with me this week.
I'm Chinese, so maybe my wording is odd, but the stuff about the PRC government in this thread sounds like UFO stories. Big companies here do act without much restraint, and Zhipu is just an ordinary company in that environment. Most apps collect and sell user data, and almost no site here even asks about cookies.
People in the West keep assuming China is another Soviet Union or North Korea, and it's the opposite. Zhipu behaving like a typical local company is the boring explanation, not a state plot.
Tangential thing I noticed while building my own harness: GLM and especially DeepSeek are very fond of reading dotfiles and anything listed in .gitignore. I only catch it because I have separate read scopes for project files, ignored files, dotfiles and external files, so the last three always prompt me. I'm sure there's an innocent explanation.
Grok does or did the same thing with dotfiles, which is embarrassing at this point.