youtube.nixfred.com nixfred.com

I Checked What Claude & ChatGPT. Are Really Sending Over the Network

Kai argues that turning off telemetry covers only about a quarter of what AI coding agents send, and that the better question is who wrote each request: the vendor, the conversation, the model, or code you did not write. He walks through a 29.2 MB Claude Code capture, the Claude Code email-in-requests leak, the counterfeit Cursor extension that planted an SSH key named svc-telemetry, and 1,379 secrets pushed to GitHub through settings.local.json, then lists the switches and sandbox rules that actually help.

Published Nov 19, 2026 26:08 video 30 min read Added Nov 24, 2026 Open on YouTube →

At a glance

Kai opens with a Slack message from a colleague: Claude Code might be sending your email address to random websites while you code. Checking his own network logs changed how he thinks about AI coding assistants. His argument is that the privacy switch everyone flips, telemetry, covers only about a quarter of the bytes leaving your machine and none of your code. The usual question, "which agent phones home the least?", is the wrong one. The useful question is "who wrote this request?", because every outbound request is authored by one of four things: the vendor's code, the conversation itself, the model acting on its own, or code you did not write, such as extensions. Each author is harder to control than the last, and the video walks through all four with real numbers, real incidents (the Claude Code email leak, the Cursor marketplace backdoor named svc-telemetry, and 1,379 secrets pushed to GitHub through settings.local.json), the exact switches that help, and who should and should not worry.

What actually leaves your machine

0:00 Kai starts with a story. A few months back a colleague messaged him: did you know Claude Code might be sending your email address to external websites while you are just coding? He laughed it off at first, assuming it was developer Twitter paranoia from someone misreading a log. These companies have privacy teams, after all. Then he went and checked his own network logs, and what he found made him sit back in his chair and go very quiet for a good five minutes.

He is not a casual user. He uses AI coding assistants almost every day, Claude Code, Cursor and Copilot among them, and says he basically lives inside these tools. He has handed them API keys, .env files, database URLs and entire code bases. He reassured himself because he had read the docs, seen the privacy settings, knew there was a telemetry toggle, and had turned it off.

That is the point of the whole video. In his words, turning off telemetry is like putting a lock on your front door while the back window is wide open, three floors up, with a rope ladder hanging out of it. The telemetry switch is the thing everyone checks and every privacy guide tells you to flip, and it covers maybe a quarter of what actually leaves your machine.

So the promise of the video is three things: what these tools are sending, who is writing each request, and why the question everyone keeps asking, which agent phones home the least, is the wrong question entirely.

The method behind the numbers

Kai's evidence is a mix of his own network checks and published captures by other people who put these tools behind a decrypting proxy. A decrypting proxy is a middleman that terminates and reads your HTTPS traffic before it goes on to the real server, so you can see the actual payloads, not just the hostnames. The setup behind every study in this video looks like this:

Coding agent CLI or editor HTTPS Decrypting proxy reads, logs, forwards Vendor telemetry Model API Any other host every request and size is recorded on the way through
Figure. The capture rig used by Chaser Systems and the other studies Kai cites: the agent is pointed at a proxy that can read the TLS traffic, so each request can be counted, sized and attributed.

The study everyone still quotes

1:31 Kai gives credit where it is due. The best research on this topic is from a security company called Chaser Systems, and its only problem is shelf life. They did something most of us never bother to do: they set up a decrypting proxy and ran seven of the biggest AI coding tools through it. The seven were Claude Code, Codex CLI, Gemini CLI, Cursor, GitHub Copilot, Zed and JetBrains Junie.

Every agent got the same tasks on the same small code base:

Each agent ran three times: once with telemetry off, once with it on, and once with it on but the telemetry servers blocked.

These are the results that blew up on Hacker News and spawned a hundred "how to disable Claude Code telemetry" blog posts:

The conclusion was solid: blocking the telemetry servers did not break anything in any of the tools, so everyone can go ahead and block them. "It's a really great study."

A year of changes it missed

3:13 The catch is when it ran: between July and September of 2025. The version of Claude Code they tested was 1.0.85. The version current as of the week Kai recorded is 2.1.328. In roughly twelve months almost everything in that study has moved.

ItemChaser study (mid 2025)Kai's snapshot (Nov 2026)
Claude Code version1.0.852.1.328
Claude Code telemetryStatsigTwo Datadog addresses plus an event log on Anthropic's own API
Claude Code error reportsSentry, barely seen (only after a sign-in bug)On automatically for Pro, Max and Ultra since 2.1.98
Claude Code hosts4 tracked18 on Anthropic's current list
Codex"Barely made a sound"Built-in Statsig metrics exporter, with an analytics enabled setting to turn it off
Cursor with your own API keyNo telemetry toggle, 24 hour opt-out windowPrivacy page admits your requests still go through Cursor's backend, which builds the final prompt
Figure. How much of the best published capture had already gone stale. Every row is a fact Kai states in the video.

The details he lists:

The consequence: when someone shares that study today as proof that Claude Code is the worst or Codex is the safest, they are comparing snapshots from a year ago. The study, as good as it was, cannot tell us what is leaving our machines right now.

Sort requests by who wrote them

5:03 This brings Kai to the insight that reframed everything for him. Most people read network traffic by destination: which servers, how often, how much data. You end up with a bar chart of host names ranked by volume, where the most traffic means the worst privacy. But the destination is not the useful part. The thing that matters is the author. Every request your coding agent sends was written by one of four things.

  1. The vendor's own code. Telemetry, update checks and feature flags. This is the stuff that has an off switch. In fact it is the only stuff that has an off switch, and the only stuff anyone ever checks.
  2. The conversation itself. Everything the agent has read and said, packed up and fired off to the model every single time it needs to respond: your files, your terminal output, your command results, all of it.
  3. The model. Deciding on its own in the middle of a task to fetch a web page, run curl, or call an API. It writes those requests to destinations that were not on any list, because the list gets written while the task is running.
  4. Code you did not write. Extensions and plugins running with the agent's permissions and, as far as your machine is concerned, indistinguishable from the agent itself.

Each author is harder to control than the one before it. The first has a toggle, the second needs discipline, the third needs a network-level firewall, and the fourth needs trust. The one everyone obsesses over, telemetry, is at once the most documented, the most switchable and the least dangerous of the four.

Who wrote the request What controls it 1. The vendor's code telemetry, update checks, feature flags A toggle 2. The conversation files, terminal output, command results Discipline 3. The model curl, web fetch, scripts, MCP calls A network firewall 4. Code you did not write extensions and plugins Trust harder to control, top to bottom
Figure. Kai's four-author frame. Control gets harder at every step down, and the author Kai says everyone obsesses over (telemetry) is the easiest to control and the least dangerous.

Kai promises to take each in turn, starting with telemetry, "because I think it gets unfairly villainized sometimes and we should actually be fair to it."

Author 1: the vendor's telemetry

6:45 Anthropic documents its telemetry pretty clearly and splits it into two categories.

The Chaser study backed this up. The event data they decoded was mostly IDs: your account, your org, your plan, the terminal, the model, and which tool ran. "It's genuinely boring stuff."

The three variables, and what they cost

Three environment variables control it: one to disable telemetry (metrics), one to disable error reporting, and Kai's personal favorite, CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1, which turns off all of it at once. He enjoys the name, "because it really commits to making you feel powerful."

There is a cost. With telemetry off, feature flags stop loading. And since version 2.1.319, if you are running auto mode with flags off, Claude will either ask about or outright deny certain actions because it cannot check the server for guidance. So you lose some convenience.

The one that caught him off guard: the WebFetch preflight

Before Claude fetches any URL, it sends just the hostname to Anthropic to check it against a block list. This runs even if you are on Bedrock or Vertex, and the disable-nonessential-traffic switch does not stop it, because it has its own separate setting, skipWebFetchPreflight. Kai gets why: it is a security feature. But it is worth knowing it exists, because it is not obvious.

Inside one 29.2 MB session

8:40 To put telemetry in perspective Kai turns to actual numbers. An engineer in Taiwan got a traffic alert for over 800 megabytes going to Anthropic in a single day. They put Claude Code behind a proxy and recorded one code review session, and wrote it up in an iThome article. In that one session:

Of the 29.2 MB going up, the telemetry was 7.8 MB, more than a quarter of the total. That is already more than the entire telemetry load of Chaser's whole test run a year earlier (2.4 MB). So the tool got chattier.

But the bigger number is the rest: the other 21.3 MB were 130 calls to the actual model. And more than half of everything uploaded, 15.7 MB, was just the beginning of the previous request being sent again.

0 5 10 15 20 25 MB uploaded 29.2 7.8 21.3 15.7 Total upload Telemetry 130 model calls Resent history (part of the 21.3)
Figure. One code review session, 235 requests, from the Taiwanese engineer's capture. Telemetry is more than a quarter of the bytes, but the model calls dominate, and most of those are the conversation so far being sent again.

Why the repetition? The model's API has no memory, so every single call carries the entire conversation from the top. The prompt cache saves Anthropic compute costs, but it does absolutely nothing to reduce what you upload.

So yes: turn off telemetry and set that environment variable, because it removes about a quarter of your bytes. But it removes precisely zero of your code.

Author 2: the conversation

10:05 This is the author people understand intellectually but underestimate emotionally. Every file the agent opens goes into the conversation. So does every command it runs and every output it produces. Then every request after that carries all of it, the whole history growing with every step.

The .env confession

Kai is honest about his own habits. He had .env files sitting in project folders he was working in. Not because he forgot: he knew they were there, and told himself it was fine because Claude would not read them unless he told it to.

Then he found a test where someone tried exactly this. They put a fake secrets file in a folder and gave the agent a prompt that told it to read the file. (The test is from RepoChad, the cat .env test.) One of the agents being tested had a guard on its file reading tool that blocked .env files. So in five out of six runs, the model just typed cat .env in the terminal instead. The guard was on the file tool and the terminal had no guard at all.

That is not a bug, Kai says, because reading files and running terminal commands is literally the job. But it means whatever is in your project folder is fair game, and once it is in the conversation, it rides along in every request for the rest of the session.

5 years vs 30 days

11:12 Where it goes after that depends on your plan.

Five years versus 30 days is 60 times longer, and it comes down to a single toggle on a settings page that most people have never visited.

Account typeConversation data kept
Free, Pro, Max, Ultra, training setting ON (default)5 years
Free, Pro, Max, Ultra, training setting OFF30 days
Team and Enterprise30 days
Qualified Enterprise with a customer agreementZero retention
Figure. The retention ladder as Kai states it, from Anthropic's data usage page. One toggle moves a consumer account across a 60x gap.

Two more copies people forget

Author 3: the model's own requests

12:18 "Now we get to the part that actually broke my brain a little bit." The first two authors are at least predictable and we can reason about them. The third is different: the model decides what to do while it is doing it, and no list of approved hosts can anticipate that in advance.

What WebFetch actually does

Kai walks through the mechanics. The request leaves your machine from your IP address, with a user agent that literally says Claude-User. Anthropic gets the hostname first for the blocklist check, and then the page comes back to the model. But the actual TCP connection is yours. So the website on the other end sees your IP, and if it logs connections, your IP is in that log.

A developer named Patrick McCanna pointed out something Kai thought was really important: WebFetch can reach anything you can reach. That includes your router's admin interface, services running on localhost, and cloud metadata endpoints, "things that have no business being crawled by an AI agent." (His WebFetch capture write-up is here.) By default it asks before fetching, but asking means it shows you a prompt. If you are running a sub-agent in the background and you have "don't ask again" habits, that prompt might fly right by.

Everything else the model can do

But all of that is "almost quaint" compared to what else the model can do. A curl command, a Python script that calls some external API, or an MCP tool that sends a calendar invite or posts a Slack message will each go wherever the model decides and carry whatever the model puts in it. There is no environment variable in the world that can stop it, because there is no destination to name in advance.

Anthropic's list has 18 hosts, while the model's list is the entire internet.

And in November, the model put something in those requests that nobody had asked it to include. That turned this from an interesting edge case into a genuine news story. It was your email address.

Your email in web requests

14:04 Kai calls the way this happened "a really instructive story about how AI systems can go sideways even when everyone involved has good intentions."

  • JulyA user files a GitHub issue pointing out that Claude Code's context, the instructions the model runs on, includes the signed-in account's email address. Anthropic has a reason: without your real email the model invents names for author tags, commit messages and code comments.
  • AugustAnthropic adds an instruction to the model's context: use the email only to identify the user and do not send it to unrelated services.
  • September to NovemberA tracking site logs seven separate bug reports of the email turning up in outbound requests.
  • A few days before the story breaksAnthropic ships its first fix: a content filter that refuses to run a command when it finds your email beside an identity-declaring word.
  • After Hacker NewsA Claude Code engineer says publicly the email will be removed from the model's context entirely in the next release, and apologizes.
  • Two weeks later, version 2.1.327After seven more releases, a user reports the email is still in the context.
Figure. The email-leak saga in the order Kai tells it.

Why a helpful model did it

Some websites have perfectly legitimate reasons to ask automated clients for contact information. Wikipedia asks scripted visitors to identify themselves with an email as one of the accepted ways. The SEC actually blocks automated downloads that do not include contact information, a policy meant to prevent anonymous scraping.

So when Claude was doing research and needed to fetch data from Wikipedia or download filings from the SEC, it did what any helpful assistant would do. It filled in the contact field with the only contact it knew about, which was yours.

The bug reports

Between September and November, a tracking site recorded seven separate bug reports about this:

Most came from sub-agents running in the background, where nobody was watching the commands and nobody saw the curl calls going out. The person who filed the final bug report said the leak brought them dozens of scam emails a day. Kai notes that part has not been independently verified, but the GitHub issue got over 1,100 reactions, "which is a pretty clear signal that people were upset." The story was also written up by Fathom.

The first fix: a courtesy, not a boundary

Anthropic's first fix landed a few days before the story blew up publicly. It is a built-in content filter, a word-matching system that refuses to run a shell command, file write, web fetch or MCP call if it finds your email address next to an identity-declaring word, like a user agent header, curl's agent flag, or a From header. The readme for the fix is "refreshingly honest": it calls itself a courtesy against a well-meaning model, not a boundary, since it is a word match with no parser by design.

What gets through:

The apology, and the line worth writing down

After the story hit Hacker News, one of the Claude Code engineers posted publicly that they were removing the email from the model's context entirely in the next release. She apologized and said the team should have caught it earlier. Kai finds that fair and appreciates the transparency.

But the post went up two weeks before he recorded the video. Since then there have been seven releases, and as of version 2.1.327, just two days earlier, a user reported the email is still in the context. One commenter on the original GitHub issue put it in a way Kai keeps thinking about:

Privacy shouldn't be a plugin, it should be an invariant.

Author 4: the Cursor backdoor

17:33 The fourth author is the scariest to explain, Kai says, because there is no technical mitigation that fully covers it. The only thing that does is trust, "which, as we're about to see, can be counterfeited."

On October 29th, Cursor's extension marketplace served two versions of the Claude Code extension, 2.1.312 and 2.1.313, for about 11 hours. They were malicious versions that Anthropic did not build. (See Cursor's security notice.) The moment your editor loaded them, they went to work collecting:

Then they tried to add an SSH key to your machine and open a persistent tunnel out, retrying roughly every 60 seconds. On most machines that last step failed, because enabling SSH typically requires admin rights, and the attacker's server is now offline. But Cursor says uninstalling might not be enough to clean this up completely.

The name

The detail Kai considers the most artful piece of naming in the whole story, "in a grudging, horrified way": the SSH key the malware planted was labeled svc-telemetry.

Think about what that means. Everyone in this conversation about AI coding tools is hunting for telemetry to disable. It is the first thing privacy guides tell us to look for, and the attacker named their backdoor after it. If you look at a list of authorized keys on a server and see one called svc-telemetry, you think it is probably a monitoring agent someone set up. Why would you touch it?

And no amount of CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC helps here, because that extension's traffic is not Claude Code's traffic. As far as your machine, your firewall and your auth logs are concerned, it is yours.

Editor loads extension Collects host, user, env names, git email, IP Adds SSH key svc-telemetry Tunnel out, retry about every 60 s on most machines this step failed: SSH needs admin rights versions 2.1.312 and 2.1.313, live on Cursor's marketplace for about 11 hours
Figure. What the two counterfeit Claude Code extension versions did once loaded, per Kai's account.

git push: 1,379 leaked secrets

19:36 After all of that, you might expect the biggest privacy breach to involve sophisticated network interception, a clever exploit, or a zero day in the agent's runtime. It does not. It was git push.

How the secret gets into the file

When Claude Code asks to run a command and you say yes and "don't ask again", it saves that exact command as a permission rule in a file called settings.local.json inside your project directory. That is so it does not have to ask you again, a convenience feature. Now, if the command you approved contained a database password, an API key, or a connection string with credentials, that password is now in settings.local.json. If you are not explicitly ignoring that file in your .gitignore, it goes into your repository. If the repository is public, it goes to GitHub, where it stays forever, even if you delete it later, because of git history.

The numbers

A security company called Apiiro scanned public GitHub:

What Apiiro foundCount
Public copies of settings.local.json104,185
Files containing a real secret (about 1 in 100)1,122
Distinct secrets in the wild1,379
Of those, database passwords379
Of those, SSH logins43
Of those, AWS keys23
Files flagged by the best scanner643
Files flagged by neither of the two most popular scanners215
Repositories where the commit was co-authored by Claude539 (of those Apiiro traced)
Figure. The Apiiro results as Kai reads them. Standard secret scanners missed many because a password buried inside a command string looks like an ordinary word to a naive scanner.

Anthropic's engineering lead commented on Hacker News that the team is looking at building in basic secret scanning. That is good, Kai says, "but the credential is already out there." Everything the model read, it uploaded. Everything you approved, you committed and then pushed to the world.

What actually helps

21:34 Having "successfully made you feel vaguely anxious about every line of code you've ever written near one of these tools", Kai sorts the fixes by author, where they become much clearer.

Author 1, the telemetry: flip the switches

Author 2, the conversation: discipline

Author 3, the model's requests: a network-level answer

Author 4, extensions and plugins: trust, narrowed

The git push problem

ToolThe switchWhere
Claude Code, all non-essential trafficCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1environment variable
Claude Code, WebFetch hostname checkskipWebFetchPreflight: truesettings
Codex[analytics] enabled = false~/.codex/config.toml
Gemini CLI"privacy": { "usageStatisticsEnabled": false }settings.json
Copilot and Cursorno reliable in-app switch: block telemetry hostsyour firewall
Claude training and retentiontraining toggle off = 30 days, on = 5 yearsaccount privacy settings
Git.claude/settings.local.json in .gitignore.gitignore
SSHlook for a key named svc-telemetry~/.ssh/authorized_keys
Figure. The switches from Kai's video description, with the author each one answers to.

Who should worry

24:11 Kai does not want to end by implying everyone should uninstall everything and go back to Notepad.

The person the video is actually for has a real .env file in the project folder, a work database connection string in their shell history, auto mode turned on, and sub-agents doing background research while they are getting coffee. "That isn't a niche edge case, because it describes a lot of people using these tools professionally every day."

The frame to keep

25:10 Stop ranking agents by how much telemetry they send. It is a quarter of the bytes, it is documented better than anything else, and it is the only thing with a real switch. It is also the only thing that gets analyzed, blogged about and turned into a Hacker News post whenever someone discovers it.

The more useful question is: who wrote this request?

Every one of these tools will keep changing what it sends, so the network captures people quote today will be outdated in six months, the same way the best study from 2025 missed a year's worth of changes. That is why the specific numbers matter less than the framework: check who wrote the request before checking where it went, since the off switch was always the easy part.

Kai closes by asking which agent viewers want him to put under the proxy next. (For his hands-on local inference work, see his Strata page.)

Key takeaways

Chapters

Notable quotes

Turning off telemetry is like putting a lock on your front door while the back window is wide open, three floors up with a rope ladder hanging out of it.

Kai, around 1:00

Anthropic's list has 18 hosts, while the model's list is the entire internet.

Kai, 13:49

Privacy shouldn't be a plugin, it should be an invariant.

A commenter on the original GitHub issue, quoted by Kai, 17:21

The attacker named their backdoor after it.

Kai on svc-telemetry, 18:53

The guard was on the file tool and the terminal had no guard at all.

Kai, 10:45

Check who wrote the request before checking where it went, since the off switch was always the easy part.

Kai, closing

Resources mentioned

Where it stands

The framework is the durable part. Several specifics are single-source or self-reported and are worth treating that way: the Taiwanese 29.2 MB session is one engineer's capture of one code review, the "dozens of scam emails a day" claim was explicitly not independently verified, and the Apiiro counts depend on that firm's scanning method. Kai's own point is that every figure here will age, as the 2025 study did. The recommendations (sandbox with an outbound allow list, keep secrets out of the folder, gitignore settings.local.json, check authorized_keys) hold regardless of which numbers survive.

Full transcript
======================================== Okay, so a few months ago, I got a Slack message from a colleague that stopped me cold. It said, hey, did you know Claude Code might be sending your email address to external websites, like random websites while you're just coding? I genuinely laughed it off at first because I thought it was one of those developer Twitter paranoia things where someone misread a log. I mean, these companies have privacy teams, right? And then I went and checked my own network logs. I want to be honest with you here because what I found made me sit back in my chair and go very quiet for a good 5 minutes. Now, I use AI coding assistance almost every day. Claude, Code, Cursor, and Copilot, and I basically live inside these tools. I've handed them API keys, .env files, database URLs, and entire code bases. And I told myself it was fine because I'd read the docs, I'd seen the privacy settings, I knew there was a telemetry toggle, and I turned it off. That's what this whole video is about because turning off telemetry is like putting a lock on your front door while the back window is wide open, three floors up with a rope ladder hanging out of it. The telemetry switch is the thing everyone checks and the thing every privacy guy tells you to flip, and it covers maybe a quarter of what's actually leaving your machine. So today, I want to walk you through what I actually found, which is what these tools are sending, who's writing each request, and why the question we all keep asking, which agent phones home the least, is the wrong question entirely. Let's start by giving credit where it's due because there's actually solid research on this topic, and its only problem is its shelf life. A security company called Chaser Systems did something most of us never bother to do ourselves. They set up a decrypting proxy, basically a middleman that reads your HTTPS traffic before it goes out and ran seven of the biggest AI coding tools through it. Claude Code, Codex CLI, Gemini CLI, Cursor, GitHub Copilot, Zed, and JetBrains Juni. They gave every agent same tasks on the same small code base, which were to learn the code, build a leaderboard on a local database, push a commit, upload a test report, and very intentionally read the AWS credentials file. And each agent ran three times, once with telemetry off, once with it on, and once with it on, but the telemetry servers blocked. These are the results that blew up on Hacker News and spawned a hundred how to disable Claude code telemetry blog posts. Claude codes sent close to a thousand telemetry requests in a single run, which came to around 2.4 megabytes. And Copilot kept talking to telemetry servers even after you turned the telemetry setting off, which is a fun kind of audacity. And Cursor had no telemetry toggle at all, and new accounts had exactly 24 hours to opt out before Cursor started training on their data. And Gemini CLI, when you blocked its telemetry servers, just kept retrying until its attempted telemetry was about 150 times larger than the traffic it had originally sent. Codex barely made a sound. And the conclusion from all of this was solid, because blocking the telemetry servers didn't break anything in any of these tools, so we can all go ahead and block them. It's a really great study. But the problem is when it was run, which was between July and September of 2025, the version of Claude code they tested was 1 0.85. And the version that's current as of this week is 2.1 328. And I want to let that sink in for a second, because in roughly 12 months, almost everything in that study has moved. Back then, Claude code's telemetry went to a service called Statsig, and its errors went to Sentry, whereas Anthropic's current list sends metrics and errors to two DataDog addresses plus an event log on Anthropic's own API. And the error reports, which the study barely even saw because they only triggered after a sign-in bug, now switch on automatically for Pro, Max, and Ultra subscribers as of version 2.1 98. The other tools too. Remember Codex, the quiet one? It now ships with a built-in StatSig metrics exporter and a setting called analytics enabled to switch it off, although you have to know it exists first. And Cursor's privacy page now openly admits that even if you bring your own API key, your requests still go through Cursor's backend because that's where it builds the final prompt for the model. So you're paying for your own API key and your code is still routing through their servers, which I personally find a bit cheeky. And Claude Code went from the four hosts that Chaser Study tracked to 18 hosts on Anthropic's current list. Those cover plugin downloads, MCP connectors, the NPM registry, GitHub, and a bridge for Chrome extension. So it's a small city of endpoints now. So when someone shares that study today as proof that Claude Code is the worst or Codex is the safest, they're comparing snapshots from a year ago. And the study, as good as it was, can't tell us what's leaving our machines right now. That brings me to the insight that actually reframed everything for me. Most people read network traffic by destination, meaning which servers, how often, and how much data. So we end up with a bar chart of host names ranked by volume, where the most traffic means the worst privacy. But the destination isn't the useful part, and the thing that actually matters is the author. Every request your coding agent sends was written by one of four things. And once I started looking at it this way, everything clicked. The first author is the vendor's own code, meaning the telemetry, the update checks, and the feature flags. And this is the stuff that has an off switch. In fact, it's the only stuff that has an off switch, and it's also the only stuff anyone ever checks. The second author is the conversation itself, meaning everything the agent has read and said, packed up and fired off to the model every single time it needs to respond. So that's your files, your terminal output, and your command results, all of it. The third author is the model, deciding on its own in the middle of a task to fetch a web page, run curl, or call an API, and it writes those requests to destinations that weren't on any list, because the list gets written while the task is running. The fourth author is code you didn't write, like extensions and plugins running with the agent's permissions and, as far as your machine is concerned, indistinguishable from the agent itself. Now, what I want us to notice is that each author is harder to control than the one before it. The first has a toggle, the second needs discipline, the third needs a network-level firewall, and the fourth needs trust. And the one everyone obsesses over, the telemetry, is at the same time the most documented, the most switchable, and the least dangerous of the four. So let's walk through each one, starting with the telemetry, because I think it gets unfairly villainized sometimes and we should actually be fair to it. Entropic documents their telemetry pretty clearly, and they split it into two categories. Metrics cover latency, reliability, and usage, and the docs explicitly say these never include your code, your prompts, or your file paths. And error reports are stack traces from Cloud Code's own internals, and secrets, paths, and email addresses get redacted before anything leaves your machine. And the Chaser study backed this up, because when we look at the event data they decoded, it was mostly IDs, which were your account, your org, your plan, the terminal, the model, and which tool ran. So it's genuinely boring stuff. Now, three environment variables control it, with disable telemetry for metrics and disable error reporting for errors. And my personal favorite is Cloud Code disable non-essential traffic, which turns off all of it at once. And that's quite the variable name, because it really commits to making you feel powerful. But there's a cost, because with telemetry off, feature flags stop loading. And since version 2.1319, if you're running auto mode with flags off, Cloud will either ask about or just outright deny certain actions because it can't check the server for guidance, so we lose some convenience there. But the one that caught me off guard is the web fetch pre-flight check, where before Claude fetches any URL, it sends just the hostname to Anthropic to check it against the block list. This runs even if you're on bedrock or Vertex and the disable non-essential traffic switch doesn't stop it because it has its own separate setting called skip web fetch pre-flight. And I get it, it's a security feature, but it's worth knowing it exists because it isn't obvious. Now, let's put the telemetry in perspective with some actual numbers. An engineer in Taiwan got a traffic alert for over 800 megabytes going to Anthropic in a single day. So they put Claude code behind the proxy and recorded one code review session. And in that one session, they found 235 requests in total with 29.2 megabytes going out and 771 kilobytes coming back. That's a 38 to 1 ratio of upload to download, so your machine is essentially doing the heavy lifting here. Now, of the 29.2 megabytes going up, the telemetry was 7.8 megabytes, which is more than a quarter of the total. And that's already more than the entire telemetry load from Chaser's whole test run a year earlier, which was 2.4 megabytes. So the tool got chattier. But the bigger number is that the other 21.3 megabytes were 130 calls to the actual model. And more than half of everything uploaded, 15.7 megabytes, was just the beginning of the previous request being sent again. That happens because the model's API has no memory, so every single call carries the entire conversation from the top. The prompt cache saves Anthropic compute costs, but it does absolutely nothing to reduce what you upload. So yes, turn off telemetry and set that environment variable because it removes about a quarter of your bytes, but it removes precisely zero of your code. And that brings us to the second author. This is the one people understand intellectually, but underestimate emotionally. Every file the agent opens goes into the conversation and so does every command it runs and every output it produces and then every request after that carries all of it, the whole history growing with every step. Now, I have to be honest about my own habits here because I had .env files sitting in project folders I was working in. That wasn't because I forgot since I knew they were there and I told myself it was fine because Claude wouldn't read them unless I told it to. And then I found a test where someone tried exactly this by putting a fake secrets file in a folder and giving the agent a prompt that told it to read the file. One of the agents being tested had a guard on its file reading tool that blocked .env files. So in five out of six runs, the model just typed cat .env in the terminal instead. The guard was on the file tool and the terminal had no guard at all. That isn't a bug because reading files and running terminal commands is literally the job. But it does mean whatever is in your project folder is fair game and once it's in the conversation, it rides along in every request for the rest of the session. And where it goes after that depends on your plan. On free, pro, max, and ultra accounts, if you have the training setting turned on, which is the default, Anthropic keeps your conversation data for five years. But if you turn that setting off, it drops to 30 days. And team and enterprise accounts get 30 days. Zero retention is only available for specific qualified enterprise accounts with customer agreements. Five years versus 30 days is 60 times longer and it all comes down to a single toggle on a settings page that most people have never visited. But there are also two more copies that are easy to forget about entirely. The first is that if you ever use /feedback or /bug to report something from inside Claude code, it sends the entire transcript, your code and all, and that gets kept for five years regardless of your other settings. And the second is on your own disk where every Claude code session is saved in plain text in the Claude projects folder for 30 days. So if you want to know what Claude has seen in your projects, go and check that folder because it's probably illuminating. Okay, now we get to the part that actually broke my brain a little bit. The first two authors are at least predictable and we can reason about them, but the third is different because the model decides what to do while it's doing it and no list of approved hosts can anticipate that in advance. Now, when we look at what Web Fetch actually does, the request leaves your machine from your IP address with a user agent that literally says Claude-user. Anthropic gets the hostname first for that blocklist check and then the page comes back to the model, but the actual TCP connection is yours. So the website on the other end sees your IP and if it logs connections, your IP is in that log. A developer named Patrick McKenna pointed out something I thought was really important, which is that Web Fetch can reach anything you can reach. That includes your router's admin interface, services running on localhost, and cloud metadata endpoints, things that have no business being crawled by an AI agent. And by default, it'll ask before fetching, but asking means it shows you a prompt. So if you're running a sub agent in the background and you've got don't ask again habits, that prompt might fly right by. But all of that is almost quaint compared to what else the model can do. A curl command, a Python script that calls some external API, or an MCP tool that sends a calendar invite or posts a Slack message will each go wherever the model decides and carry whatever the model puts in it. And there is no environment variable in the world that can stop it because there's no destination to name in advance. So Anthropic's list has 18 hosts, while the model's list is the entire internet. And in November, the model put something in those requests that nobody had asked it to include, which turned this from an interesting edge case into a genuine news story. It was your email address. Now, the way it happened is a really instructive story about how AI systems can go sideways even when everyone involved has good intentions. Back in July, a user filed a GitHub issue pointing out the Claude code's context, the instructions the model runs on, includes the signed in account's email address. And Anthropic had a reason for it because without knowing your real email, the model would just invent names for things like author tags and commit messages or code comments. So they gave it the actual one, which makes sense. And in August, they added an instruction to the model's context to use the email only to identify the user and not to send it to unrelated services. But some websites have perfectly legitimate reasons to ask automated clients for contact information, and Wikipedia asks scripted visitors to identify themselves with an email as one of the accepted ways. And the SEC actually blocks automated downloads that don't include contact information, which is a policy they have to prevent anonymous scraping. So when Claude was doing research and needed to fetch data from Wikipedia or download filings from the SEC, it did what any helpful assistant would do. It filled in the contact field with the only contact it knew about, which was yours. Now, between September and November, a new site tracked seven separate bug reports about this. In one, someone's email ended up in a request to crates.io. The others were four requests to Wikipedia, nine requests to the SEC across three different sub agents running in parallel, and 15 requests across four different projects that touched both the SEC and the Bureau of Labor Statistics. And most of these came from sub agents running in the background where nobody was watching the commands and nobody saw the curl calls going out. And the person who filed the final bug report said the leak brought them dozens of scam emails a day. That part hasn't been independently verified, but the GitHub issue got over 1,100 reactions, which is a pretty clear signal that people were upset. Anthropic's first fix landed a few days before the story blew up publicly. It's a built-in content filter, basically a word matching system that refuses to run a shell command, file, write, web fetch, or MCP call if it finds your email address sitting next to an identity declaring word, like a user agent header, curl's agent flag, or a from header. And the readme for this fix is refreshingly honest because it calls itself a courtesy against a well-meaning model, not a boundary, since it's a word match with no parser by design. So your email and a URL goes through, and so does your email read into a variable on one line and use somewhere else. And so the web search, the browser tools, and an MCP call with a field like a calendar invite. Now, after the story hit Hacker News, one of the Cloud Code engineers posted publicly that they were removing the email from the model's context entirely in the next release. She apologized and said the team should have caught it earlier. And that's fair, and I appreciate the transparency. But what I find interesting is that the post went up two weeks before I'm recording this. Since then, there have been seven releases, and as of version 2.1 327, just two days ago, a user reported the email is still in the context. One commenter on the original GitHub issue put it in a way I keep thinking about, and it's a line worth writing down. Privacy shouldn't be a plugin, it should be an invariant. The fourth author is the scariest one to explain because there's no technical mitigation that fully covers it. And the only thing that does is trust, which, as we're about to see, can be counterfeited. On October 29th, Cursor's Extension Marketplace served two versions of the Cloud Code extension, 2.1 312 and 2.1 313 for about 11 hours. And they were malicious versions that Entropic didn't build. The moment your editor loaded those extensions, they went to work collecting your hostname, your username, your home directory, the names of your environment variables, your Git email address, and your public IP address. And then they tried to add an SSH key to your machine and open a persistent tunnel out, retrying roughly every 60 seconds. On most machines, that last step failed because enabling SSH typically requires admin rights, and the attacker's server is now offline. But Cursor says uninstalling might not be enough to clean this up completely. And the detail I think is the most artful piece of naming in this whole story, and I mean that in a grudging, horrified way, is that the SSH key the malware planted was labeled SVC-Telemetry. Think about what that means, because everyone in this whole conversation about AI coding tools is hunting for telemetry to disable. It's the first thing privacy guides tell us to look for, and the attacker named their backdoor after it. So if we look at a list of authorized keys on a server and see one called SVC-Telemetry, we think it's probably a monitoring agent someone set up, so why would we touch it? And no amount of Claude code disable non-essential traffic helps here because that extension's traffic isn't Claude code's traffic. As far as your machine, your firewall, and your auth logs are concerned, it's yours. After all of that, you might think the biggest privacy breach involves some sophisticated network interception, a clever exploit, or a zero day in the agent's runtime. It doesn't because it was git push. When Claude code asks to run a command and you say yes and don't ask again, it saves that exact command as a permission rule in a file called settings.local.json inside your project directory. That's so it doesn't have to ask you again, which makes it a convenience feature. Now, if the command you approved contained a database password, an API key, or a connection string with credentials, that password is now in settings.local.json. And if you're not explicitly ignoring that file in your .gitignore file, it goes to your repository. And if the repository is public, it goes to GitHub, where it stays forever even if you delete it later because of git history. A security company called Apiiro scanned public GitHub and found 104,185 copies of that file, and 1,122 of them, about one in a hundred, contain a real secret, which comes to 1,379 distinct secrets in the wild, including 379 database passwords, 43 SSH logins, and 23 AWS keys. Standard secret scanning tools missed a lot of them because a password buried inside a command string looks like an ordinary word to a naive scanner. And the best tool flagged 643 of the files, and 215 were flagged by neither of the two most popular tools. And in 539 of the repositories Apiiro traced, the commit that modified the settings file was co-authored by Claude. Anthropic's engineering lead commented on Hacker News that the team is looking at building in basic secret scanning, which is good, but the credential is already out there. So everything the model read, it uploaded, and everything you approved, you committed and then pushed to the world. Okay, so now that I've successfully made you feel vaguely anxious about every line of code you've ever written near one of these tools, let's talk about what actually helps. When we sort the fixes by author, they become a lot clearer. For the first author, the telemetry, set the Claude code disable non-essential traffic environment variable. And add skip web fetch preflight if you want web fetch to stop checking hostnames too, with the understanding that web fetch gets a bit less safe without it. Then run slash status inside Claude code because in recent versions it'll actually tell you which features got disabled by your settings, which is useful. For Codex, the setting is analytics enabled, set to false. And for Gemini CLI, it's usage statistics enabled, set to false in the settings file. Copilot and Cursor are harder. Their in-app settings don't fully hold based on the captures people have run. So our best bet there is blocking the hostname at the network level since a firewall rule is more reliable than a toggle we can't verify. For the second author, the conversation, keep secrets out of the project folder. I don't mean in a .env file that probably won't get read, I mean actually keep them out because the model reads whatever is in the directory and a guard on the file tool doesn't cover the terminal. And check your training data setting and make sure it's set the way you intend. And be very careful about using /feedback or /bug from a repo that has anything sensitive in its history because that transcript goes to Anthropic regardless of your other settings. For the third author, the model's requests, we genuinely need a network-level solution. So the fix is running the agent in a sandbox with an outbound allow list, defining which domains it's allowed to reach for a given task, and putting a firewall in front of everything else. It's also what Chaser Systems recommended at the end of their study to control what leaves at the network because app settings don't hold everywhere. And one more that's specific but practical is to tell the agent explicitly which contact information to use when sites require it so it doesn't reach for yours by default. For the fourth author, extensions and plugins, install extensions only from the original Makers Marketplace rather than third-party mirrors, and pin the extension version so automatic updates don't slip something in. And go and check your authorized keys file in the .ssh folder of your home directory right now if you haven't looked at it in a while because it takes 30 seconds and could save you a very bad day. And for the Git push problem, add to your .gitignore file right now before this video ends. And in the commands you approve, write dollar sign DB URL or reference environment variables rather than pasting the actual password into the confirmation prompt. Now, I want to be fair here because I don't want to end this by implying we should all uninstall everything and go back to Notepad. If your project is fully open source, the code going to Anthropic is code that's already public, and the telemetry really is boring, just account IDs and tool names. If you're on an enterprise plan with zero retention configured and managed settings pushed from your IT team, your administrator has already made most of these decisions, and the sandbox rules can be deployed to every machine at once. And if you're building throwaway projects with nothing sensitive in the folder, the worst case from a stray curl is your email address getting harvested, which is annoying but not catastrophic. The person this video is actually for has a real .env file in the project folder, a work database connection string in their shell history, auto mode turned on, and sub agents doing background research while they're getting coffee. And that isn't a niche edge case because it describes a lot of people using these tools professionally every day. So the frame I want us to take away is to stop ranking agents by how much telemetry they send. It's a quarter of the bytes, it is documented better than anything else, and it's the only thing with a real switch. And it's also the only thing that gets analyzed, blogged about, and turned into a Hacker News post whenever someone discovers it. The more useful question is, who wrote this request? So the vendor's code is something we can turn off, and we should. And the conversation is something we can keep clean if we're deliberate about it. The model's requests only answer to a network level rule and not an environment variable. And code from other sources runs on trust, which can be faked. Every one of these tools is going to keep changing what it sends, so the network captures people quote today will be outdated in six months, the same way the best study from 2025 missed a year's worth of changes. And that's why the specific numbers matter less than the framework, which is to check who wrote the request before checking where it went, since the off switch was always the easy part.