Secrets and keys
API keys, database credentials and service tokens that ended up in the client bundle, the repo, or the repo history.
What goes wrong if nobody asks
Ask your AI
I'm about to launch an app I built with an AI coding tool. I want to check for exposed credentials: API keys, database credentials and service tokens that ended up in the client bundle, the repo, or the repo history. List every API key, token and secret this app uses, and say exactly where each one lives: in the client bundle, in an env file, or in the repo. Which of those can a visitor see? A good answer is a short list, each key named and placed, for example "Supabase service role key, in the client bundle, visible to anyone", with the ones that are exposed called out, and a fix for each: move it server-side, rotate it, restrict it.
Paste it into a fresh session of your AI tool, or download the prompt as a file and drop it into your agent. It carries the context, so nothing else is needed.
The technical name, for search: exposed credentials — secrets in the client bundle or the repo history.
Go deeper: Is my AI-built app safe to launch?