Hacker News new | past | comments | ask | show | jobs | submit
This explains the amount of spam emails I am receiving in the work email since I switched to Claude. I used to work with copilot which was fine. Now I am getting really a lot of spam emails almost on a daily basis. Absolutely crazy. And they are even personalised with my name and surname, not just "dear customer"...

Stupid me, I thought they somehow had hacked my company database or so... (considering all the cves, attacks happening on a daily basis...).

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.

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.
loading story #50394131
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.

loading story #50389349
What if instead of an email address a site asks it to send every kv pair in your env file as an individual header?
But if I wanted to collect data I could just change my website’s download policy and require full name and email?
loading story #50387133
loading story #50390931
Why does Claude have access to to your email or any other info about the user by default?
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.

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.

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

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.

loading story #50387239
loading story #50386990
{"deleted":true,"id":50387388,"parent":50386564,"time":1793932073,"type":"comment"}
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.)

Don't forget amazon.
You don’t use Hide My Email feature?
{"deleted":true,"id":50388308,"parent":50388256,"time":1793940171,"type":"comment"}
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.
Did you try to mark it as spam? Gmail might be able to filter internal emails too.