https://www.reddit.com/r/ClaudeCode/comments/1xhqvzn/opus_55...
You can remove it with a simple plugin https://github.com/AlexErrant/claude-code-no-email/blob/main...
https://www.reddit.com/r/ClaudeCode/comments/1xhqvzn/opus_55...
You can remove it with a simple plugin https://github.com/AlexErrant/claude-code-no-email/blob/main...
1. It was said to be required (e.g. Searching through SEC)
2. Politeness policy (Wikimedia's bot policy and Crossref's "polite pool" ask automated clients for contact details)
So I think it wasn't because of malicious reasons as far as I can tell.
I did instruct Claude to never do it again except for the politeness policy. I'm assuming WikiMedia requested this so that they have someone to contact in case a bot overloads their servers
If not... That sounds like primetime for prompt injection.
If I made it send something, I probably made it make a tool call. What other tools can I make it call?
I'm afraid this isn't a shrug - it's a zero-click vulnerability. It might be the start of a chain to RCE. It doesn't have to work every time, either. Just enough of the time.
There are better ways to do this, they just haven’t been built yet.
Eg this may not need actual contact info. Wikipedia just wants a way to ask you to stop. Anthropic could add an opaque agent/session identifier that Wikipedia could flag, and Anthropic just forwards that on to you in the UI.
If you don’t have free text fields it’s usually not super useful for spam. There are ways to get a binary “good/bad” signal back without that though.
I had this happen with requests to crates.io, because crates.io rejects all requests without a User-Agent (and it knows this inherently, it's not any prompt injection), so the model has to invent one, and often it invents one with your email address in it...