Claude Code's Account Email Check Now Also Covers Scripts, Files, Fetches and MCP Calls

Claude CodeView original changelog

Claude Code 2.1.325 extends the account email check so it also refuses the user's email as a client's identity in scripts a command runs, file writes, web fetches and MCP calls. It builds on the 2.1.321 change that limited the check to commands naming a User-Agent.

Key Takeaways

  • The check now covers scripts, file writes, web fetches and MCP calls.
  • It refuses the user's email as a client's identity.
  • It extends the 2.1.321 change that narrowed the check.
  • It reduces the chance of the account email leaking into outgoing requests.
  • It applies beyond shell commands.
  • It is a guardrail change, not a new setting.

A wider check

The account email check now also refuses the user's email as a client's identity in scripts that a command runs, in file writes, in web fetches and in MCP calls.

Context

Release 2.1.321 had narrowed the check to shell commands that contain the email and name a User-Agent. This release extends it to the other places the email could be used as an identity.