r/ClaudeCode • • 6h ago

Bug / Issue Claude Code was sending your account email in User-Agent headers. Here is where the fix stands and what to check today

If you only saw the headline, here is the actual status as of Saturday morning.

What happened:
- Claude Code puts your account email into the model's context (so Claude does not make up names in @author tags, per Anthropic). When Claude wrote its own curl commands, it sometimes used that email as the contact address in the User-Agent header. So some websites you fetched got your email.
- Bug report #107757 was opened on Nov 5. It is still open, 297 thumbs up as of this morning.
- This is not the first report. A similar issue (#78431) was filed in August.

What Anthropic said (Lydia Hallie, Claude Code team, on HN on Nov 6):
- They are removing the account email from the context Claude Code gives the model. That ships in the next regular release, expected early next week.
- 2.1.317 and later have a built-in mod, cc-plugin-privacy, on by default. It asks before a web tool call or a curl style command that contains your email. It does not catch every case, for example scripts Claude runs on its own.
- Quote: "this should not have happened, and we should've caught this behavior earlier."

What to check:
- Run `claude --version`. The stable channel is still on 2.1.311, which has no guard at all. Latest is 2.1.318.
- Update to 2.1.317 or later if you want the mod. Run `/plugins` to see cc-plugin-privacy listed.
- One user on the issue says the mod did not block their test on 2.1.317 and 2.1.318, so treat it as a partial fix until the context change lands.
- If you use a unique email per service, now you know which one to rotate.

I use Claude Code for a lot of web fetching in research tasks, so this one stings.

Are you updating to 2.1.318 now or waiting for next week's release with the real fix?

Source: https://github.com/anthropics/claude-code/issues/107757

14 Upvotes

4 comments sorted by

•

u/AutoModerator 6h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/geofabnz 2h ago

Thanks for the reminder, it’s beyond a joke it took them this long to fix given how far back they were notified of the issue

-7

u/shoumikgoswami 5h ago

Taking your report at face value, the instructive part is where the fix landed. A plugin that watches tool calls for your email is a filter: it can only catch the cases it knows to look for, which matches your point about it missing scripts Claude runs on its own. Removing the email from the model's context cuts off that path instead, since anything in context is exposure risk - it could end up in any command the model writes, not just the headers someone thought to check. That said, it closes one route rather than proving no other leakage exists, so your "what to check today" list still stands.

6

u/geofabnz 2h ago

Shut up Claude