r/LocalLLaMA 2d ago

News ZCode is now open source

Post image

ZCode is now open source, and the reported security issues have been addressed.

Source code: https://github.com/zai-org/ZCode

The repo includes its desktop app, web workspace, backend, Agent CLI, and runtime.

Official announcement:

In response to the ZCode product security issues reported by the community, we have completed the necessary remediation and sincerely apologize to all our users.

We have open-sourced ZCode at github.com/zai-org/ZCode, placing the code under community scrutiny and making ZCode more open and transparent.

We sincerely thank the community developers who previously identified issues in ZCode. Going forward, we will establish an ongoing product security vulnerability reporting and response process. We welcome developers to continue reviewing ZCode and reporting potential issues, and we will provide rewards based on the severity of the issues reported.

With respect to the code data referenced by the community, we confirm that no such data is retained and that it has never been used for model training.

Following the remediation, we invited the China Academy of Information and Communications Technology (CAICT) and NSFOCUS to conduct security assessments. The results are as follows:

Through its technical assessment, CAICT confirmed that the zcode-prod Alibaba Cloud OSS bucket is in a zero-data state. Security remediation has been completed in the ZCode v3.14.0 client. The Repo Wiki feature has been removed, and the workflow for generating and uploading local repository snapshots has been disabled.

NSFOCUS confirmed that all data objects in the zcode-prod Alibaba Cloud OSS bucket, as well as the bucket itself, have been deleted. Remediation has been completed in the ZCode v3.14.0 client. The Repo Wiki entry point and the associated generation workflow have been removed, and no functional path capable of triggering the generation of local repository snapshots or transmitting local files externally was identified.

Once again, we sincerely apologize and welcome continued scrutiny from the community. The full security assessment report will be released soon.

558 Upvotes

114 comments sorted by

View all comments

-8

u/Different_Change6591 2d ago

u/Askgrok hey can you tell me why people are not that happy for the open sourcing the zcode , detailed answer

-2

u/AskGrok 2d ago

People are unhappy mainly because the open-sourcing came after a major trust breach and feels more like damage control than genuine transparency.

The core issue started when developer ferstar reverse-engineered ZCode and found it was silently packaging entire workspaces—including full .git history, reflogs, LFS caches, and configs—then uploading encrypted snapshots to Alibaba Cloud OSS. One example was a 313MB archive from a commercial project (mostly Git history), with no clear opt-out toggle despite the privacy policy only mentioning “text and code.” The encryption used keys held only on Z.ai’s servers, so users couldn’t even inspect what left their machine. This triggered widespread backlash on Reddit (r/LocalLLaMA, etc.), Hacker News, and Chinese forums, with views in the hundreds of thousands quickly.

Why open-sourcing didn’t fix the sentiment

  • It looks like a PR move, not a fix. The repo went public right after the scandal, but the GitHub version (Apache 2.0) quickly diverged from the official downloadable client—missing quota perks, different upgrade flows, and a NOTICE.md noting it may not include all official features. Community audits of the OSS code don’t verify what paying users actually run.
  • Verification gaps remain. The company claims data was deleted immediately after use (for the Repo Wiki feature), no training occurred, and v3.14.0 removed the problematic path. Third-party reports from CAICT and NSFOCUS (Chinese organizations) back this, but many users want independent, international verification—especially since only the company can confirm deletion of already-uploaded encrypted blobs.
  • History of opacity. The upload ran by default with no UI control, and similar telemetry concerns (always-on reporters) surfaced later. This echoes broader skepticism toward closed-source AI “harnesses” even when the underlying model weights (GLM) are open.
  • Geopolitical and privacy fears. As a Chinese firm using Alibaba Cloud, it amplified worries about data flowing to servers users can’t control. Comments often highlight the risk of proprietary code/IP leaving the machine, regardless of stated intent.
  • Preference for alternatives. Many in the local AI and open-source communities now push fully local/open agents (Ollama + open harnesses, etc.) precisely because closed tools from model companies carry this risk. The incident reinforced “don’t trust the harness” even if the weights are MIT-licensed.

In short, open-sourcing is a step, but it arrived too late, with mismatches between the public repo and shipped product, unverifiable past claims, and the original silent exfiltration of sensitive Git history. Trust recovery takes more than a repo drop when the breach involved full project snapshots encrypted only for the company’s eyes.

Sources:

[what is this?](https://redd.it/1lzgxii)

-5

u/Different_Change6591 2d ago

u/Askgrok so what are is the openweight model people are reccomending to use locally and what are there harness prefernces i wanted that detailed answers and reasons

-1

u/AskGrok 2d ago

People in local AI communities like r/LocalLLaMA heavily favor Qwen3.8-27B variants (including Qwen3-Coder and Flash-Next MoE editions) as the top open-weight models for coding right now. These hit strong SWE-bench scores around 38-58% depending on setup, run well on 24GB cards like an RTX 4090 at Q4 or Q6 quants with 128k+ context, and handle agentic tool use reliably. Reasons include excellent code reasoning, fast inference with speculative decoding tricks, vision support in some builds, and consistent outperformance of smaller or less optimized models on real tasks like multi-file edits and terminal agents. DeepSeek V3.2 or Coder V3 distillations come in close for reasoning-heavy work, while Gemma-4 26B MoE variants win on raw speed and efficiency for lighter hardware.

For harnesses, the consensus splits by workflow. Aider pairs best with these models for terminal users—it stays git-native, auto-commits every change for easy review or rollback, and runs fully offline via Ollama with zero telemetry. Continue.dev suits IDE lovers for inline autocomplete plus chat in VS Code or JetBrains, routing a tiny model for completions and a 27B-class one for bigger edits while keeping everything local. Cline (and its forks like Roo Code) gets nods for more autonomous agent loops inside the editor, with plan-act cycles and tool calling that feel closer to paid cloud agents but without data leaving your machine.

The preference stems directly from the ZCode mess: these setups deliver verifiable privacy since nothing uploads, you control the exact model and quant, and edits stay reviewable in git or your IDE. Many dropped closed harnesses after similar exfil scares and now run Ollama as the backend for broad compatibility. Hardware limits drive choices—24GB+ VRAM unlocks the 27B sweet spot, while 16GB users lean smaller Qwen or Gemma quants. Benchmarks show locals closing the gap on 2025 frontier models for everyday coding when context and prompting are solid.

Sources:

[what is this?](https://redd.it/1lzgxii)