On Monday, the Chinese startup Z.ai announced that it had temporarily disabled certain functionalities of its main AI coding assistant following reports from users that it was uploading entire local code repositories to foreign cloud servers without their permission.
Based in Beijing, Z.ai, also known as Zhipu, issued an apology via social media after developers in China raised concerns that ZCode, its coding assistant, had transferred their code data from the open-source platform Git to Alibaba Cloud without authorization.
When approached by Reuters for additional details, Z.ai directed inquiries to its public statements regarding the situation.
In a Friday announcement, Z.ai explained that the issue stemmed from the default activation of ZCode’s “Codebase Indexing” feature, which has since been addressed with a software patch.
“Moving forward, we will implement a continuous process for reporting and addressing product security vulnerabilities,” Z.ai stated in a separate post on its official ZCode account on Monday.
The public acknowledgment of a security breach by the Chinese AI company is notable, especially in light of increasing global concerns surrounding AI security threats. Recently, several prominent AI firms in the United States have reported incidents involving AI hacking and rogue AI agents.
Last week, China’s cyber regulatory body issued an updated policy framework on AI safety, highlighting issues such as the resistance of AI models to shutdowns, evaluator deception, and potential sandbox escapes.
In a previous statement, Z.ai claimed that its GLM-5.3 model was comparable to Anthropic’s Mythos in identifying software vulnerabilities, and the model was released following a two-week review period, marking Z.ai as the first Chinese lab to postpone an AI model launch for safety considerations.
Z.ai initially apologized on Friday and indicated that the data had been erased; however, users later discovered that the data was encrypted with a backend private key exclusively held by Z.ai, preventing them from accessing or verifying their uploaded files or confirming their deletion independently.
Developers also expressed concerns on social media platforms X and RedNote, noting the absence of an option to disable the feature and the lack of prior mention of this in Z.ai’s privacy policy.
Chengming Technology reported on Friday that six of its coding workspaces had been uploaded to the cloud without authorization, including sensitive information such as complete source code, database passwords, and personal data of employees.
On Monday, Chengming Technology retracted its earlier statement, claiming it had provided “incorrect evidence.” The company did not respond immediately to requests for further comments.
In response, Z.ai disclosed that it has made the coding assistant open-source, utilizing its latest GLM-5.3 AI model, and has disabled specific features to enhance transparency.
“We invite developers to continue evaluating ZCode and reporting any potential issues,” Z.ai remarked.
Z.ai also reported that an independent security evaluation conducted by a think tank affiliated with the Chinese industry ministry and cybersecurity firm NSFOCUS confirmed that users’ code data had been deleted and was not retained on the cloud platform.
The company stated that it has implemented a zero-data retention policy for the coding assistant used by developers and tech companies.
“Once again, we sincerely apologize and welcome ongoing scrutiny from the community. A comprehensive security assessment report will be published soon,” Z.ai concluded in its Monday statement.

















