Auditing the T3 Code Telemetry Controversy: What It Actually Sends and How to Shut It Off
Contents
Back when I wrote Running Ovis on an Always-On Mac: Multi-Device Agent Management in Practice, my setup was Ovis plus Herdr across my M1 Mac and an Oracle VPS. More recently, I moved all three of my machines—Oracle, M1, and WSL2 on Windows—over to T3 Code. Things had just started feeling smooth when the community blew up over a T3 Code data-leak controversy.
As soon as I saw the discussion, I had AI run a read-only audit across all three machines while checking recent commits in pingdotgg/t3code and inspecting the local v0.1.11 binary directly. I wanted to see what was actually leaving my machines before touching a single config file.
What It Actually Reads and Where It Goes
AI inspected Identify.ts and AnalyticsService.ts inside the local v0.1.11 binary, and the pipeline turned out to be straightforward.
When the T3 Code server starts, it reads two local authentication files belonging to other tools. One is ~/.codex/auth.json, where it extracts tokens.account_id and the user_id claim inside the tokens.id_token JWT; the other is ~/.claude.json, where it pulls userID and oauthAccount.accountUuid. If T3 Connect has been linked, that account ID is collected too.
Those identifiers are passed through an unsalted SHA-256 hash and attached as distinct_id and the ownerId field on install.owner_observed events. Together with OS, CPU architecture, WSL distro name, T3 Code version, model name, and usage events, they are POSTed in batches every 10 seconds to https://ingest.t3.codes/batch/, the project’s self-hosted PostHog ingest endpoint.
Two smaller details surfaced along the way. v0.1.11 reports custom model names verbatim and ignores the DO_NOT_TRACK environment variable; separately, the official T3 Connect remote feature routes through a cloud relay and is not end-to-end encrypted.
No source code, prompt text, or plaintext API keys turned up in the payload. Still, a local coding tool enabling telemetry by default with no UI toggle, reaching into Claude Code and Codex auth files, and quietly removing the earlier “No telemetry unless opt-in” wording from its homepage made the backlash completely predictable.
Checking My Three Machines: All Three Were Sending
All three of my machines were running the affected v0.1.11 build, with no telemetry opt-out variables, no policy.json, and no /etc/hosts block in place.
Checking whether your own machine has been affected is quick: search ~/.t3/userdata/logs/server.trace.ndjson for ingest.t3.codes. AI checked the trace logs on all three hosts, and every single one had confirmed POST requests returning HTTP 204.
| Machine | Runtime Environment | Confirmed Uploads | Local Identity Files Hit |
|---|---|---|---|
| Oracle VPS | Ubuntu ARM64, systemd | 6 | Full hit (~/.claude.json and OAuth ~/.codex/auth.json both present) |
| M1 Mac | macOS 15, LaunchAgent | 29 | Full hit, plus leftover ~/.t3/userdata/clerk/clerk-tokens.json |
| WSL2 | Ubuntu x64, systemd | 35 | Anonymous ID only (no ~/.claude.json; ~/.codex/auth.json holds OPENAI_API_KEY only) |
Because my Oracle VPS and M1 run my main Claude Code and Codex logins, both triggered full account-fingerprint collection. WSL2 had no .claude.json and only a plain API key in Codex, so it stayed on an anonymous ID.
While checking the source, AI flagged an important v0.1.11 quirk. On startup, AnalyticsService still calls getTelemetryIdentity to read those local files before record() and sendBatch() check T3CODE_TELEMETRY_ENABLED and policy.json.
In plain terms, configuration alone cuts outbound network requests to zero on v0.1.11, but stopping the binary from touching ~/.claude.json and ~/.codex/auth.json at all still requires upgrading.
Why I Blocked It on v0.1.11 Instead of Chasing Nightly
Honestly, my first thought was just to upgrade and be done with it.
When I asked AI to check release status, v0.1.12 stable was not out yet as of November 25, 2026—the latest pre-release was v0.1.12-nightly.20261125.5222. The maintainers had already merged a batch of fixes over the past two days: PR #42299 removed reading and sending Codex and Claude account IDs, followed by changes that sanitize custom model names to custom:<provider>, narrow error payloads, and add DO_NOT_TRACK support.
I did not want to put three always-on machines onto nightly builds just for this. Since configuration can completely stop outbound telemetry on v0.1.11, I decided to lock down the stable build first and upgrade all three together once v0.1.12 stable lands.
Shutting Off Telemetry and Two Easy Traps
Most community posts mention setting T3CODE_TELEMETRY_ENABLED=false. On background, multi-machine setups like mine, copying a single export line often leaves telemetry running, so I had AI lock down all three layers together: service environment variables, a machine-level policy.json, and network-level blocking.
The first trap is only editing ~/.bashrc or ~/.zshrc. Daemonized systemd services and macOS LaunchAgents never source interactive shell profiles, so the variables have to go directly into the service definitions—keeping them in shell RC files only covers ad-hoc CLI runs.
On Linux, I added three lines to /etc/systemd/system/t3code.service and ran systemctl daemon-reload:
Environment=T3CODE_TELEMETRY_ENABLED=false
Environment=T3CODE_OTEL_SDK_DISABLED=true
Environment=DO_NOT_TRACK=1
On macOS, the same three key-value pairs go into the EnvironmentVariables dictionary of the LaunchAgent plist.
Beyond environment variables, the cleaner safeguard is a machine-level policy.json. v0.1.11 natively supports t3 policy check and t3 policy show, so even if you launch the CLI manually or miss an environment variable later, the server still enforces the policy.
Put it at /etc/t3code/policy.json on Linux or /Library/Application Support/T3Code/policy.json on macOS with the same JSON:
{
"schemaVersion": 1,
"organization": "Local",
"limits": {
"telemetry": false,
"connect": false
}
}
All three of my machines sit behind my own reverse-proxied domains, so I do not use the T3 Connect cloud relay—I set connect to false as well and moved the leftover ~/.t3/userdata/clerk folder on my M1 aside as a backup. If you still rely on T3 Connect for mobile or web relay access, leave out "connect": false.
For network-level fallback, the standard move is blackholing ingest.t3.codes in /etc/hosts:
0.0.0.0 ingest.t3.codes
:: ingest.t3.codes
That brings up the second trap. My WSL2 t3code.service uses HTTPS_PROXY to route through a proxy running on the Windows host, so DNS resolution happens on the proxy side and ignores WSL2’s /etc/hosts completely. To actually block proxied traffic, you have to add DOMAIN,ingest.t3.codes,REJECT in your proxy rules—and the same holds true on macOS if a system proxy is active.
Restarting and Verifying Zero Outbound Traffic
Oracle and the M1 restarted right away. On WSL2, the very session I was using to run this audit lived inside WSL2’s t3code.service, so AI staged the config changes first and waited for my go-ahead to interrupt the session with sudo systemctl restart t3code.service.
After restarting all three servers, I verified each one with t3 policy show. On the M1, a working policy looks like this:
Managed by Local (/Library/Application Support/T3Code/policy.json, fingerprint 7b7bbfea4010).
No managed settings.
Limits:
{
"connect": false,
"telemetry": false
}
The running server (pid <pid>, started <timestamp>) loaded this policy.
All three machines reported the same 7b7bbfea4010 policy fingerprint, with the running servers confirming the policy was loaded. After waiting past the 10-second flush interval and checking the local trace logs again, outbound requests to ingest.t3.codes dropped to 0 across all three hosts.
For now, all three machines stay on v0.1.11 stable. Once v0.1.12 stable ships, I will upgrade them together to drop the local credential-file reads from the binary altogether, while the policy.json files and service environment variables stay in place.
FAQ
Does the T3 Code telemetry controversy involve leaking source code, prompts, or plaintext API keys?
Identify.ts and AnalyticsService.ts inside my local v0.1.11 binary. There is no evidence of source code, prompt text, or plaintext credentials being uploaded. The issue is default-on telemetry that reads account identifiers from local ~/.claude.json and ~/.codex/auth.json files, hashes them with unsalted SHA-256, and batches them with OS, version, model name, and usage events to https://ingest.t3.codes/batch/ every 10 seconds.How can I check whether my own T3 Code instance has been sending telemetry?
~/.t3/userdata/logs/server.trace.ndjson for ingest.t3.codes. None of my three v0.1.11 machines had blocking configured, and all three logs showed confirmed HTTP 204 batch uploads: 6 on my Oracle VPS, 29 on my M1 Mac, and 35 on WSL2.Why is T3 Code still sending telemetry after I added T3CODE_TELEMETRY_ENABLED=false to .bashrc or .zshrc?
export T3CODE_TELEMETRY_ENABLED=false to ~/.bashrc or ~/.zshrc has no effect on a daemonized server—you have to put the environment variables directly into the systemd unit or LaunchAgent plist and restart the service.How do I use policy.json to enforce telemetry opt-out and disable T3 Connect?
/etc/t3code/policy.json on Linux or /Library/Application Support/T3Code/policy.json on macOS with "telemetry": false under limits (and optionally "connect": false if you do not use the T3 Connect cloud relay). After restarting, run t3 policy show and confirm the running server reports that it loaded the policy.If I block ingest.t3.codes in /etc/hosts, does that still work behind an HTTP proxy?
t3code.service routes traffic through a host proxy via HTTPS_PROXY, which means DNS resolution happens on the proxy side and bypasses WSL2’s /etc/hosts. In that setup you also need a proxy rule such as DOMAIN,ingest.t3.codes,REJECT—the same applies on macOS when a system proxy is enabled.After disabling telemetry on v0.1.11, does T3 Code still read ~/.claude.json and ~/.codex/auth.json?
v0.1.11, AnalyticsService calls getTelemetryIdentity during startup initialization before record() and sendBatch() check the environment variables and policy.json to block transmission. Removing the file reads completely requires upgrading to a build containing PR #42299—available in v0.1.12-nightly builds as of November 25, 2026, ahead of the v0.1.12 stable release.
Comments
Spot a flaw, hit the same snag, or just want to say hi — leave a note below.
Loading comments…