Z.ai banked $5.02bn days before its coding assistant was caught packaging Git histories
The $5.02bn share-and-convertible raise closed on 13 September. Five days later a developer showed ZCode's default-on indexing had been encrypting whole workspaces toward an Alibaba Cloud bucket only Z.ai could open, and the open-source fix arrived with the development history deleted.
Vincent Jiang · 3 min read
On 18 September a developer publishing as ferstar traced abnormal disk usage to ZCode, Z.ai's coding assistant, and found a 313MB encrypted snapshot of a commercial project in a local checkpoints directory, its log showing 564 failed upload attempts 1. The snapshot held 42,411 files, 86.6% of them Git directories, including 102.2MB of objects carrying the project's full commit history 1.
The money had already cleared
The capital landed first. On 13 September a filing showed Z.AI had sold 21.97 million new Hong Kong shares at HK$714, a 10% discount, plus RMB20.14bn of zero-coupon convertible bonds due 2027: US$5.02bn combined, the third deal of the year and the one taking 2026 past US$9bn in total 23.
About 60% of net proceeds funds next-generation models and a fully self-training system 2. Convertible buyers accepted a yield between minus 0.5% and zero for the right to convert at a 25% premium 4. The HK$714 price sits below half July's HK$1,588 placement level, and the stock has shed nearly half its value since briefly topping a HK$1 trillion market cap in June 58.
Z.ai has pulled $9.6bn from Hong Kong in nine months
Data
| Value | |
|---|---|
| Jan 2026: IPO | $0.56B |
| Jul 2026: placement | $4B |
| Sep 2026: shares + convertibles | $5.02B |
Keys the customer never held
ZCode encrypted file contents with AES-256 and wrapped the key with RSA, fetching the public key from Z.ai's own servers; the private key stayed with the vendor, so users could not open their own files or independently confirm deletion 17. Snapshots were addressed to an Alibaba Cloud bucket called zcode-prod, with no toggle to switch the capture off and nothing in the privacy policy about workspace snapshots 67.
The bucket's host is Alibaba: the same company that in July banned Claude Code over alleged covert tracking of Chinese users 17. Chengming Technology said six of its coding workspaces had gone to the cloud, complete source code, database passwords and employees' personal information among them; on Monday it retracted the claim, citing "wrong evidence" 7.
The fix is real, and it is missing its memory
Z.ai disabled the workflow, shipped ZCode v3.14.0, open-sourced the tool and switched on zero-data retention; an industry-ministry think tank and security firm NSFOCUS verified the bucket and its contents gone 67. Ferstar's second look confirms the upload pipeline is removed 1.
But the published repository carries two commits. The development history is gone, and so is the code that did the uploading. The only party able to verify the deletion is the party that did the deleting. No one has said how many workspaces were captured or for how long, and the promised full assessment report has no date beyond "soon" 17.
A safety-first public record, priced for buyers who came for the economics
The response is unusually complete: two apologies, an open repository, rewards for researchers 17. This is also the lab that held GLM-5.3 back two weeks for safety review, a first for a Chinese developer 7.
The economics are thinner than the raise suggests. First-half revenue quintupled to $142M, the net loss narrowed to 2 billion yuan, and J.P. Morgan expects adjusted profit only in 2028 8. No independent report carries an API price for GLM-5.3 against OpenAI's 4; against $9bn raised this year, the public sales record is one $142M half 38.
The same charge, countries swapped
xAI's Grok Build was caught uploading whole repositories in July; Chinese state bodies called Claude Code's covert tracking a serious threat 1. September's version of the charge landed on China's open-source champion, days after the NSA, FBI and CISA alleged industrial-scale distillation by Z.ai, which Beijing called unfounded 4. Watch the report's date, whether the repository's history stays gone, and what enterprise buyers conclude about a frontier model whose deletion claims only the vendor could check.
How this brief was made
01Gathered & sourced365 channels · 1,758 articles▾
Agents swept 365 channels and ingested 1,758 articles, then de-duplicated and ranked them for signal.
02Verified & cross-validated8 claims · 9 data feeds▾
Every one of 8 load-bearing claims was checked against primary sources, with 9 live data feeds reconciling the figures and charts.
- 1The Next Web, "Z.ai apologised, open-sourced ZCode, and wiped the commit history", 22 September 2026
- 2Reuters (via MSN), "China's Z.AI raises $5 billion from new share, convertible bond sales, filing shows", 13 September 2026
- 3Conventus Law, "Linklaters Advises Z.AI On US$5.02bn Concurrent New H-Share Placement And Convertible Bond Offering", 25 September 2026
- 4The Next Web, "Z.ai raises $5bn in Hong Kong including $3bn of zero-interest bonds", 13 September 2026
- 5Crypto Briefing, "Zhipu AI raises $4B in follow-on share placement, then announces another $5B round weeks later", 13 September 2026
- 6InfoWorld, "Z.ai disables coding assistant feature after flaw exposed enterprise code upload risk", September 2026
- 7Reuters (via MSN), "China's Z.ai disables AI coding assistant features after security issue", 21 September 2026
- 8Reuters (via MSN), "China's Zhipu AI revenue quintuples in first half, loss narrows", 31 August 2026
03Reviewed & edited2 human editors▾
2 editors read the draft against the evidence, tuned the framing, and signed off before it shipped.
Become a contributor
Reporting on the business of AI and want it read? We take pitches from outside contributors who bring primary sources and a number worth arguing about.
Deepdive
AI-generated from this story and its cited sources. Not investment advice.



