Re:Lost $300 due to an API key leak from "vibe coding" – Lea...
by tdeck on Tuesday September 16, 2025 @06:00AM
(#45260206)
People keep doing this, so I don't see that it hurts to explain why, how, and what to do instead. Maybe this will click with someone who was about to make this mistake.
I uploaded my API key to a public repository
I learned not to do this.
Never upload your API key to a public repository.
Ok.