← Blog · 21 October 2026

Is my API key exposed in my Lovable or Bolt app? How to check in a few minutes

Quick answer: open your live app, press F12, and search the loaded JavaScript for sk-, sk_live_, service_role and AKIA. If you find one, treat the key as stolen. Or paste your app's address into the free Vibe-App Watchdog scan and we check it for you, without logging in or touching your data.

Why this happens in vibe-coded apps

When you ask Lovable, Bolt or Cursor to "add AI" or "add payments", the fastest working answer is sometimes to put the key straight into the front end. It works on the first try, so nobody notices. But everything in the front end is downloaded by every visitor. Anyone who opens the browser's developer tools can copy the key and use it on your bill.

Automated tools scan public code for keys. If one finds yours, someone else can use it, and a leaked OpenAI or Stripe key can lead to unexpected bills.

Which keys are fine to show, and which are not

Some keys are made to be public. Others must never leave your server.

The quick manual check

If nothing shows up, good. If you are not sure what you are looking at, run the free scan. It shows any key it finds only in masked form and never saves it.

Found a key? Do this today

Keep an eye on it

Keys can come back when an app changes. Vibe-App Watchdog runs a passive outside check of your live app and gives you a score from 0 to 100 with plain-language tips. The first scan is free: check your app now.

Related: Is a secret API key hiding in your app's frontend?