frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Claude Code is leaking real email address as a User-Agent string in curl command

https://github.com/anthropics/claude-code/issues/78431
34•matada_•1h ago

Comments

rvz•59m ago
Then don't use Claude Code.

Just yet another reason to use an open source harness instead of a closed harness.

itsmeduncan•57m ago
Agreed, and run your own inference too. Open source/weight models are getting so great.
anotherboffin•42m ago
Any good pointers on how/where to get started?
pixelatedindex•52m ago
This comment implies that Claude Code is a harness, but as an AI newbie I don’t think that’s a harness? If anything it’s just a sandbox, right?
simonw•51m ago
Claude Code is definitely a harness. The term harness is pretty loosely defined, but it effectively means the software that wraps an LLM, asks the LLM what tools it should execute, then executes those tools.

I wouldn't classify Claude Code as a sandbox, though it does have some sandbox features built in, using https://github.com/anthropic-experimental/sandbox-runtime (which I would classify as a sandbox)

jaapz•49m ago
It is a harness, it provides tools for the model to do their job (coding).
simonw•52m ago
I don't see how an open source harness would prevent a case where the model tells it to run:

  curl -A "me@example.com" https://example.com
uberman•47m ago
Opus once recommended such a thing to me and it was no secret. I used it as after thinking about it, I concluded it was not reasonable. I can see why someone might not like that though. I left it as "my" email but there is also no reason I could not have used "your email" here so I'm not sure what the fuss is.
cautiouscat•47m ago
A FOSS harness wouldn't have your email in the first place.
simonw•39m ago
It would if you shared it with that harness, or left it in a file or environment variable to that agent.

Claude Code does seem to know my email address by default though:

  claude -p \
  --setting-sources "" \
  --tools "" \
  -- \
  "What is my email address?"
cautiouscat•34m ago
Correct, but Claude literally pulls it from your account info, without you telling it. I know this because I've seen it say "your account email is <email>" and I use a unique email per account and guess what, it was my Claude one!
simonw•56m ago
This is not a good bug report - it provides no details at all, and the steps to reproduce are not steps to reproduce.

The most important missing detail is what curl was being used for. I've seen APIs that require extra details in the user-agent to work. Was it one of those?

(Still not acceptable for Claude to leak an email address like this without explicit confirmation from the user, but it's hard to investigate what happened without more information than was provided here.)

the_mitsuhiko•49m ago
I have never ever seen this behavior. For something that shows up on hackernews I would expect at least someone to provide a way to reproduce it.
cautiouscat•48m ago
It's an awful report. Historically though I've encountered this, even to the point where it put my full name into something without me asking it to. It was documentation, and I caught it but I wouldn't have been happy about it.
minraws•46m ago
I get the point, but they are advertising to the tech non-inclined, and the non-software developers aka the masses both Anthropic and OpenAI.

They should be a lot more proactive in figuring these things out, they store and see the logs, they can pre-emptively fix, any cases where they see the model issuing a curl with user's email or other private information in auto mode.

It's trivial to do it with prompt injection ofc, but even otherwise as much as I would hate these bug reports, these aren't bug reports on a small indie hacker man project. That's a $100B product, and the fix seems relatively trivial.

They could make it opt-in or opt-out after the first approval, I don't see why this issue has been open for so long in general.

goldenarm•54m ago
I respect Anthropic for dogfooding and vibecoding their own products.

The unfortunate consequence is low quality engineering and a billion dollar product with 15k pending Github issues.

cr3ative•54m ago
No logs provided. No replication case. A month old, un-responded to issue. The template for a bug report filled out completely incorrectly.

What is this doing here? If OP is the person responding, could they not at least have provided those details to help the bug report become more well rounded?

The mind boggles. While this isn't a great example, I'm worried about the direction "developers" are going in.

tosh•53m ago
is this confirmed? this is a github issue with little context and only one comment
uberman•51m ago
I can confirm that Opus on the web once generated a CURL that used my email as the user agent string. Though I did not see any issue with that and used the command it offered as is.
cautiouscat•49m ago
I've 100% seen it do this. I've even seen Claude say "because your account email is <email>, I've included it in the <whatever it was doing>". It should ask before divulging information like that, IMO.
raincole•52m ago
(A single user claimed that) Claude Code is leaking real email address as a User-Agent string in curl command.

Fixed for you!

sixhobbits•49m ago
This happened to me too. Not 'Claude code' as such but I was doing some I guess slightly grey area scraping (of an undocumented public API) and got my IP address blacklisted. I signed up for some rotating residential proxies to get around that, and then noticed that the scraping system Claude had built for me 'helpfully' added my email address as a user-agent.

It mentioned that it decided to do this so that they could reach out to me and ask questions instead of blocking me again, but still probably one of the strongest cases of misalignment I've seen from an AI

uberman•45m ago
Essentially the same happened to me but my conclusion was that this was reasonable and I left it as is. I don't personally see this as misalignment though I can see some being surprised by it.

I also what to be clear that there was no obfuscation here. Opus said as I recall. "Let's use your email as the agent string here because ..." and my thought was: Good idea, hopefully if they saw something in the logs that caused them to find this they might view my scraping as benign or contact me rather than try to ban me"

icase•47m ago
this happened to me and it was shocking.

the model got a good “what the fuck is wrong with you” talking-to after that.

ashu1461•47m ago
Not even sure if the bug is real / has been solved. Tried it out here :

https://postimg.cc/Sj1XnM0t

matada_•41m ago
fair point, I'm not the author. I updated my comment with more info https://github.com/anthropics/claude-code/issues/78431#issue...

England set to be one of the first countries to eliminate hepatitis C

https://www.bbc.com/news/articles/c75gk620r22o
222•stevekemp•2h ago•120 comments

Apple Silicon and macOS VMs: 11–16× Faster LLM Inference with Llama.cpp

https://github.com/trycua/cua/blob/main/blog/gpu-passthrough-macos-vms.md
30•frabonacci•40m ago•6 comments

Show HN: Git-knife – edit commit messages, authors, and dates like a spreadsheet

https://github.com/TheRealYT/git-knife
12•YonathanTesfaye•21m ago•3 comments

Stealing Reasoning Traces from Proprietary LLM APIs

https://stolen-thoughts.com/
67•quantumgarbage•2h ago•21 comments

Nvidia's Risky Business

https://stratechery.com/2026/nvidias-risky-business/
110•jonbaer•5h ago•27 comments

Launch HN: Keet (YC S24) – An app to create video courses on anything

https://www.trykeet.com/
7•zackashen•42m ago•4 comments

France to ban unsolicited telemarketing calls

https://www.lemonde.fr/en/france/article/2026/08/06/france-to-ban-unsolicited-telemarketing-calls...
747•aziaziazi•7h ago•377 comments

As AI eats the web, the internet’s collective memory is disappearing

https://thewalrus.ca/google-search-is-dying/
614•awnird•16h ago•687 comments

H3-metal – Native MiniMax-H3 inference for Apple Silicon

https://github.com/antirez/h3.c
373•swyx•14h ago•81 comments

Why Did OpenAI's Head of Ethics Chloé Bakalar Leave?

https://aimagazine.com/news/why-did-openai-head-of-ethics-chloe-bakalar-leave
37•ashurandi•1h ago•30 comments

The US tried to stop cartel money-laundering; devastated mom-and-pop businesses

https://www.theguardian.com/us-news/2026/aug/11/us-mexico-border-area-money-transfer-rule-change-...
24•hedora•1h ago•4 comments

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
452•HenryNdubuaku•22h ago•159 comments

What I learned by putting GitHub Copilot behind a MitM proxy

https://www.lighthousenewsletter.com/p/i-put-github-copilot-behind-a-mitm
60•j0selit0•4h ago•5 comments

Mark Zuckerberg attacks 'closed' AI rivals as Meta returns to open models

https://www.ft.com/content/4e3957f8-ea7c-4c46-a3de-cdce8e526878
574•root-parent•1d ago•550 comments

$580M undersea cable rerouted to avoid the grave of Dobby the House Elf

https://www.tomshardware.com/networking/usd580-million-undersea-cable-rerouted-to-avoid-the-grave...
28•rbanffy•1h ago•24 comments

Manus will return to operating as an independent company

https://manus.im/blog/a-note-to-our-users
4•thm•1h ago•0 comments

LFM2.5 2.6B model competitive with 4x larger models

https://huggingface.co/LiquidAI/LFM2.5-2.6B
125•nateb2022•6d ago•34 comments

Chicken Scheme 6.0

https://code.call-cc.org/releases/6.0.0/NEWS
250•eatonphil•15h ago•39 comments

Nvidia Nemotron 3.5 Lightning

https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
49•beklein•2h ago•13 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
249•Alen123•16h ago•90 comments

Halcyon Video – a 3D video store for your media server

https://github.com/halcyon-video/halcyon-video
6•Gander5739•4d ago•0 comments

The “mechanical miracle” that ruined Mark Twain’s life

https://resobscura.substack.com/p/the-mechanical-miracle-that-ruined
179•benbreen•6d ago•94 comments

How Claude marks AI-generated content

https://support.claude.com/en/articles/16266773-how-claude-marks-ai-generated-content
315•mfiguiere•17h ago•275 comments

Stowaway – Take the window seat on any plane or satellite overhead

https://stowaway.live/
351•thunderbong•4d ago•44 comments

Recycle – Floppydisks

https://www.floppydisk.com/recycle
98•calvinmorrison•13h ago•43 comments

Immersion lithography saved Moore's Law (2023)

https://www.asml.com/en/company/stories/2023/how-immersion-lithography-saved-moores-law
35•wsgeorge•4d ago•0 comments

Faster floating point math with Rust's new API

https://pythonspeed.com/articles/faster-float-math-rust/
78•subset•5d ago•26 comments

Sonic Pi v5

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
411•samaaron•4d ago•103 comments

Rust SIMD on the GPU

https://www.vectorware.com/blog/simd-on-gpu/
208•sagacity•21h ago•103 comments

The UK's war on anonymity has come to America

https://www.effort.news/uk-lobby
596•slowin•15h ago•635 comments