OpenAI API Key Exposed? What to Do in the Next Hour

Illustration of an exposed OpenAI API key being revoked and replaced, with a clock showing the first hour

Your OpenAI API key is exposed. The short answer is: revoke it first, and do it now. Everything else — the replacement key, the usage check, the spending cap, finding how it leaked — comes after, because none of it matters while the old key still works. An OpenAI API key is a bearer credential. […]

Is Your Lovable App Leaking the Supabase Service Role Key?

Illustration of a master key slipping from a server vault into a browser window beside a small app

Yes, it might be — and this is the one leak in a Lovable app that no database setting can save you from. The Supabase service role key bypasses every Row Level Security rule you have. If it has reached your app’s browser bundle, anyone who opens your site can read, change or delete every […]

Vibe-Coded App Security Checklist: 25 Checks Before You Launch

Illustration of a pre-launch security checklist with ticked boxes beside a small app window protected by a shield

This is the vibe-coded app security checklist to run before you launch: 25 checks across six areas — secrets, database rules, auth, money, input and code, and launch readiness. How to use this checklist The critical eight are the launch gate. Checks 1, 5, 6, 10, 12, 14, 15 and 22 are marked ★ below. […]

Is a .env File Secure? What It Protects and What It Doesn’t

Illustration of a plain text .env file with its secrets visible through four open doors: a git commit, a web server, a laptop process and a shipped software bundle

No — not on its own. A .env file is a plain text file. It has no encryption, no password, no access control and no record of who read it. Anything that can open the file can read every secret in it, in clear text. That does not make it useless. A .env file protects […]

How to Keep API Keys Away From Claude Code, Cursor and Other AI Agents

Illustration of an AI coding agent working on code behind a barrier, with API keys kept in a locked vault on the other side

Yes — but not with a single setting. An API key reaches an AI coding agent through three different routes, and each one needs its own fix. A .gitignore entry stops git from committing your .env file. It does nothing about the agent reading that same file while it works, nothing about a key you […]

Is the Firebase API Key Secret? What Really Protects Your Data

Illustration of a Firebase config file labelled as a public identifier beside a shielded database, showing the key is public but the data is locked

No. The Firebase API key is not a secret. It is a public identifier that tells Google which Firebase project your app belongs to. It ships inside your app’s code, anyone who opens your app can read it, and Firebase’s own documentation says that is fine. What protects your data is not the key. It […]

Firebase API Key Exposed on GitHub: Is It Actually a Problem?

Illustration of a Firebase config file in a public GitHub repository beside a shielded database, showing the key is public but the data is locked by rules

Your Firebase API key is on GitHub, and GitHub — or a scanner, or a worried teammate — has flagged it. The short answer is: usually not a problem by itself, but it is a problem if the things behind the key are not locked down. The key is not a password. It is a […]