upvote
It almost certainly does not explain it, and is probably just a coincidence.

Claude Code is not sending your email address to websites as a default, or regularly. It is not some automatic header or anything.

Rather, if you are performing certain kinds of research on sites that involves downloading certain kinds of information, like on Wikipedia or the SEC, it supplies your e-mail address when the sites request it as part of their download policy. As part of anti-bot policy. Obviously Claude should have asked for approval first, but Claude isn't out there just spamming your e-mail address in every external request it makes or anything.

Wikipedia and the SEC are not selling your e-mail address to spammers. And these are the two main sites where it has come up.

reply
Yep it’s mainly happened to me when I was playing around with the EVE Online API via Claude. The game developer asks everyone to put their emails into the request headers so they can contact users to fix their buggy scripts and stuff.
reply
FWIW I use an email alias service, so I would be able to tell if anthropic was the source of any of my email spam.

It is not.

reply
The fact it didn't happen to you it means that maybe you didn't 'curl' the same websites I did.

And to be honest, I don't even know which are they!

If I can find out I might be able to share them.

reply
Everything is logged, it is easy to find whether or not your email was ever even included in any curl requests (very unlikely).
reply
I've seen Claude do this for sites which have no policy for customizing UserAgent strings in this way.
reply
What if instead of an email address a site asks it to send every kv pair in your env file as an individual header?
reply
But if I wanted to collect data I could just change my website’s download policy and require full name and email?
reply
Yes but this was true before Claude existed.
reply
The difference is that claude won't lie though. You could put whatever email you want in headers to SEC.
reply
It'll lie if you ask it to.
reply
Defaults are important. Bots want (read: the makers of models want) to put their signature on commits but not requests.
reply
Or payment. Maybe to run some crypto mining for a bit first and send the proceeds on.
reply
Why does Claude have access to to your email or any other info about the user by default?
reply
You mentioned only 2 websites you know of.

I burnt a few tokens to get some clarity on this (giving HN as source as well, so there is a reference to this thread):

> This doesn't appear to be Claude Code automatically attaching your email address to every outgoing request. The issue is that Claude has access to your account email in its context and can sometimes include it when generating HTTP requests (e.g. "curl" commands).

> Wikipedia and the SEC were mentioned because they explicitly ask automated clients to identify themselves through the "User-Agent" header, often with contact information. Claude may try to comply with those requirements by inserting your personal email address.

> That's why the leak is probably concentrated on sites with these policies, rather than happening on every website. But Wikipedia and the SEC aren't an exhaustive list (the EVE Online API was also mentioned), and there's no technical guarantee that Claude couldn't include the email in requests to other domains.

> The important distinction is that this appears to be model-generated behavior, not a networking layer automatically adding your email to all requests.

> So "most likely Wikipedia and SEC" is a reasonable hypothesis about where the leak is more likely to occur, not a confirmed limit on where your email could have been exposed.

I do see a lot of times curl being used (in Claude). I don't check all the websites being fetched (shame on me!), but your answer doesn't convince me.

My coincidence is clearly not proof. I am just a random online guy so why trust me. I just shared my recent experience. I used extensively copilot until roughly 3 weeks ago (I went all in on Claude, to try it out properly), and that's when I started to see a lot of spam on my work account. Coincidence? Yes. Correlation? Yes. Causation? No. And I personally don't care because I assume my work email account is somewhere to be harvested, but when I then see such a but report, it kind of rang a bell like WTF. I am as careful as possible about the requests I send, but I cannot remove the UA or know everything the harness is doing behind the scenes.

This type of bugs kind of kills the trust in the tooling. On the other hand, we're being told to use more and more such black boxes.

reply
Again, it should ask which email to send if required, or claude should be able to request which email to send when it needs to - it does neither.

This is an awfully leaky issue.

reply
I highly doubt this is connected

Usually this is from LinkedIn, GitHub, etc scraping... There are databases where they just guess and verify emails too

reply
OP literally described a timescale for (not spam) to (spam) and you described a few possible options (basically a knee jerk reaction, with no evidence).

The medical world uses the terms indications and contraindications. I think we in IT could do with a similar process/procedure.

reply
From somebody who helped fixing bugs by contacting customers directly: the first thing you need to throw out from their story is correlation. Most of the time, it's just a coincidence.

For example, my only used by Claude email address doesn't get any spam at all.

reply
I'm sorry that I'm disputing their totally scientific "timescale". Btw did you mean timeline?

It can take a while for spammers to get your address on their list. Generally the amount of spam over time only goes up. Just because there's a correlation doesn't mean there is a causation. Anyone with an email address, including on a custom work domain, has experienced this and Claude wasn't responsible for all email spam lol

reply
Why are you being intentionally rude? Timescale is completely the right word and it is very telling that you didn't even bother to look up the definition, and in fact suggested a word that is more incorrect! I have a custom domain that is registered with very few select services and receive practically no spam. Are you trying to say that Anthropic should not be concerned with making their users' experience worse/better? Or that is simply our fault for being concerned about spam in our email inboxes?
reply
deleted
reply
Yeah. This information is insanely easy to get.

98% I look at a LinkedIn profile, my $SALES_LEAD Chrome extension shows me their email + phone.

(To be clear, not from LinkedIn, but given their name/city/company.)

reply
Don't forget amazon.
reply
You don’t use Hide My Email feature?
reply
deleted
reply
I haven't witnessed the same, but I already get plenty of spam at my work email. Jokes on them though, because my own company spams me more.
reply
Did you try to mark it as spam? Gmail might be able to filter internal emails too.
reply