cd /news/ai-tools/claude-code-telemetry-and-the-right-… · home › topics › ai-tools › article
[ARTICLE · art-174810] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↓ negative

// Claude Code, Telemetry, and the Right to Inspect Your Own Tools

A reverse-engineering teardown of Claude Code v2.1.294, published by researcher Mike Space on Habr and DEV, unpacked the 225 MB executable into 4,818 virtual files and identified code for four telemetry destinations—two tied to Anthropic and two to Datadog—plus an offline queue that retries failed event uploads in later sessions. The analysis reports that some events can carry account and device identifiers, a deterministic hash of the Git remote, and, under Pro/Max conditions, the full HEAD commit SHA, and that custom skill and plugin names redacted in one metadata object can reappear in separate _PROTO_* fields before serialization. The researcher notes startup probes send classifications and flags rather than secret file contents, and that static analysis alone cannot confirm which destinations are active in each configuration.

recommendation

Enforce redaction on the final serialized outbound payload, not intermediate objects, and audit telemetry schemas for _PROTO_* or compatibility fields that re-expose values you thought you scrubbed.

more in playbook: Running AI in production
by read13 min views2 publishedNov 23, 2026

Imagine a pretty ordinary afternoon.

You're debugging a failing test. Earlier, you highlighted a few lines in your editor while reviewing another file. You switch to the integrated terminal and ask your coding agent why the test is failing.

What, exactly, just left your machine?

A recent teardown of Claude Code v2.1.294 describes a code path that can attach the currently selected text and active file path from a connected IDE to a message sent to the model. That selection may have nothing to do with the question you asked.

I understand why the feature exists. Good context makes coding agents better. But I'd like to know what I'm sending before I send it. That seems like a fairly modest expectation for software with access to my terminal and repository.

The IDE behavior is only one finding in the teardown. The rest of the report made me think about how much control we're gradually giving up just to use the tools that make us more productive.

On November 19, Mike Space published a reverse-engineering report on Habr, followed by an English version on DEV. The researcher used REA to unpack a 225 MB Claude Code executable into 4,818 virtual files, including 2,292 obfuscated JavaScript chunks.

The analysis identifies code for four telemetry destinations, two associated with Anthropic and two with Datadog. It also describes an offline queue that can retry failed event uploads in later sessions.

Some events can contain account and device identifiers, a deterministic hash of the Git remote, and, under a Pro/Max subscription condition, the full SHA of the current HEAD commit. The client also checks parts of the development environment: package and secret-manager configuration indicators, the presence of tools on PATH, and running IDEs.

The report says the startup probes send classifications and flags, not the contents of secret files. That's an important distinction. Nor does finding four destinations in the executable mean all four are active for every user. Anthropic's own documentation describes different defaults for metrics and error reporting depending on account and provider.

I didn't conduct this reverse engineering or capture the traffic myself. A static analysis tells us which code paths and payload fields exist. Verifying what gets sent in each configuration requires runtime tests. If you're interested in the exact functions and offsets, read the original report.

Still, there is plenty here to examine without calling the client spyware or pretending a few code snippets prove a secret plan to steal repositories.

One finding, in particular, deserves an engineering explanation.

The teardown shows custom skill and plugin names being replaced with values such as <redacted> or custom in one representation of event metadata. But the original names can also be placed into separate _PROTO_* fields, then moved into top-level Protobuf fields by the final serializer.

The researcher found additional sanitization for organizations with HIPAA-specific settings.

If that reported behavior is reproduced in outgoing events, I have a straightforward question: why sanitize the value in one object if the same payload still carries the original somewhere else?

Anyone who's worked on production telemetry has seen how this can happen. One team needs a field for analytics. Another consumer needs the raw value. A compatibility layer survives longer than anyone planned. Eventually the sanitized object gives a false sense of what is actually leaving the process.

That's exactly why the trust boundary belongs at the final outbound payload, after serialization, enrichment and schema conversion. Redaction at an intermediate step is not a privacy guarantee.

And names are not always harmless. A custom skill called client-acme-prod-migration can expose an internal project or customer relationship without revealing a single line of code. A stable hash of a repository URL may hide the literal address, but it can still link activity across sessions. With a guessable input space, hashing may provide less protection than people assume.

This is ordinary data minimization work. Decide whether the field is necessary. Define its purpose and retention. Test the exact bytes that go out, not just the object that looks safe in a unit test.

It bothers me that people outside the company have to reconstruct those boundaries from an obfuscated executable.

The IDE selection finding isn't about product telemetry. It's about context sent to the model. Those are different pipelines, with different purposes and potentially different data handling rules.

The teardown describes an IDE integration path that can attach the open file path and selected text to user messages. It also describes a path that can attach diffs for files the agent previously read and that the developer subsequently edited.

I can see the UX benefit of both. I can also imagine the moment a developer gets an unpleasant surprise.

Maybe the selected text is a customer-specific configuration. Maybe it's an unreleased feature. Maybe it's a credential someone accidentally left in a file and was about to remove. Or maybe it's nothing sensitive at all. The point is that the user may not realize this particular material is part of the current request.

A context-aware tool should make that boundary visible: show what will be attached, let me remove it, and don't make me hunt for an environment variable to understand the behavior.

The documented telemetry switches are useful:

export DISABLE_TELEMETRY=1
export DISABLE_ERROR_REPORTING=1
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

They disable categories of nonessential traffic. They do not make a hosted model request private or prevent content that is intentionally included in a prompt from reaching the provider. Some settings can also disable feature-flag evaluation and affect features such as Remote Control.

I haven't seen evidence that using these documented controls gets accounts banned. That claim shouldn't be repeated as fact.

What I want is more mundane than a dramatic privacy pledge: a readable data inventory, controls that don't require archaeology, a preview of outbound model context, and redaction tests against the final wire format.

For an agent with local filesystem and shell access, none of that feels unreasonable.

The privacy questions sit next to another frustration: the way access to powerful development tools can change under our feet.

Abuse detection is necessary. A coding agent with network access and the ability to execute commands can be misused. Providers need policies, rate limits and security controls. I wouldn't want to operate that infrastructure without them.

But the impact of a false positive is rarely evenly distributed.

A motivated attacker can invest in alternative infrastructure and spend time adapting to restrictions. That doesn't make safeguards pointless; raising the cost of abuse is a valid goal. It does mean legitimate users and adversaries experience friction very differently.

Think about a solo developer who built their workflow around one agent. They have project instructions, scripts, tool permissions and habits refined over months. Suddenly a legitimate security task triggers a refusal, a feature disappears, or access changes for their region or account. They can move, sure. But moving means rebuilding something that was already working.

"Just use another model" sounds easy until you're the person who has to recover that lost week.

For a large company, vendor migration is a budget item. For a small team, it can mean missing a release. For someone whose access is limited by geography, it may mean being unable to use a tool their competitors take for granted.

This is the part of the safety discussion that gets too little attention: false-positive cost, blast radius, and the ability to appeal or recover. A provider can report that a classifier is highly accurate while still leaving real people stranded when it gets their case wrong.

Reverse engineering is a revealing example. Some users have reported Claude interrupting REA-related tasks or giving less capable responses on certain security work. A write-up from the REA community links this to broader cybersecurity safeguards. I haven't seen solid evidence that Anthropic specifically set out to suppress REA.

Even so, malware analysis, compatibility research, defensive auditing and investigating software on your own machine are legitimate engineering activities. Security policy needs enough context to distinguish them from harmful activity, and a useful recovery path when it can't.

It's an awkward look for an industry that talks so much about safety if independent investigation becomes harder at the same time its tools become more powerful and opaque.

A lot of people are going to respond by taking back the client layer.

Keep the model provider replaceable. Own the tool runner, permission model, project memory and network policy. Decide which files the agent can read, what goes into each request, and when a human has to approve an action. Log enough locally to investigate failures without automatically exporting the whole workflow.

A self-managed harness isn't a magic privacy shield. If you send a repository file to a hosted model, that provider still receives it. Running an open-source agent also means you're responsible for its sandbox, dependencies, updates and mistakes.

But there is a real difference between choosing that trade-off yourself and inheriting it from a closed client that can change in an update.

The point of owning the harness is continuity. If one model becomes unavailable, you can route to another. If a provider changes its telemetry policy, your local execution boundary remains yours. If you need to inspect what went to the model, you have a place to instrument it.

You might give up a little convenience. You may also stop losing days every time a vendor makes a decision you had no part in.

To me, that's a reasonable trade to consider.

There's another reason companies care about the coding environment. It's where decisions happen.

A traditional code hosting service can see commits. An AI coding agent can potentially observe much more, depending on what the product records and what the user has consented to: the original request, the rejected suggestion, the failed test, the correction, the next attempt, and the moment the developer finally accepts the result.

That's valuable feedback even without up an entire private repository for training.

It can improve product design and evaluations. With appropriate permissions, some kinds of interaction data may also support model development. But telemetry and training data are not interchangeable terms, and the teardown does not establish that every reported event is used to train a model.

Anthropic's published policy says Free, Pro, Max and Ultra users can choose whether their data may be used to improve future models. Team, Enterprise and API use different defaults. Those distinctions matter.

The strategic value of owning the tools people work in is visible elsewhere, too. On August 14, 2026, Cursor announced its acquisition by SpaceX. The company explicitly connected the deal to model development and access to more compute. That announcement does not tell us what happens to an individual customer's private code. It does make the value of the application layer pretty obvious.

People sometimes argue that generous credits and inexpensive inference must mean users are being paid for with their data. Maybe data is part of the long-term calculation, but there's no basis for treating that as the sole explanation. Growth spending, competitive pricing and the race for market share explain a lot on their own.

We don't need to invent a hidden bargain to notice the real one. We pay for the service. Our use of it also produces signals that can make the service more valuable. Both sides should understand exactly which signals are collected and what they're used for.

I can live with that arrangement when it is explicit. I have a harder time with a system where the practical details emerge only after someone unpacks the binary.

This isn't unique to coding agents. It's been happening around us for years.

Smart TVs use automatic content recognition. The FTC's Vizio case showed how viewing data could be collected without meaningful user awareness. Mobile apps ship with analytics SDKs. Cloud services accumulate metadata about files and activity. Windows documents optional diagnostic collection. macOS has its own diagnostics and cloud integrations. Linux offers more opportunities to inspect and control the stack, but it can't protect you from every proprietary application or remote service you choose to run.

These products aren't all equivalent, and their data practices vary. The recurring incentive is the same: understanding user behavior is useful to the business.

Engineers know how the collection grows. One event helps debug a crash. Someone adds a field for segmentation. Another team wants an identifier to correlate sessions. A few releases later, the event has become a miniature profile. No single engineer had to decide to build a surveillance system. Normal product work, left without a strong privacy boundary, can get you there anyway.

And now the software doing the observing has access to the work itself, not just the clicks around it.

That's a different level of intimacy with a tool.

I keep thinking about a joke comparing governments and powerful institutions to overprotective parents. They watch everybody so nobody breaks anything or gets hurt. It's an easy joke to understand when every new feature seems to arrive with another permission check and another system deciding whether you're allowed to use it.

But good parents eventually want their children to be independent. I'm less sure that independence is the desired end state for a platform whose business gets stronger when leaving is difficult.

I don't believe this requires a coordinated conspiracy. Ordinary incentives are enough. Data has value. Lock-in has value. Control over distribution has value. Every one of those incentives can be defended in a quarterly planning meeting. Their combined effect is much harder to defend to the person on the other side of the screen.

What bothers me is what we give up along the way.

The most exciting thing about these tools is what they make possible for people without a big team or a big budget. A developer with a laptop can build something that used to require a department. Someone learning can get unstuck without knowing the right person to ask. Small groups can compete through skill and persistence instead of headcount.

That should be worth protecting.

Instead, access gets more conditional. Clients get harder to audit. People build isolated stacks because they don't trust the platforms, and platforms add more monitoring because they don't trust the people. We keep spending engineering effort on proving that the other side might misbehave.

Imagine spending even a fraction of that effort on interoperable tools, reproducible security research, intelligible permissions, and interfaces that let users leave without losing their work. Imagine making it easier for people to share knowledge, help a stranger solve a problem, or celebrate somebody else's progress without turning every interaction into a data acquisition opportunity.

That probably sounds naive to someone who has a revenue target to hit. I don't think it's naive to want the people building the future to enjoy more freedom, not less.

If a tool needs my trust, it should give me a way to verify it.

I don't know when we became so comfortable replacing that simple idea with another analytics pipeline and another policy gate. Maybe there was no single wrong turn. Just years of perfectly explainable decisions that added up to a place nobody would have chosen deliberately.

Perhaps future historians will work out how we got here.

Assuming they'll still be allowed to inspect the binaries without up their passports first.

Note on evidence: This is an opinion piece based on a third-party reverse-engineering report and published vendor documentation. I did not independently verify the reported runtime traffic. The source code paths discussed in the report should not be treated as proof that every event fires under every configuration.

Further reading: Original Habr teardown · Researcher's English version on DEV · Anthropic data usage · REA and Claude restrictions · Cursor / SpaceX announcement

── more in #ai-tools 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-code-telemetr…] indexed:0 read:13min 2026-11-23 · —