2026-11-26 15:51 UTC

Disclosure reports Claude Code sent file hashes with device and session IDs

state: expiredheat: mediumuncertainty: mediumrelevance: mediumclaude-code-telemetry developer-privacy agent-data-collectionAnthropicAgenticBench

What is this?

An AgenticBench disclosure published 28 October 2026 reports that packet captures from Claude Code builds 2.1.283, 2.1.303 and 2.1.312 showed telemetry to Anthropic containing an unsalted SHA-256 hash matching a file the agent read, alongside device and session identifiers. It says file contents were not transmitted and that `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1` stopped telemetry in its tests. The disclosure describes limited testing, says it did not retest signed-in use, and does not establish whether later builds behave the same way; no substantive Anthropic response is included.

Why it matters

This is a developer-privacy finding about an AI coding agent, not evidence that file contents were uploaded. If the disclosure is accurate, unsalted hashes paired with device and session IDs could reveal which files were accessed and allow guesses of predictable secrets to be checked offline. The report says an opt-out stopped telemetry in its tests. This matters for teams deciding whether and how to use agentic coding tools, especially with sensitive repositories; the limited, independent testing leaves the scope and current status uncertain.

Current assessment

AgenticBench’s 28 October 2026 disclosure reports packet captures from Claude Code builds 2.1.283, 2.1.303 and 2.1.312 showing an unsalted SHA-256 hash matching a file the agent read, sent to api.anthropic.com alongside device and session IDs. It says file contents were not transmitted, but argues known or guessable contents—such as template-based .env files—could be tested against the hash; it reports recovering a deliberately fake password in a demonstration, not a real credential. The disclosure says the behavior occurred with a third-party model and no Anthropic account in one retest, and that CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 stopped telemetry in its tests. It reports notifying Anthropic on 26 September and receiving an automated acknowledgement, with no substantive response recorded. Evidence is limited to a small number of test runs; signed-in use was not retested in the later tests, the reported git-commit telemetry was not freshly retested, and the report does not establish behavior after build 2.1.312. No independent confirmation or Anthropic response is supplied. The practical implication is to review telemetry settings and repository sensitivity while tracking confirmation, vendor response, and behavior in newer versions.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-27 13:00⭐ origin echo-reconstructedThe disclosure says packet captures on Claude Code builds 2.1.283, 2.1.303, and 2.1.312 showed an unsalted SHA-256 hash matching a file the
AgenticBench on blog (echo) · attributed from hn.story.50270999
—
10-28 09:28first on hacker news · published · +20.5hClaude Code's default telemetry sends Anthropic SHA-256 hashes of files it reads
pantaleone
—
10-28 09:28amplified on hacker news 👑hn.story.50270999
pantaleone
peak 2 · 0 comments · 97% of case engagement
10-28 09:29our radar first saw it · +20.5hdiscovery anchor: hn.story.50270999—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnClaude Code's default telemetry sends Anthropic SHA-256 hashes of files it reads
Retrieved article excerpt

Open article · Retrieved 2026-10-28T09:31:07.308284+00:00

Disclosure note ANT-1 · 28 October 2026

# Claude Code tells Anthropic which files it reads, even when you use someone else's model

The short version

## A model cannot phone home. Its harness can.

Point Claude Code at another company's model, don't log in to Anthropic at all, and it still sends Anthropic a fingerprint of the files it reads. We caught it doing exactly that on 19 October on version 2.1.303, and again on 27 October on version 2.1.312, the newest release at the time of that retest, with a DeepSeek model doing the work and no Anthropic account anywhere in the setup. In September, signed in on a Max plan, it did the same and also sent the git commit of the repository.

The fingerprint is an unsalted SHA-256 of the file's full contents, sent next to a device ID and a session ID. It isn't the file, and Anthropic would be right to say so, but it is far from harmless. If you know most of what is in a file, and for a .env built from a template you usually do, anyone holding that telemetry can guess the one secret in it and check each guess against the fingerprint offline. We tried it on a fake .env and had the password back in three and a half seconds.

We told Anthropic on 26 September and got an automated acknowledgement, nothing more. Three weeks later it was still happening. You can stop it today: set `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1`. We rate it Medium: no file contents leave your machine, and a properly random API key cannot be recovered this way. A weak password can.

The evidence

## What we captured, and what we captured most recently.

Original capture, September 2026, Claude Code **2.1.283**, Max account, default settings: a telemetry event to
`api.anthropic.com` whose `contentHash` equalled `sha256` of the file the agent had read, sent alongside the
device and session ids.

Earlier retest, **19 October 2026 on build 2.1.303**: the fingerprint was **still present**. Three POSTs returned 200, and the 64-hex `contentHash` matched `sha256sum` of the file read, on the same event that carried `device_id` and `session_id`. A 2.1.286 control run produced the same result, so the measurement itself is working.

Retest, **27 October 2026 on build 2.1.312**, the latest release at that retest: **still present**. Four telemetry POSTs to `api.anthropic.com` returned 200, one file-operation event carried the matching `contentHash`, and the 64-hex `contentHash` again matched `sha256sum` of the file read, with `device_id` and `session_id` on the same event. The 2.1.286 control reproduced it in the same batch, and both opt-out runs sent **zero** telemetry.

What is not sent

## A fingerprint, not the file.

The file's contents are **not** transmitted. A fingerprint is still identifying: a file we know can be recognised from it, and a
guessed short secret can be checked against it. That is why we treat it as a privacy finding rather than a curiosity.

The switch

## One setting turns it off, and we tested that it does.

Setting `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1` together with the `DISABLE_*` variables produced no telemetry in our tests. The opt-out works.

Limits, stated plainly

## What this note does not claim.

- **head\_sha was not retested.** The original logged-in run showed the git commit id in telemetry. The retest rig workspace is not a git
  repository, so that part stands on the September capture and the string's presence in the binary, not on a fresh observation.
- **The signed-in state was not retested.** We did not retest the signed-in state.
- **One unit per condition.** That is corroboration, not proof. It is consistent across 2.1.283, 2.1.286, 2.1.303 and 2.1.312.
- We do not claim 2.1.312 is still the newest release today, or that nothing changed after it. 2.1.312 was the newest release when we retested on 27 October 2026, and we report what that build did.

Disclosure timeline

## Reported, then published.

26 September 2026: report sent to `[email protected]`. An automated acknowledgement came back the same day; no substantive reply is
recorded by us, and nothing in this note should be read as a vendor statement. 19 October 2026: retest on build 2.1.303. 27 October 2026: retest on build 2.1.312, the newest release at that time. 28 October 2026: published.
pantaleone20
🟧 echo.blog ⭐The disclosure says packet captures on Claude Code builds 2.1.283, 2.1.303, and 2.1.312 showed an unsalted SHA-256 hash matching a file the AgenticBench——

Interpretation history

Decision trace