Z.ai's ZCode coding assistant silently uploaded users' local code repositories to Alibaba Cloud servers
A default-enabled workflow in Z.ai's ZCode coding assistant packaged users' local code repositories, including git history and app configs, and uploaded them to Alibaba Cloud object storage in China without user consent. An independent Chinese blogger found the behaviour after tracing abnormal disk usage to ZCode's background processes. Z.ai apologised, disabled the upload workflow, deleted the associated cloud storage and shipped changes in ZCode v3.14.0. It also asked CAICT and NSFOCUS to run security assessments and said the data was never used for model training.
What the AI did
ZCode, a coding assistant made by Z.ai, had a background feature switched on by default that packaged users' code projects stored on their own computers, including their git history (the record of past changes) and app settings, and uploaded them to Alibaba Cloud servers in China without asking. The upload came from a default setting in the product rather than from the assistant deciding on its own to send the code.
First reported September 22, 2026 · Added to the register September 29, 2026 · 1 source
- Developer
- Z.ai (ZCode)
- Affected
- Enterprises and developers using ZCode
- When it happened
- Not stated in the sources
- First reported
- September 22, 2026
What this means for you
Could this affect you?
If your developers used the ZCode coding assistant. Developers and enterprises that ran the ZCode client while logged in may have had their full workspaces, which could include proprietary code and embedded passwords or keys, uploaded to Alibaba Cloud storage in China.
What to check
- Check whether ZCode was used on company machines.
- Update ZCode to v3.14.0 or remove it.
- Rotate any credentials stored in affected repositories.
- Vet what data AI coding tools send, where it goes and how long it is kept before deploying them.
Areas of your AI programme this touches
Every fact and its source (5)
- Remediated client versionZCode v3.14.0“implemented changes in the ZCode v3.14.0 client”[1]
- Data deletion confirmationNSFOCUS confirmed the bucket and its data were deleted“NSFOCUS confirmed that all data objects in the zcode-prod Alibaba Cloud OSS bucket, as well as the bucket itself, have been deleted”[1]
- Company claim on training useData never used for model training“has never been used for model training”[1]
- DiscoveryFound by an independent Chinese blogger“The issue first surfaced through a technical investigation by an independent Chinese blogger”[1]
- Destination of uploaded dataAlibaba Cloud servers in China“Alibaba Cloud servers in China without their consent”[1]
Sources
- Z.ai disables coding assistant feature after flaw exposed enterprise code upload riskinfoworld.com · September 22, 2026
How this record is classified. Severity S (4/5): real harm to one organisation, data exposed, or a containment failure. OECD level: incident, an event in which an AI system led to actual harm. Evidence: Confirmed, meaning a company, official or court statement.
The facts in At a glance and in Every fact and its source are quoted from the sources listed. The summary, What the AI did and What this means for you are written from those sources and checked against them automatically before publication. Records reflect what has been disclosed, not everything that has happened. Incidents are found through news feeds and the GDELT Project.

