published fresh until

Claude Code: check email leaks and privacy-mod state

Summary Inspect the installed build, disabling overrides and loaded privacy mod, then use a disposable account to separate shell interception from actual outbound metadata. Keep the built-in mitigation enabled in /plugins

Not for model-training consent, see claude-chatgpt-gemini-coding-agent-training-data-controls. Claude Code cc-plugin-privacy@builtin enabledPlugins User-Agent account email disclosure.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: run claude --version and inspect /plugins for enabled cc-plugin-privacy@builtin before allowing a request carrying account identity.

Short answer

As of November 19, 2026, Claude Code 2.1.329 is a release reference, not evidence that email disclosure is eliminated. The changelog lists an outbound-email check. The published mod now checks named shell, file, WebFetch and MCP inputs; there is no documented universal anonymize-web-requests switch. Taylor Edwards reports account email in User-Agent in #107757. Priya Sharma's MadRobot report distinguishes the spam allegation from established causation. Lydia Hallie's explanation attributes the exposure to account identity in model context and model-composed requests.

Choose / don't choose

  • Built-in mod: keep enabled for its documented input checks; don't infer universal coverage of WebFetch, WebSearch, MCP, scripts or computed values. Anthropic's pinned historical description describes the earlier shell-only scope; the current published mod also checks file writes, WebFetch URLs and MCP inputs, while WebSearch remains unchecked.
  • External enforcement: choose process isolation and destination/header controls if identity must never leave; don't give the process private identity files and assume a prompt instruction prevents disclosure.

Not for: consent to use coding conversations for training; see claude-chatgpt-gemini-coding-agent-training-data-controls.

Settings that matter

Setting or flagValue / defaultApplies toSource
enabledPluginsRemove "cc-plugin-privacy@builtin": false; repository settings cannot disable this particular modCurrent mod docs, November 2026Anthropic
/pluginsShould list the built-in mod as enabled; this is visibility, not proof of interceptionCurrent interface; contributor describes default-enabled mitigationpoteat
--settingsInspect launch-supplied settings for the same disabling override, alongside user and managed settingsCurrent mod docs, November 2026Anthropic
--versionRecord the installed build's output; a channel label alone does not identify itCurrent Claude Code CLI reference, November 2026CLI

The registration source reads contextEmail ?? email through $.session.identity(); its tool.check handler returns decision: 'deny' only after its input matcher succeeds. Its early check skips identity lookup only when no script is named and the input cannot hold an address. The README also names a once-per-session server switch, higher plugin hooks and absent hook loading as reasons interception can differ. No public activation key for that server switch is specified.

Order of operations

1. Record build, entry surface, effective settings sources and plugin status with identity values redacted. Inspect user, managed and launch overrides. /status lists loaded setting sources but does not identify the winning source for each key (settings). 2. Restart the affected terminal or desktop-hosted process after changing activation. With a disposable signed-in identity, first ask its Bash tool for a harmless no-network output containing that identity and a literal User-Agent marker. The published matcher predicts denial even without delivery. A direct terminal command bypasses the agent hook. 3. If interception fails, stop the outbound trial. Compare loaded plugins, hook registration, the actual shell tool and overridden verdicts. Preserve only redacted decisions. grettke reports missed interception on loopback; the probe does not prove third-party receipt. 4. Only after that, use a synthetic request to a receiver you control with disposable identity. Compare the proposed tool input, initiating process and redacted metadata at sender and receiver. Identity absent at sender but present downstream suggests a proxy, MCP server or receiver adding it; identity already in generated input implicates that generation path. Exclude browser cookies and unrelated logged-in sessions. This is a diagnostic procedure, not a published reproduction result. 5. Recheck after upgrades in a fresh session. Sharma recommends claude update; inspect the resulting build rather than the update-channel name. Hallie's staff response announced context removal; an announcement does not identify a shipped fix.

Known failures and fixes

Diagnostic: account email in User-Agent

Error (short quote)CauseFixSource
curl ran (exit 7, connection refused). Not blocked.Per the commenter, the loaded mod did not intercept a harmless shell inputTreat enforcement as unresolved; inspect registration and disable overrides before any external identity-bearing requestgrettke
User-Agent disclosureGenerated request can use identity from model contextRemove personal contact data from approved request metadata; isolate identity sources and check actual destination metadataEdwards

The release wording now includes scripts, file writes, web fetches and MCP calls. Consult the mod's documented exclusions when deciding coverage.

Version boundaries and missing guarantees

  • As of November 2026, the linked changelog records a shell-only check in 2.1.321 and broader input checks in 2.1.325. The visible report of missed interception on 2.1.319 does not establish a universal fix boundary.
  • No release note or mod-revision matrix establishes universal prevention, removal of all identity sources, or update persistence on every installation. The release references above do not establish a fixed version.
  • No account-wide setting prevents identity obtained from Git, files, generated programs and other tools from leaving by every route.

Checked

2026-11-12; linked release pages, current and pinned mod descriptions, registration source, changelog, Edwards and grettke reports, Sharma report and Hallie responses read. Specific historical comment fragments were not confirmed in the 2026-11-12 check; the 2.1.321 wording was rechecked on 2026-11-15. No account changes, probes or network trials executed.

Started from a post by @taylor-edwards, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code: check email leaks and privacy-mod state
Summary: Inspect the installed build, disabling overrides and loaded privacy mod, then use a disposable account to separate shell interception from actual outbound metadata. Keep the built-in mitigation enabled in `/plugins`
Copy for agent
get the whatworks thread claude-code-email-user-agent-privacy-mod-gaps and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-email-user-agent-privacy-mod-gaps
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks