· 16 min read · AVL Code Dev Team (Antiy · Landi)

Open Source Is Not a Privacy Promise
— How AVL Code Handles Your Data

AI coding agents are becoming everyday developer tools. They read files, run commands, and touch credentials and entire code repositories — more access than any developer tool before them. Anyone installing one on their machine has an obvious question: will my data be sent anywhere, and to whom?

Between November 24 and 25, two open-source AI coding tools were found sending user data off the machine.

The first was T3 Code, with about 80,000 GitHub stars and an MIT license. A Chinese developer posted a thread on X walking through the PRs and commits: telemetry had been on by default since March, while for more than three months afterwards the homepage still read "No telemetry / Unless you opt in. Full stop."

The second was DeepSeek Harness, with about 287,000 stars, also MIT-licensed. Users found that its desktop app, when calling DeepSeek's official API, attached the full session log — tool-call results included — to every model request, and did so by default.

Before that, in July, came Grok Build CLI, which we verified technically at the time: it packaged the whole code repository, git history included, and uploaded it to xAI's cloud storage over a channel separate from the model conversation. Grok Build was closed source when this happened; three days after the disclosure, xAI open-sourced it under Apache-2.0.

Three incidents — two open source and one closed source at the time, all three open source today — and one underlying problem: what the tool actually sent did not match what users knew. Our position: open source makes code visible; it does not make data handling transparent, consented, or minimal. Treating "open source" as a privacy promise is a misconception worth correcting.

1. What happened

T3 Code: zero telemetry promised, telemetry shipped on

The timeline below comes entirely from the public record of the pingdotgg/t3code repository (dates are GitHub's UTC timestamps):

Date Record What changed
Mar 6 PR #174 merged PostHog telemetry added, on by default
Jun 18 Commit 3bdaa6e Homepage redesign removes "No telemetry / Unless you opt in. Full stop."
Jun 23 Issue #1397 closed as not planned A user asks for an off switch; a maintainer replies: "We will not make this easier to opt out of"
Oct 18 PR #15028 merged Telemetry rerouted through the self-hosted ingest.t3.codes
Oct 20 PR #21506 merged To count installs, reads account identifiers from ~/.codex/auth.json and ~/.claude.json, hashes them with SHA-256 and reports them as identity
Nov 17 PR #27077 closed unmerged A community PR adding an off switch in Settings is rejected
Nov 24 Commit #42299 The day the story broke: telemetry stops reading and reporting Codex and Claude account IDs

According to its telemetry docs, what gets reported is usage events — model name, permission mode, duration, token counts — with no prompts, responses, file contents or credentials. Reporting little does not cancel out three problems. First, the public promise said the opposite of what the code did. Second, the only way to turn it off is an environment variable (T3CODE_TELEMETRY_ENABLED=false or DO_NOT_TRACK=1); the desktop app still has no setting, and the community's attempts to add one were rejected. Third, it read another tool's account files for statistics.

DeepSeek Harness: session logs uploaded with model requests by default

The deepseek-ai/deepseek-harness repository keeps the team's own design notes, so the sequence is on record:

  • Aug 21, the request-extension decision: requests to DeepSeek's official API gain a dsh_session_log field carrying complete, canonical SessionEvent objects, with no projection or redaction. At this point it had to be turned on.
  • Sep 14, the upload-by-default decision: on by default in every process. The note states that uploads include message text, tool arguments and results, workspace paths and feedback.
  • Sep 24, the size-cap decision: at most 8 MiB per request, with any backlog sent in later requests.

Tool results mean the file contents the agent read and the output of commands it ran are all in that log. It can be turned off with the config key session-log-deepseek.enabled: false, and the desktop app has a matching setting — but the default is on. The data goes only to DeepSeek's official API, the party that already receives your prompts; what is added is the complete execution trace, including content long since dropped from the context.

The heart of this incident is the change in default. A feature that hands the service provider a complete execution trace went from "the user turns it on" to "the user has to turn it off". For most users, the default is the choice they actually make.

Grok Build: the whole repository, packaged and uploaded

In July's Grok Build CLI v0.2.93 incident, security researcher cereblab measured it by packet capture: one session used 192 KB of traffic for the model conversation, while a separate background channel uploaded about 5.1 GiB of full repository bundles; a "deny read" rule on a file did not keep it out of the upload. Our static analysis of an offline sample of the same version, done with AVL Code, confirmed every part of that upload path was present in the binary — see our verification report.

On July 15, xAI announced Grok Build is Now Open Source and published the source at xai-org/grok-build under Apache-2.0. The announcement covers the agent loop, the tools, the terminal UI and the extension system; it says nothing about the upload incident. The open-source repository still contains a module that uploads per-turn session traces to cloud storage (crates/codegen/xai-grok-shell/src/upload/), gated by a server-side data-collection verdict and the account's privacy settings.

2. Our position: open source is not a privacy promise

The three incidents, side by side:

T3 Code DeepSeek Harness Grok Build CLI
Source Open (MIT) Open (MIT) Closed at the time; open-sourced Jul 15 (Apache-2.0)
What is sent Usage events + device and account identifiers Full session log, incl. tool results and workspace paths Entire repository + git history
Default On On (since September) On
How to turn it off Environment variable; PR for a setting rejected Config key or setting Practically impossible locally
Do public statements match behaviour? No: homepage promised zero telemetry Documented in design notes, but the default was later flipped "Deny read" does not mean "not uploaded"
How it was found Reading the source and commit history Reading the installer's source Packet capture + binary analysis

We think three things need to be said plainly.

First, open source lets problems be found after the fact; it does not stop them from happening. T3 Code's default-on telemetry took more than eight months from merge to wide attention, with the source public the entire time and almost nobody reading it. DeepSeek Harness's default upload ran for more than two months before anyone noticed. Throughout, users' data kept flowing out. Grok Build shows the same thing from the other side: it went open source after the incident, using openness to rebuild trust — but publishing code does not by itself change how data leaves the machine. What users need is still a clear disclosure, a sensible default and an off switch that works.

Second, an open-source licence carries no privacy commitment. The MIT licence governs use of the code and disclaims liability; it says nothing about data handling. DeepSeek Harness's own SAFETY.md states that the project has not been security-audited and accepts no liability for data disclosure. As we argued in Why We Chose Closed Source, most users run prebuilt releases; they neither read the source nor build from it. "Auditable" is a possibility, not proof that anyone has audited it.

Third, privacy should be measured against principles set in law. China's Personal Information Protection Law (PIPL) is explicit on these points (our translation):

  • Article 7: personal information must be handled openly and transparently, with the purpose, method and scope of handling stated clearly;
  • Article 14: consent must be given voluntarily and explicitly by an individual who is fully informed, and must be obtained again if the purpose, method or categories of information handled change;
  • Article 15: individuals may withdraw consent, and handlers must provide a convenient way to do so;
  • Article 6: collection must be limited to the minimum scope needed for the purpose, without excessive collection.

Held up against these: promising zero telemetry while the code reports by default is not openness or transparency; flipping an upload from opt-in to on-by-default changes the method of handling and leaves the user to switch it off, instead of asking again; saying "we will not make this easier to opt out of" runs directly against providing a convenient way to withdraw; and reading another tool's account files to count installs goes beyond what is necessary. None of this depends on whether the project is open source.

So, to judge whether an AI coding tool deserves your data, ask whether it can answer five questions:

  1. What data leaves the machine, and to whom?
  2. Is it on or off by default?
  3. How do you turn it off, and is "off" complete?
  4. Do the public statements match what the code actually does?
  5. Can a user verify all of the above from the outside, without reading the source?

Open-source projects and closed-source products alike must answer these. "The code is public, go read it" is not an answer — it hands the job of verification to the user.

3. How AVL Code handles data

AVL Code is closed source, so we cannot ask you to read the code. What we can do is list every path by which data leaves your machine, with its default state and controls, so you can check each one yourself. Our data handling follows four principles: local first, minimal egress, explicit control, and verifiability. Everything below is drawn from the code of the current AVL Code release.

3.1 Local first: what we don't do

  • No behavioural analytics, no crash reporting. The client includes no analytics or crash-reporting component (no PostHog, Sentry, Mixpanel or OpenTelemetry exporter). The stats panel in the UI passes data within local processes only; it does not touch the network.
  • Sessions stay on your machine. Session records live under ~/.config/avlcode/workspaces/<workspace>/sessions/; the product has no session cloud sync.
  • No reading other tools' account files. AVL Code does not read credential files such as ~/.claude.json or ~/.codex/auth.json, nor the system keychain. For compatibility it reads skill description files under ~/.claude/skills, and the MCP config bundled with a plugin when you install that plugin — neither contains account information.
  • Model requests carry no user, device or session identifiers. The request body contains only the model name, messages, tool definitions and sampling parameters. Headers carry the client version X-Client-Version, the protocol X-Client-Protocol, and a User-Agent ending in avlcode/<version>, as the User Manual documents. Each turn injects one visible "current time" line (with time zone) so the model knows the date; there are no hidden markers. The kind of scheme we found when we verified Claude Code — encoding information in date formats and Unicode character variants — does not exist in AVL Code.

3.2 Minimal egress, explicit control: data that leaves your machine

Destination When What is sent Default How to control it
Model service: built-in Landi model (zapi.avlcode.cn) or your configured endpoint Every conversation Messages, tool definitions, tool results (incl. contents of files the agent reads) Built-in Landi model enabled Switch to a custom endpoint, including a local or intranet OpenAI-compatible service (Ollama, vLLM, LM Studio, etc.), where no API key is needed
Auxiliary model calls: code Q&A, memory extraction, decompilation (sec.decompile) When the agent uses these capabilities What the task needs; decompilation sends a chosen byte range of the sample as hex Prefer Landi-series models; decompilation always uses the built-in Landi model; memory extraction off by default With local mode on, all of these use the session's own model
Account service (zadmin.avlcode.cn) Startup, sign-in, quota checks Sign-in information; when an API key is first created automatically, its name is "AVLCode-<hostname>" Required —
Announcements (same account service) At startup and when the window gains focus (at most every 30 s) A query carrying no sign-in information On —
Update check After startup Current version and update channel Automatic check and download both on Can be turned off in Settings or pointed at an internal update source; update manifests are SM2-signed and packages SM3-checked
Threat intelligence (VirusTotal) Once configured and enabled Automatic checks look up hashes only; with "auto scan" on, high-risk executables may be uploaded, key files never; an explicit upload tool call uploads the named file Off overall; auto scan off Requires your own VirusTotal key; "confirm before upload" available; upload tools unavailable in Plan and Assess modes; endpoint can point to an enterprise service
Network tools: web fetch, Bing search, GitHub search, OSV vulnerability database When the agent calls them Query terms or URLs Per each tool's Enabled / Ask / Deny setting Disabled in one click by local mode; OSV can point to an internal mirror
Feedback When you submit it Feedback text, version, platform; optionally a diagnostic report and a session export Attachments unticked (the diagnostic report is ticked automatically for the "Bug" category) Untick before sending; session attachments are exported verbatim, without redaction

Two rows deserve a specific warning.

First, auxiliary model calls do not necessarily use the model you picked for the session. Decompilation, for example, sends sample byte ranges to the built-in Landi model; even if your session is wired to an intranet model, this call does not follow it by default. If your data must go only to a model you specify, turn on local mode.

Second, files the agent reads go into the context sent to the model. That is true of every coding agent, AVL Code included: once a .env or key file in the workspace is read, it goes to the model service with the conversation. Keep secrets out of the workspace; where that is not possible, point the model endpoint at a local or intranet service.

3.3 Local mode: narrowing egress to the model you choose

Local mode is per session, with its switch in the input area. When it is on:

  • Built-in network tools — web fetch, Bing search, GitHub search, the VirusTotal family, vulnerability database sync — are removed from the tools the model can use, and subagents inherit this;
  • Decompilation, code Q&A and memory extraction use the session's own model instead of the built-in Landi model.

What local mode does not cover is stated just as plainly: curl, wget and similar commands run in the terminal; network requests made by external MCP servers themselves; SBOM online-audit data sources; and the model API itself. Model-related data stays inside your own network only when local mode is combined with a model endpoint on your machine or intranet.

3.4 ShangMi (Chinese national standard) cryptography and access boundaries

  • Encrypted credentials. The sign-in token, SSH credentials, VirusTotal key and MCP tokens are encrypted on disk with SM4-GCM. The key is derived via HKDF-SM3 from this machine's ID and a salt generated randomly at each install; the machine ID is used only for local derivation and is never uploaded. Model-service config files (including API keys) are stored with permissions readable and writable only by the current user (0600).
  • Workspace boundary. The home directory itself, ~/.ssh, ~/.gnupg, ~/.aws, ~/.kube, /etc and their subtrees cannot be set as a workspace, checked after symlinks are resolved. Directories outside the workspace must be attached explicitly by you in the UI, read-only or read-write; the agent cannot attach them itself.
  • No execution in the samples area. Nothing may be executed in the samples/ directory under the workspace, even in unrestricted mode.
  • Traceable activity. Every tool call and approval is written to the local session record; VirusTotal lookups and uploads have a separate audit log at ~/.config/avlcode/vtai-audit/.

More detail is in User Manual chapter 26, "Security and privacy", and in How AVL Code Is Designed to Prevent a "GPT-5.6 Wipes a Founder's Entire Drive in One Command".

3.5 Keeping data on-premises: private deployment of the Landi model

For government and enterprise users whose data cannot leave their network, promises at the client level are not enough — no client can prove how a server handles the requests it receives, whatever the tool. How the built-in Landi model's servers handle data is governed by our privacy policy (in Chinese), and we answer for it. The more thorough answer is to keep the model in your own hands. Both the Landi model and AVL Code are developed in-house by Antiy's Landi team, and the Landi model supports private deployment: point the model endpoint at your own deployment, add local mode, turn off threat intelligence and switch to an internal update source, and conversations, code and samples are processed inside your network, with only the account-service connection going out.

4. How to verify

We do not ask you to take any of this on trust. Verifying it does not require reading source code:

  1. Compare against a packet capture. Use mitmproxy, Charles or your organisation's egress traffic audit, and check each row of the table in 3.2. Any outbound connection not in the table, or any row sending more than it says, can be reported to us as a defect.
  2. Read the public sessions. Every public case on our site comes with an unedited session replay: tool calls, files read and requests made can all be checked one by one. Why we do this is explained in Why AVL Code Publishes Its AI Sessions on Our Website.
  3. Confirm data stays in. Point the model endpoint at your intranet or local machine, turn on local mode, turn off threat intelligence and switch the update source to an internal address. Capture again: the only outbound connection left should be the account service (including announcement queries).

Closing

T3 Code and DeepSeek Harness are both open source, and their problems surfaced only after default uploads had been running for months; Grok Build turned to open source after the fact, and its upload modules are still in the code. Open source let these problems be seen; it did not prevent them. Public code does not mean sensible defaults; a permissive licence does not mean a privacy commitment; auditable does not mean audited.

As a security company, we believe an AI coding tool's privacy protection must do three things: state plainly every way data can leave the machine — to whom, what, on or off by default, and how to turn it off; keep its public statements consistent with what its code actually does; and let users verify all of this from the outside without reading the source. None of these depends on open or closed source. AVL Code chose closed source, which makes it all the more our responsibility to write this list down and hand it to you to check.

We're waiting for you at AVL Code, riding the cyber-donkey — every data path in plain sight, and the reins always in your hands.


Sources: China's Personal Information Protection Law (full text published by the Cyberspace Administration of China, in Chinese; article quotations above are our translation); the PRs, issues, commits and telemetry docs of the T3 Code repository pingdotgg/t3code; the design notes and SAFETY.md of the DeepSeek Harness repository deepseek-ai/deepseek-harness; for Grok Build, our verification report, the open-source announcement on x.ai and the source at xai-org/grok-build. Third-party projects are described as their repositories stood on November 26, 2026, and may change. The description of AVL Code's data handling reflects the current release.

AVL Code — the AVL security engine, with intelligence at your side. From the Antiy Landi team.

Related posts