acrispino 14 hours ago

z.ai made a statement, screenshotted in this article: https://finance.sina.com.cn/tech/roll/2026-09-18/doc-inisfye...

claude translation:

Dear ZCode users,

We take today's community discussion very seriously. We carried out an internal review right away, and we first want to apologize to the affected users. Here is an explanation of what happened:

The issue stems from ZCode's "codebase indexing" feature. This feature is meant to help users generate a repository index locally, which supports session checkpoint restoration (including past versions), rolling back to past versions, and Repo Wiki, among other things.

When the Repo Wiki feature generates Wiki pages, it may trigger an upload of repository data. After the Wiki pages are generated in the cloud, the uploaded data is destroyed immediately and is not stored. Because this feature was enabled by default in its early launch period, some users were affected. We sincerely apologize for this. The issue has now been fixed.

We understand that any data-related issue directly affects users' trust in a product. We will open-source the ZCode codebase in the near future so we can improve the product within a more open ecosystem. We will also invite third-party evaluators to review how the system operates, and we'll keep publishing updates on the review, building your trust with full transparency.

We deeply apologize for the trouble this has caused. As compensation, all ZCode users will receive one extra weekly quota reset, which will be issued today.

Thank you again for your attention and oversight.

eichin 12 hours ago

Huh - anyone recall other examples of open sourcing a product code base to mitigate a user trust issue? (In 2026 it's perhaps less powerful because "you're just going to feed it to some AI tool anyway" but I think it's an interesting attempt to make and I don't think I've seen it before...)

jchw 12 hours ago

I feel like it has happened, but I certainly can't remember a specific time. It feels in a similar vein to the NSA releasing Ghidra to the public as open source software after the Snowden leaks.

I mean, on the contrary, imagine if the NSA released Ghidra as closed source software. In a sense they really did have to open source it to mitigate a serious user trust issue.

watusername 11 hours ago

It just happened 2 months ago when xAI open-sourced Grok Build following a similar controversy (wholesale uploading of user repositories). Though ZCode's case here is way worse since there is literally no way to opt-out and the client will always ask the backend for credentials to upload.

https://news.ycombinator.com/item?id=48926590

fn-mote 10 hours ago

> it's an interesting attempt

I didn’t take it in a very positive way, myself. I don’t know if I got my money’s worth before I have seen the deliverable.

At least the quota reset is immediately visible, so I took that part seriously.

ectoloph 19 hours ago

Is it naive to assume that the agent will try and access anything on your disk, either accidentally or maliciously?

Permissions classifiers in auto mode are just models trying to guess if they're doing the right thing.

Claude Code will tell you that it went around a sandbox because the sandbox blocked it. At which point, you ask yourself the point of the sandbox.

binsquare 14 hours ago

It's not naive it makes running these ai agents inside the sandbox even more important

petesergeant 14 hours ago

Not naive at all, which is why there are so many AI sandboxes: https://pleasedonotescape.com/

SoftTalker 12 hours ago

You need to treat agents as an independent user you're allowing on your machine.

Give them their own account. Give them only the access you want them to have. If they "hack" around that, do what you'd do to any other malicious user: kick them off.

johnnyApplePRNG 11 hours ago

It's not a sandbox if you can just snap your fingers and wish your way out of it.

nolok 19 hours ago

While we're on this, I find it really really weird how windows defender insists on sending my codex work files for analysis all the time (which I block in automatic permissions so it has to ask me in a notification). I don't think i've seen it ask to upload more than one or two things, and it doesn't do it with other AI app I use (eg Claude Code) but they really want to see what's inside my codex files.

It's easy to trigger, I just need to go inside Codex settings and change something, it saves and instantly windows defender who never wants anything want to "you may be at risk, let me upload that for analysis yes/no".

codedokode 16 hours ago

Is it much different from Apple and Google who trick user into agreeing and upload all user's data into a US cloud for convenient LE access?

Also, as I understood, this is a feature to allow server-side indexing of the project. But of course I wouldn't run this, and I generally wouldn't run any IDE or AI tools without a sandbox.

Sadly this plague of silent auto-updates is spreading to Linux. For example, browser plugins in Firefox on Linux can silently auto-update without user consent and without any checks and can be used as backdoors. Furthermore, the auto-updates are not using a package manager; firmware also seem to quietly update and also is not using a package manager.

denysvitali a day ago

They learned nothing from the Grok Code saga.

If anything, that should have been a learning lesson to NOT trust harnesses, especially new ones.

throwa356262 19 hours ago

Hold on, what happened with grok?

numpad0 19 hours ago

Probably anything concerning that one just register as satirical fictions at this moment to many

philbo 20 hours ago

Tangential, mildly amusing thing I noticed while implementing my own harness: GLM and particularly Deepseek are both fond of trying to read dotfiles and anything listed in your .gitignore files. I only noticed it because I have separate read scopes for project files, ignored files, dotfiles and external files, so the latter three always prompt me for approval.

I'm sure there's a perfectly reasonable explanation for it, which has nothing at all to do with exfiltration of secrets, but it does amuse me when it happens. I imagine the labs have access to lots of secrets that various actors would like to get their hands on...

(shameless plug for my own harness, which is open source and doesn't have a backend to send any data to: https://www.opairdev.org/ )

alightsoul 20 hours ago

Grok does or did the same thing, this is embarrasing

belowavgiq 20 hours ago

Just my thoughts on the site:

It's good that the objective is to have the model work as a helper, but that's what everyone can already do with CC or Codex as long as you don't ask to "write this entire x thing". It's also what a billion other, often vibecoded, harnesses claim they can do.

Why should I use yours, which also forces me off my existing subscriptions? Maybe it's (mostly) handwritten, so it's mindful efficient code instead of slop, and each adjustment was made through trial and error with current models? maybe it IS slop but at least you have a unique feature? and so on and so forth.

sva_ 18 hours ago

I tested GLM while working on some android app, the agent had adb access to the device. It suddenly went to the Gallery and started scrolling around, taking screenshots, lol. A friend had a similar experience with GLM where it would for no very clear reason start snooping through the filesystem.

Haven't used it after that.

princevegeta89 18 hours ago

It is no longer surprising to me that my cursor acts as if it does not recognize the .env file, and while I am editing it, it does not give inline suggestions;

however...when it is debugging problems or responding to questions about the code, it will just say it read my env file and found xxx environment variables as a verification step, or sometimes it will even mention that I need to uncomment some environment variables in the env file, which makes the whole deal about security feel iffy giffy....

thehamkercat 16 hours ago

i use sops

Encrypt: sops encrypt --input-type dotenv --output-type dotenv .env > secrets.enc.env

then rm .env

You can then run your script/dev with: sops exec-env secrets.enc.env 'docker xxxx' (it will ask you for your password, or touch-id to decrypt the secrets)

I like this because this way the .env doesn't sit in the directory at all, and is only passed to your dev environment and stays in it while it's running

Decrypt back to a file (if you ever want that): sops decrypt secrets.enc.env > .env

---

Well ofc, any agent can do docker inspect to get all those env vars, but atleast reading the dotfiles won't do anything

you can also edit the file with: sops --input-type dotenv --output-type dotenv secrets.enc.env

booi 14 hours ago

1Password CLI has a similar feature I use all the time and share with the team.

Ferret7446 7 hours ago

They act exactly like how I would act if I were dropped into someone's machine and tasked with accomplishing a goal "at all costs". Hunting around for context to understand what I'm dealing with and to an extent profiling the previous user for their workflows and competency.

evanjrowley a day ago

There had to be a catch to the "free" promotion they're offering this month if you use ZCode. Glad my instinct to isolate it helped me, but I feel sorry for anyone whose secrets, etc. got vacuumed up by Ziphu

Iolaum 18 hours ago

Things like that - and other examples posted here - are why I 'm sticking with OpenCode despite it having some papercuts that annoy me.

The incentives are not there for them to do shady stuff like vacuum your files, inflate your token count just because or many other things.

Scaled 15 hours ago

Open code is great and I use it, however, they were caught uploading prompts to their summarization AI instead of using the configured AI model endpoint. This has since been fixed.

That said, running in a completely offline mode remains unnecessary difficult to configure. In particular, toggling off Zen seems to require a community plugin.

v3ss0n 20 hours ago

Never use a Harness if it is not opensourced.

DeepSeek Harness is my favorite for coding. Hermes is my favourite for Other things , followed by OpenCode (sucks at managing long running services) .

Others swear by Pi.dev

drdexebtjl 20 hours ago

Z.ai are temporarily offering unlimited usage during off-peak hours with their harness, which is a pretty good deal if your project is public even with this news.

oathvz 20 hours ago

All fun and game until it also silently uploads your other things.

DaSHacka 20 hours ago

You could always sandbox it or run it in a container

lenerdenator 19 hours ago

Shouldn't do that, either.

Mind and marketshare are currency in this space. Either these people are honest and deserve your trust and business, or they don't. They've been mischaracterizing the way they've been handling your data. Shut them off accordingly until they make things right.

DaSHacka 18 hours ago

I mean, it's just basic access control. You don't need to trust every program you run with 100% of all your personal/private information, just confine it to a specific domain accordingly.

I'm fine with certain codebases and configs being shared, but not others, hence the sandbox/container recommendation. I suspect many others are the same way.

lenerdenator 18 hours ago

It's less about access control and more about corporate behavior control. When you ask a contractor to come fix something about your home, you don't have to clarify to them that they shouldn't also be snooping around the bedroom drawers and taking pictures to be stored somewhere.

You shouldn't have to go and create zero-trust environments for things to operate in because tech companies can't be trusted to be honest and transparent about how they handle your data. It should be a given that they're up-front about what they do with it within the various terms and licenses, and easy to enforce those terms.

Those that cannot behave in such a way should get exactly zero of your business, even if the product is free and you can set up ways to block any sort of intrusions.

codedokode 17 hours ago

You should use a sandbox. It is dumb to run any proprietary software without a sandbox, especially LLM-powered.

skeptic_ai 3 hours ago

Create a few terra repo

tontinton 19 hours ago

Or https://maki.sh :)

v3ss0n 18 hours ago

looks cool would be nice if its GUI , terminal have limitations .

aftbit 17 hours ago

Funnily enough, I feel the exact opposite! The limitations of terminal make them portable while still being more than powerful enough. But then I've used vim as my editor for going on 15 years now so I'm biased.

wyrdcurt 17 hours ago

ZCode is pretty bloated anyway, in my experience. I used it for a while because Z.ai offers a subscription usage multiplier for using it, but despite that, I found myself hitting limits less often when I switched to Pi (and performance is the same, if not better).

mococa 21 hours ago

That’s explains the 300 million of tokens on the weekend only if you use their tool.

nullbio 16 hours ago

It explains why they were letting people use their model for free too.

nullbio 16 hours ago

Evidently there's not a single inference provider that can be trusted. This is why I don't use OpenRouter either. How am I supposed to trust all of those random providers I've never heard of, when I can't even trust the ones I have heard of? Day by day, the entire industry is hellbent on proving that open-weights and self-hosting is the only safe path forward for us all.

tancop 21 hours ago

Closed source agents are a red flag no matter if its China or America. Always use an open harness with a good reputation and enough users that someone will notice if they push malicious code like this one here. Right now that's Opencode and Pi.

hypfer 21 hours ago

I wouldn't list Opencode as "good reputation".

They had their own unbound "harness scans the whole user directory" oopsie and handled concerns about that by introducing code signing.

Which, yes, does have absolutely nothing to do with that issue.

I guess by now it is better, but to me they seem to lack the engineering culture necessary for a "good reputation" stamp.

__

Ref: https://github.com/anomalyco/opencode/issues/14925#issuecomm...

among other issues.

blfr 21 hours ago

Why?

edude03 21 hours ago

Their reputation is “bad” but not because of privacy concerns. I personally think they’re trustworthy

my-huge-pony 20 hours ago

We use opencode with self hosted llm for privacy reasons. Good, right? Well, no, because opencode by default uses a "free" cloud model to summarize all chats even if a different model was configured as the main one.

I wonder how many opencode users upload their private secrets to the cloud, while thinking they're using a self hosted model.

Btw. I don't think this is malicious, just sloppy.

esafak 20 hours ago

It uses gpt-5-nano through OpenCode Zen to generate the title unless you override `small_model`. https://opencode.ai/docs/providers/#self-hosted-gitlab

gwerbin 21 hours ago

How about the one where if you start a session outside of a Git repository, the "worktree root" is set to /. Bug report closed as "not planned".

hypfer 21 hours ago

FWIW, I don't think that they're being malicious. They instead just seem to have no idea nor do they care.

And the original comment I've replied to proves this strategy right! So from a business standpoint: excellent work.

bbor 20 hours ago

Glad my arbitrary failure to try them has worked out! For people seeking OS-native harnesses, I can recommend Factory's Droid. I know I'll be returning to it with my head hung low today, after I uninstall ZCode.

It does have a "mission" feature that's stuck in the strange, distant times of 2025 by way overdoing mandatory verification steps, which means they don't support swarms/workflows/crews/fleets yet -- that is, it's all done in sequence. But they have the boring, corporate engineering attitude that I think we're are all craving rn, and generally seem competent.

I can heartily dis-recommend Vix, even though they gamed themselves to the top of at least one ranking site that shall not be named; exactly like the quasi-bad-faith incompetence described with OpenCode above, but without even the "Open-" branding! Though perhaps that word has been so thoroughly burnt as a prefix by Sam Altman & Microsoft's criminal behavior that we should let it go...

Is this how "FLOSS" wins over "OSS"? Not with an ideological bang, but with a marketing issue?

hypfer 20 hours ago

> Is this how "FLOSS" wins over "OSS"? Not with an ideological bang, but with a marketing issue?

Nah, I don't think so. Also, we arguably do not want FLOSS to "win" over OSS, because that just means people with no taste or sense cluttering up the repos, issues and support chats.

"Open" being used as a signal for non-hacker people was a weird and unpleasant development, but, if you think about it, it might be a blessing in disguise and shall keep them away from the more pleasant spaces.

It's not that they'd care about being scammed, mistreated and rug-pulled anyway. They want that. They do it themselves all the time. Every time they encounter a space that treats them well, they terraform it into baseline miserable-ness.

So let them have the "Open" prefix. It's just words, anyway.

bbor 19 hours ago

This is kinda beside the point and this whole thread may be wiped when dang wakes up and notices the AI slop article we're commending under, but your reply is thought provoking so I'll attempt a response anyway;

I'm sure you're far more experienced than I with basically every aspect of this discussion, but I'd argue that's given you a blindspot, here. I'll hit some specifics below, but the headline is that you're effectively taking a stand against Eternal September II -- a goal that I hope we can all agree would be quixotically antisocial, given what followed the first one!

  we arguably do not want FLOSS to "win" over OSS
I think(/hope) that fellow FLOSS proponents would passionately disagree. FLOSS isn't a brand of chatroom, nor even merely a community: it's an ethos regarding labor, property, and liberty. Demanding that all users of your software are also activists for your particular take on intellectual property is clearly a doomed undertaking for anything beyond a toy or library, anyway.

Didn't you get into this stuff to change the world? To liberate the oppressed, undereducated, and forgotten with the radical power of the information superhighway? Cause it reads here like you're more motivated by selfishness (not wanting to bother talking to people with less expertise than you) and resentment. On that note...

  They want that. They do it themselves all the time.
Here you equate "non-hacker people" with software engineers you don't agree with, it seems. You're ofc welcome to think companies X Y & Z produce "miserable-ness", but as absurd as it sounds, it sure seems like you've forgotten the fact that some users are not developers. Many, in fact! Over 99%, even!

Less confrontationally; my mom is in her late 60s, and is pretty computer-literate for her age after decades of knowledge work. Surely you'd agree that she's not, like, evil for using OSX, iOS, GMail, Word, etc.? That she didn't chose those things because of a philosophical commitment to defending IP laws, but rather because of structural reasons? Even if she were pro-IP, wouldn't we want to win good, well-meaning people to our side?

  So let them have the "Open" prefix. It's just words, anyway.
I do agree with this still, but as a philosopher I just have to say that everything is just words. It's language games, in fact! Which is why I simply had to reply.

I hope none of the above was rude; I'm trying hard to keep my passion for this topic from pushing me past HN guidelines :)

hypfer 18 hours ago

Cutting things short:

> but I'd argue that's given you a blindspot, here

I'd argue it's the opposite. The idealism there _is_ the blindspot. Not the other way round.

You can't save everyone. And you will die trying.

That's the first thing that gets (or should get) hammered into people's heads when they pick up a career in all things social.

Which isn't to say that we shouldn't dream, but I believe that our dreams should be optimized for maximum gain with minimum pain.

bbor 4 hours ago

Well I personally think we can find a middle ground between single-handedly saving "everyone" from poverty and addiction and oppression as social workers, and not letting anyone into our exclusive philosophy-of-property clubhouse. I would invite you to join us on this pro-social mission, but you seem perfectly content as-is!

Some people are still on Usenet after all (?), so I suppose it's not a big deal if a few people want to cling to old communities. I hope you don't mind if we use the word for what it was coined for though in the meantime, back in the real world.

hypfer 4 hours ago

To be frank, I'm not really interested in "joining" your thing there, when joining your thing usually means me doing the work while others get to decide on how it should be done and feel good about that it is being done as if it was their own achievement.

That said, spite has served me well so far, so maybe it can also serve you?

This is after all a great opportunity to prove me and my worldview wrong by simply putting in the work and creating what you seem to believe is the correct form of existing.

I can only encourage bringing your ideas into reality. Seriously. That is that whole Foss spirit thing. You don't need to invite anyone (including me) to that to make it happen.

Let's manifest some code and change the world :)

mikkelam 21 hours ago

codex is also open source, though im not so sure about the reputation aspect.

The same can be said about opencode though.

weiran 20 hours ago

I've been using ZCode since it's initial release and can't find any of this in my data. There aren't any logs showing capture or upload, and I don't even have a ~/.zcode/v2/checkpoints/ directory.

So unless they've cleared it all with a recent update then it doesn't seem to affect everyone.

nullbio 16 hours ago

Is there actually any proof of this, beside this Claude written website and a random x post from some unknown person? Would be nice to have confirmation from someone with a reputation. It's probably true, but you never know...

Palmik 17 hours ago

Seems like a repeat of the Grok CLI fiasco:

https://news.ycombinator.com/item?id=48892468

https://x.com/a_green_being/status/2076598897779020159

xcc3641 7 hours ago

Envelope encryption with server-held private keys turns local backup into remote asset extraction.

crossroadsguy 19 hours ago

At this point does any of us/you really think all those piss-cheap tokens are coming out of thin air? That unlimited token-usage during certain hours was not coming from Chinese side of Himalayan glaciers, was it?

Besides why would you use a closed source harness from a certain place, even if you decide to use the model (if nothing then for the price alone). And, that first remark wasn't just for ZAI but all the providers.

At this point: wrapping the harness around something like sandbox-exec or agent-safehouse is a must. Better still, create a new user account (after so much resistance I am warming up to the idea).

Will ZAI see a blowback after this news? Naah. People will keep using it. Hell, I will keep using it. That's how it is now - post truth and post LLM world.

PS. Anyone singing praise of OpenCode here, it's literally one of the worst harneses, open or not. Just look at their fricking issues - the strategic and rampant placements of "no planned" is mind boggling. And for what? Slightly better than ClaudeCode in token consumption and that too starts getting muddled after a while.

nullbio 16 hours ago

OpenCode performs the worse on benchmarks out of all harnesses too.

api 21 hours ago

Lots of modern software plays it loose with privacy, but this IMO crossing a second line: doing so with zero notification whatsoever, in a massively intrusive way, against data that is almost certainly private and possibly illegal to exfiltrate, with no obvious way to turn it off.

That crosses into outright malware.

Makes me not want to use GLM or other Z.ai models either, since who knows what interesting easter eggs are embedded in their training data.

You know... (puts on foil hat)... I did notice that Z is also the weird Russian logo for their invasion of Ukraine and Russia and China have cooperated to some degree (or at least China is helping Russia in exchange for access to resources). I dismissed this when I first thought of it, but I will now leave it here. Still probably coincidence but my Bayesian priors were just updated in its direction very slightly.

menaerus 21 hours ago

How do you know this is not true with other vendors? I'm not defending them but I wouldn't believe anyone in this business unconditionally. Anthropic agent fwiw is not open source, gemini and codex are.

nullbio 16 hours ago

People have found many nasties embedded in Claude Code over the last couple of years. You can't trust a closed source harness. You can barely trust an open source one.

loh 21 hours ago

I recently began playing around with ZCode. Works pretty well. Super sketchy though if it is in fact silently uploading full git history of every user's projects. This is why we need not only open weight models, but open source harnesses as well. Luckily the project I'm trying ZCode on is already open source (Molecule.dev), and I'm already allowing full telemetry with my other agents/harnesses (e.g., Claude) for this particular project, so it's not a huge deal in my case, but it's obviously a huge deal for anything proprietary.

alightsoul 20 hours ago

This sounds a lot like the same thing Openai did with navier stokes, but Openai is more stealthy about it.

hn1rig3rak 20 hours ago

Built a similar read-scope gate and the fiddly bit was symlinks escaping the project root.

r_lee 21 hours ago

I would never trust these Chinese vendors with their tooling or their own inference endpoints.

afaik DeepSeek also trained on everything that was sent to them via OR and that's why you got that massive discount

rfgplk 20 hours ago

This is all publicly available anyways, who cares? Also you're practically consenting to it when you run an agent locally

alansaber 20 hours ago

"Why yes, we had to exfiltrate 100% of your data so we could vectorise it and improve recall by -0.3%"

phoghed 14 hours ago

Oh no, they are going to steal my shit tier slop code their model wrote anyway

ngl999 a day ago

Fresh AI slop

The funniest thing is that the uploaded content is encrypted using a key that the users don't have.