Lovable security checklist
Pre-launch security checklist for apps built with Lovable: secrets, auth, database rules, and headers.
Check your live site
Knock out two items on this list in 10 seconds: paste your live URL and we'll check your JavaScript for secret keys and whether /.env or /.git is public.
Uses 1 of your 3 free scans today; a site scanned in the last 24 hours answers from that scan. Passive and read-only: we only look at what any browser can see. Only check sites you own or may test.
What the free scan checks
- Leaked keys in your live JavaScript (AI, payment and cloud keys), including a Supabase
service_rolekey - Files that should never be public, like
/.envand/.git - Supabase and Firebase secrets in the browser: an
sb_secret_key, a Supabase access token or a Firebase service-account file - HTTPS and security headers (CSP, HSTS, clickjacking protection)
It only reads what any visitor's browser can see. It doesn't log in, read your tables or check App Check.
Related free check: Is your Supabase app exposing more than it should?
Lovable apps are usually Vite/React on Supabase. Watch for service_role in generated components and tables created in the dashboard without RLS.
Checklist before you share the URL
- [ ] No
service_role,sk_live_,sk-(OpenAI), or AWS keys in client bundles - [ ] Paid API calls go through a server/edge function
- [ ] Every Supabase table has RLS on with real policies (not
true) - [ ] Firebase rules require
auth != nullwhere data is private - [ ]
/.envand/.git/HEADreturn 404 on production - [ ] Auth guards on every API route that reads or writes user data
- [ ] Basic headers: HTTPS, HSTS,
X-Content-Type-Options: nosniff, a CSP you understand - [ ] Re-scanned after the last big AI change
Review this Lovable app for production security. Move all secret API keys to server-side functions. Enable Supabase RLS (or tighten Firebase rules). Block .env and .git on the host. Add auth checks on API routes. Summarize every change you make.
Related: Hide API keys · Fix it and prove it
Scan your app free
Paste your URL. ShipLatch checks for leaked keys, exposed /.env and /.git, and flags Supabase/Firebase so you know what to lock down. The free scan finds the issues; the $29 Fix Pack gives you fix prompts written for your app and re-scans that prove each fix worked.
Want the whole pre-launch process in one place? See what's inside App Security for Vibe Coders, our $9 PDF playbook, or go straight to checkout.