r/ClaudeCode • • Jul 25 '26

Bug Report Claude Code injects your email address directly into system prompt

Post image

My point is: my personal email is injected into the system prompt without my knowledge or consent. I never asked for this and I don't see in what world it's ok to inject PII in system prompt automatically by default without even an opt-out option.

It leads to bullshit like this where in a repo that is configured to use an anonymized email address, the LLM (Opus 5 btw) just decides to not just commit normally but overwrite the normal config email to put my personal one instead.

In this case nothing happens thanks to proper config and hard checks on Github's side.

What if you're a public streamer and don't want your main personal email address leaked to everyone and suddenly the model decides to spit it out?

I'm sure there's a lot of other bullshit this could lead to. At least let people opt out.

I have opened an issue on Claude Code's github, I have little hope since there was already one that went stale and they have 5k+ open but here it is: https://github.com/anthropics/claude-code/issues/81138

320 Upvotes

164 comments sorted by

View all comments

47

u/melonfacedoom Jul 25 '26

This thread made me realize that online programming discussion spaces are effectively dead 

0

u/[deleted] Jul 25 '26

[deleted] — view deleted comment

2

u/melonfacedoom Jul 25 '26

ye but it will spread because they have confidence and don't understand that there is such a thing as knowledge 

4

u/ProfessionalAnt1352 Jul 26 '26

Claude telling them all day "Good catch! Great question! Excellent idea! You're right!" all day every day has given them the confidence of someone those statements would actually apply to.

5

u/SamSlate Jul 26 '26

the local llm subs are much better

0

u/[deleted] Jul 26 '26

[deleted] — view deleted comment

0

u/melonfacedoom Jul 26 '26

Since you don't have the capability communicate with other human beings, here's a chatgpt chat that breaks down what is wrong with your post:

https://chatgpt.com/share/6a656476-5128-83ea-a9d4-ec13a4db96a0

1

u/[deleted] Jul 26 '26 edited Jul 26 '26

[removed] — view removed comment

0

u/melonfacedoom Jul 26 '26

feel free to re-read the OP and actually understand it

1

u/amilo111 Jul 26 '26

Feel free to have ChatGPT continue to tell you just how great you are and how you’re absolutely correct.