A wild story of a dev doing "vibe coding" with Claude, leaking his Stripe API keys on the frontend, and flexing about it on LinkedIn. Reddit devs are roasting him alive.

The "vibe coding" hype is real right now—just vibe with your prompt, and the AI magically spits out a full-stack app. But reality hits different, folks. A recent story just dropped about a dude who literally served his Stripe API keys on a silver platter to the internet, all because he trusted Claude a bit too much.
So here’s the tea. This guy (probably lazy, probably a bit too overly optimistic about AI) decided to build a site using Claude. This wouldn't be news if his approach to security wasn't a complete dumpster fire.
Instead of manually handling his environment variables or, you know, actually reading the code, he threw some purely spiritual prompts at the AI: "make sure all our api keys are not on the front end" and topped it off with the legendary "All the security measures are taken."
Result? Claude probably responded with "Sure thing, boss," but the actual code generated left the Stripe Secret API keys hanging out completely exposed on the client side. Big yikes!
The aftermath was brutal. The moment the site went live, malicious bots scraped it and used the API for credit card testing. His Stripe account got hit with massive fee charges.
But the wildest part? He didn't just quietly hotfix it in shame. He wrote a whole essay on LinkedIn flexing about his startup journey. Reading his post, it tracks that he wasn't sweating the fact that he exposed users to credit card theft; he was just salty about his wallet taking a hit from Stripe fees.
His ultimate takeaway from this whole fiasco? "I was just one prompt away." Delusional!
Unsurprisingly, the web dev community on Reddit had an absolute field day with this.
First came the mocking of the "Prompt Engineers". People were dying laughing at the "just make it secure bro" prompt. One guy sarcastically noted, "Yeah, I’m sure that will make it crystal clear for Claude." Newsflash: AI isn't sentient. It doesn't know your deployment architecture.
Then came the heavy sarcasm. One user dropped this gem: "I always feel it's best to publish API keys in public... that way others can help you find it if you lose it." Painful, but hilarious.
Lastly, the sheer disbelief. Many devs couldn't fathom the audacity of posting this colossal fuck-up on LinkedIn for recruiters to see. Someone went to check the original post and reported back: the guy was actually in the comments defending his actions. Absolutely unhinged.
Look, AI is amazing. It codes fast, helps you debug, and saves time. But remember, AI is basically a junior developer on steroids who types really fast but hallucinates occasionally. It is NOT your Senior Tech Lead.
"Vibe coding" is fine for a weekend hackathon, but when you are shipping to production and actual money is involved, turn off the vibes and turn on your brain. Security is not a magical string you append to a prompt. It’s about environment variables, CORS, rate limiting, and the golden rule: Never trust the client.
Don't wait until your server crashes and your bank account drains to realize you played yourself. If you copy-paste blindly without reading, that's on you, not the AI.
Alright, if you're currently "prompting" your app into existence, go check your .env file right now before you wake up tomorrow as the king of debt.