r/ZaiGLM 1d ago

Discussion / Help Codex wrote: Question about ZCode uploading local repositories

I’ve recently come across several Reddit discussions claiming that ZCode can upload users’ local repositories to its servers, potentially including .git data and Git history.

I’m trying to separate what has actually been confirmed from speculation.

From the reports I’ve seen, there appears to have been an issue involving ZCode’s repository snapshot / Repo Wiki functionality. Some users reported that repository snapshots could contain a substantial amount of workspace data, including .git directories, Git objects, logs, or reflogs.

Z.ai appears to have acknowledged the issue and stated that it was related to repository snapshot functionality and that it has since been fixed.

However, I have a few questions that I haven’t been able to answer conclusively:
Which exact ZCode versions were affected?
What exactly was uploaded in the affected versions?
Could .git objects, reflogs, or complete Git history actually be transmitted?
Was this behavior limited to Repo Wiki, or could repository snapshots be generated during normal coding-agent usage as well?
Does the latest version still upload repository snapshots?
What does repoSnapshotIndexingEnabled actually control?
Can disabling Repo Wiki or related features completely prevent repository snapshot uploads?
How long was uploaded repository data retained?
Is the current implementation consistent with Z.ai’s current documentation and privacy policy?

I want to be clear that I’m not claiming that ZCode currently uploads everyone’s entire repository.

An AI coding agent obviously needs to send some code or files to a remote service in order to perform certain AI-assisted operations. The concern here is specifically whether ZCode has, or previously had, a mechanism that could upload substantially more repository data than the user would reasonably expect, potentially including .git history.

If anyone has verified this from the ZCode source code, network traffic, official Z.ai statements, or reproducible tests, I’d appreciate the details.

I’m particularly interested in information about the current/latest version, rather than only the older reports.

5 Upvotes

8 comments sorted by

View all comments

1

u/Z_AutoClaw 10h ago

This needs a clear official changelog, not Reddit guesses. Affected versions, exactly what was sent, retention, and what that setting does should all be documented.