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

Source: github.com
38 points by matada_ a day ago on hackernews | 29 comments

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

you stupid agent used my real email as user agent string without asking anything

What Should Happen?

asked for a tool for analyze used email as part of UA without asking

Error Messages/Logs

Steps to Reproduce

email address sent in header User-Agent without explicit confirmation

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.1.212

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

using sonnet 5.0