Developer reminder: the front end has no secrets.
A dev had Claude build their app using “vibe coding.” The Stripe and Resend keys ended up in the public JavaScript, and then hundreds of unauthorized requests came in.
An API key can be revoked. A private key exposed on a web page? No one can revoke it: your $BNB were gone before the alert appeared.
What I do:
- no private keys or secret phrases in a website, a questionable extension, or a shared file;
- secrets stay server-side, never in the repository;
- human review before every release, even when the AI sounds confident.
AI types faster than I do. It’s never lost money, though.
A dev had Claude build their app using “vibe coding.” The Stripe and Resend keys ended up in the public JavaScript, and then hundreds of unauthorized requests came in.
An API key can be revoked. A private key exposed on a web page? No one can revoke it: your $BNB were gone before the alert appeared.
What I do:
- no private keys or secret phrases in a website, a questionable extension, or a shared file;
- secrets stay server-side, never in the repository;
- human review before every release, even when the AI sounds confident.
AI types faster than I do. It’s never lost money, though.