AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

A Claude Code user reported that a built-in privacy hook did not refuse a test input containing their signed-in account email and a User-Agent string. The report describes tests on macOS with versions 2.1.317 and 2.1.318, but does not establish that an email address was sent to a website or that the behavior affects other users.

A Claude Code user reported that the product’s built-in privacy hook did not block a test input containing the user’s signed-in email address in runs on versions 2.1.317 and 2.1.318. The report, filed on GitHub, describes a local command that the user said made no network request; it does not show that Claude Code sent the address to a website.

Buying for a business?Offer from Amazon

Get business pricing on tech for your team

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

The reporter tested a string containing a User-Agent label and their account email, which they said matched the address listed in the OAuth account information. The command was an echo redirected to /dev/null, and the reporter stated that it made no network request. They expected the privacy hook to deny the input because, in their reading of the published hook code, it contained an at-sign, the account address, and the User-Agent text.

The issue lists three tests: a desktop-app session started before an update, a new desktop session on version 2.1.317, and a terminal run on version 2.1.318. The reporter said all three ran rather than being refused. For the terminal test, Claude Code returned “Bash completed with no output” and marked the tool result as not an error.

The reporter also said that the initialization event in the 2.1.318 run listed cc-plugin-privacy among loaded plugins, and that the app’s installed-plugins view showed the built-in plugin as enabled. They asked whether the shipped build might differ from the published source or whether another step is required to activate the relevant tool-check hook. The issue activity includes a commit reference dated Nov. 6, 2026; the supplied report does not provide a resolution.

At a glance
reportWhen: Issue activity dated Nov. 6, 2026; beha…
The developmentA GitHub issue reports that Claude Code’s built-in privacy hook allowed a test input containing the user’s account email instead of refusing it.

A Privacy Check That May Not Trigger

The report matters because users may rely on a built-in privacy check to stop certain sensitive strings from reaching tools or external services. If the behavior is reproducible, a hook that appears enabled but does not refuse matching input could leave users with a different level of protection than they expect. That is a potential reliability concern, not evidence in this report of an email disclosure.

The distinction between allowing a local command to run and transmitting data over a network is central. The reporter’s test used a local echo command and explicitly said it made no network request. The report therefore concerns whether the hook blocked an input under the stated conditions. It does not establish that any website received an address, identify a recipient site, or demonstrate that the behavior occurs during browsing or other network activity.

For users, the immediate relevance is to avoid treating this single report as proof either that email addresses are routinely exposed or that the privacy mechanism is functioning as intended. The issue raises a specific question about enforcement and configuration that would need reproduction and a response from Anthropic or maintainers to answer.

Products Worth Considering

Apple MacBook Air 15.3-inch Laptop with M5 chip, 16GB Unified Memory, 512GB SSD, 12MP Center Stage Camera, Touch ID, Wi‑Fi 7 – Sky Blue with

Apple MacBook Air 15.3-inch Laptop with M5 chip, 16GB Unified Memory, 512GB SSD, 12MP Center Stage Camera, Touch ID, Wi‑Fi 7 – Sky Blue with

As an affiliate, we earn on qualifying purchases.

The Reported Test Setup

The issue is a user report on the Claude Code GitHub repository, rather than a published security advisory or a documented company finding in the supplied material. It focuses on the cc-plugin-privacy built-in plugin and a hook the reporter identifies as a tool-check hook. The user compared observed behavior with their understanding of the published source file, mods/privacy/hooks/register.ts.

The tests span desktop and terminal use, including two version numbers, but they were all conducted by the same reporter on macOS arm64. The issue says the plugin was enabled in the terminal run. It does not include an independent reproduction, a maintainer explanation, or a confirmed account of data being sent to a remote service. That limits what can be concluded about the scope and cause.

The headline phrasing that Claude Code “sends your email address to websites” goes beyond what this report demonstrates. The documented event is narrower: a local command containing an email-address string was not refused in the reported tests. Whether the hook is intended to block this exact input, whether another setting or execution path is required, and whether any separate network request could expose an address are not answered by the supplied issue.

““does not refuse the case it is documented to refuse.””

— Claude Code GitHub issue reporter

No Website Transmission Confirmed

The supplied material does not confirm that Claude Code transmitted an email address to a website, that a website received one, or that other users can reproduce the behavior. The reporter describes a no-network local test, so the report supports a concern about a hook not refusing input, not a confirmed disclosure incident.

It is also unclear whether the reported outcome reflects a defect, an expected rule boundary, a configuration requirement, or a difference between published source and the installed build. The material includes no response from Anthropic, no maintainer diagnosis, and no independent test results. The issue’s listed versions and operating system describe only the reporter’s setup.

Maintainer Review and Reproduction

The next useful development would be a maintainer response clarifying the hook’s intended matching rules and whether it should deny the input shown in the issue. A reproduction using the same versions and setup could help establish whether the behavior is consistent, while testing a confirmed network path would be necessary to assess any claim about information reaching websites.

Until that evidence is available, the report remains an unresolved user-reported behavior. Readers should distinguish the reported failure to block a local test input from a verified email leak; the supplied issue does not establish the latter.

Key Questions

Did Claude Code send the reporter’s email address to a website?

The report does not show that. The reporter said the tested echo command made no network request, and the issue provides no evidence that a website received the address.

What did the user say happened?

The user said Claude Code ran a local command containing their account email instead of refusing it. They expected the built-in privacy hook to block the input.

Which versions and system were involved?

The issue describes tests using desktop app version 2.1.317 and terminal version 2.1.318 on macOS arm64. These are the reporter’s test conditions, not evidence that every installation is affected.

Has Anthropic confirmed a bug or data leak?

No confirmation is included in the supplied issue material. It does not contain a maintainer explanation, a confirmed bug finding, or evidence of an email address being disclosed to a website.

Source: github.com

You May Also Like

Are Your AI Tools Exposing Sessions, Agent Logs, And Hidden Reasoning?

Research reports AI-focused credential theft, a Warp vendor breach affecting agent traces, and a fixed OpenAI reasoning-exposure flaw.

Learning From the Trenches: Our Response to an AI Security Breach

AIThis post was created with the assistance of artificial intelligence (AI). When…

How Soon Could AI Self-Replicate On Home Devices? Anthropic Says Months

A headline reports Anthropic sees AI self-replication on home devices as possible within months, but provides no details on evidence or conditions.

AI for Securing Edge Computing Devices

AIThis post was created with the assistance of artificial intelligence (AI).AI can…