Guide · Free tool
API key leak checker: is this key safe to show?
Found a key in your app’s code and not sure if it is a problem? Paste it below. Some keys are meant to be in your website, like Supabase’s public key or Stripe’s checkout key. Others are secrets that let a stranger spend your money or read your data. This tells you which, in plain English, and what to do.
Your key never leaves this page. The check happens in your own browser: it is not sent to us or anyone else, and it is not saved.
Checked only in your browser. The key is never sent to us or anyone, and never saved.
Which keys are meant to be public?
- Supabase public key (starts with
sb_publishable_, or the older anon key). Safe only if every table has row level security on. Why the anon key is safe to show. - Stripe checkout key (starts with
pk_live_orpk_test_). Made for your payment page. - Analytics and map keys, like PostHog or Mapbox public keys. Limit map keys to your own web address.
Which keys must never be in your website?
- Supabase admin key (
sb_secret_, or the older service role key). It ignores every table rule. - Stripe secret key (
sk_live_) and restricted keys (rk_live_). They can move money. - AI keys from OpenAI (
sk-) and Claude (sk-ant-). Anyone holding one runs up your bill. - Email, cloud and code keys: Resend, SendGrid, Amazon Web Services, GitHub.
What about Google keys?
Google keys start with AIza and look the same whether they are for Firebase or Maps, which are meant to be in a website, or for Gemini, Google’s paid AI, which is not. The key alone cannot tell you. Look in Google Cloud under Credentials at what the key may use, and limit it to your own web address.
I found a secret key in my site. What now?
Make a new key in that service, delete the old one, and move the new one to your server. Deleting it from your code is not enough: anyone who copied it before still has it. The full steps when a key is exposed.
GuardCue checks apps built with Claude, Lovable, Bolt or any other AI tool and explains what it finds in plain English. The free check reads the code your site sends to every visitor and tells you if a secret key is in it.