Ask HN: Do you sanitize secrets before pasting code into ChatGPT?

https://news.ycombinator.com/item?id=46052097
by giovanella • 8 months ago
2 7 8 months ago

I use AI assistants (ChatGPT/Claude) heavily for debugging, but realized I'm constantly pasting code that contains API keys, database credentials, and customer emails.

I try to manually redact them but honestly forget half the time.

Questions: - Is this actually a security risk? - How do you handle this in your workflow? - Would you use a tool that auto-sanitizes your clipboard?

Trying to figure out if this is a real problem or just me being paranoid.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com