Claude Code User-Agent email report: which version do you have?
Check which Claude Code version you run, when it started asking before sending your account email, and which tool calls later versions refuse.
A user running Claude Code 2.1.318 reported that web searches sent their email address to third parties in the User-Agent request header without permission. The issue was filed on November 5, 2026, and was open on November 23 with the bug and area:security labels. GitHub issue #107757
[1] Check the version in the terminal where you normally start Claude Code. Read the number at the start of the output. Installation guide
$ claude --version[2] Find the last row whose version is at or below yours. A version below 2.1.234 predates the first entry. The entries track instructions to Claude and checks on tool calls. No maintainer reply in the issue identifies a release that resolved the report. Official changelog
| Version | Changelog entry | What changed |
|---|---|---|
| 2.1.234 | Claude is now told to use your account email only to identify you, and not to send it to unrelated services unless you ask | Claude receives instructions to use the address to identify the user. Sending it to an unrelated service requires a user request. |
| 2.1.317 | Added a check that asks before a web or shell tool call sends your account email address to the network | A web or shell tool call that would send the address over the network triggers a confirmation. |
| 2.1.321 | Changed the account email check to refuse only a shell command that holds your email and names a User-Agent, without asking, so other commands and scheduled runs no longer stop at its prompt | A shell command containing the address and naming a User-Agent is refused without a prompt. Other commands and scheduled runs can proceed past this check. |
| 2.1.325 | Improved the account email check: it now also refuses your email as a client's identity in scripts a command runs, file writes, web fetches and MCP calls | The refusal also covers use of the address as a client identifier in scripts launched by a command, file writes, web fetches and MCP calls. |
For example, the reporter’s 2.1.318 falls in the 2.1.317 row, when the changelog described a confirmation before sending. Starting in 2.1.321, the check refuses a matching command without asking for confirmation. The absence of a prompt alone cannot tell you whether the address went out.
[3] If your version is older than 2.1.325, update using the method for your installation. For a native install, run claude update. For Homebrew, use brew upgrade claude-code or brew upgrade claude-code@latest to match your cask. For WinGet, use winget upgrade Anthropic.ClaudeCode. For Linux packages, follow the upgrade instructions for your package manager. Run claude --version again in the same terminal. Update instructions
If the update fails, see Troubleshoot a Claude Code auto-update failure.
Can you tell whether your address was already sent?
Your current version tells you which changes preceded it. The official documentation reviewed gives no procedure for checking whether a past request carried your account email in its User-Agent, and lists no user setting to enable this specific check. The report also leaves the number of affected users and the cause of any spam unconfirmed. Claude Code documentation · Issue #107757