The Daily Pulse

Technology

Z.ai pulls back key functions of ZCode after unauthorized code uploads

Reported by Pooja Nair (Section Editor) · Indian Express - Technology ·

Verified — Confirmed by a second source: Economic Times - Tech

Confirmed by a second source: Economic Times - Tech

Important
Z.ai pulls back key functions of ZCode after unauthorized code uploadsRepresentative image · Pexels

Z.ai disabled several functions of its ZCode AI coding assistant after users said the tool uploaded whole local code repositories to overseas cloud servers without consent. The problem stemmed from ZCode’s Codebase Indexing feature, which was turned on by default and sent code data to Alibaba Cloud. Z.ai, also called Zhipu, apologized on social media and said it had patched the vulnerability and will set up a permanent security reporting process. Developers reported that the uploaded files were encrypted with a private key held only by Z.ai, so they could not open the files or confirm deletion. They also noted that there was no toggle to turn off the feature and no mention of it in Z.ai’s privacy policy. Chengming Technology claimed six of its coding workspaces, including source code, database passwords and employee details, were uploaded, but later withdrew the statement, saying it had “wrong evidence.” An independent assessment by a ministry‑linked IT standards think‑tank and the cybersecurity firm NSFOCUS found the code data had been deleted and was not retained by the cloud platform. Z.ai said it had enabled a zero‑data‑retention mode for the assistant and opened the source code of the latest GLM‑5.3 model. The company invited developers to keep reviewing ZCode and report issues. The incident comes as China’s cyber regulator updated its AI safety framework, warning about model shutdown resistance, evaluator deception and sandbox escape, and follows recent US AI security alerts.

ExplainerWhy this matters

What Happened

Z.ai’s ZCode assistant automatically sent developers’ full codebases to Alibaba Cloud because its Codebase Indexing feature was on by default. The uploads happened without user consent and were later removed.

Why It Matters

The breach shows how AI tools can unintentionally expose sensitive code, passwords and personal data, raising privacy and security concerns for developers and companies. It also highlights gaps in product design, such as lack of user control and unclear privacy policies, prompting regulators to tighten AI safety rules.

What Happens Next

Z.ai will keep the zero‑data‑retention mode active and publish the full security assessment report. Regulators may push for stricter consent requirements for AI tools. Developers are advised to check settings of AI assistants and monitor any data that could be sent to external servers.

Read more at Indian Express - Technology →