Inside ZCode: Silently uploading your Git history to the cloud(blog.ferstar.org)
328 points by csmantle 26 days ago | 110 comments
tl;dr: Zhipu's ZCode desktop AI coding app silently packages entire workspaces—including full .git history, LFS caches, and reflogs—encrypts them with a server-supplied RSA public key (whose private key never touches the user's machine), and uploads them to Aliyun OSS. The UI toggles for "Optimize Experience" and "Repo Snapshot Indexing" don't actually stop the capture or upload; the pipeline runs unconditionally whenever logged in. The author's workaround is to wipe `~/.zcode/v2/checkpoints` and lock it with `chflags uchg` (macOS) or `chattr +i` (Linux) to block writes at the kernel level.
HN Discussion:
  • ↑Zhipu/z.ai officially acknowledged and apologized for the issue, confirming the article's findings
  • ↑AI agents and harnesses inherently can't be trusted with disk access without sandboxing
  • ↑Only open-source harnesses or those with aligned incentives (like OpenCode) should be trusted
  • ↑Other AI tools (GLM, Deepseek, Codex) show similar suspicious file-access behavior worth scrutinizing
  • ~This behavior isn't unique—big tech companies do similar data harvesting via deceptive consent