Is my Lovable app secure? A 10-minute outside check you can run yourself
Lovable's built-in scan reviews your project. It does not tell you what a stranger sees on the live site. Here is a ten-minute outside check you can run yourself on any Lovable, Bolt, Replit, Cursor or v0 app you own. 1
Lovable's built-in scan reviews your project. It does not tell you what a stranger sees on the live site. Here is a ten-minute outside check you can run yourself on any Lovable, Bolt, Replit, Cursor or v0 app you own.
1. Search the deployed JavaScript for secrets
Open your live app, open DevTools, Sources, and search the main JS files for service_role, sk-, sk_live, AKIA and -----BEGIN. A Supabase anon key is meant to be public. A service_role key, an OpenAI or Anthropic key, or a Stripe secret key is not. If you find one, revoke it at the provider first, then move the call to a server route.
2. Check for files that should not be public
Visit /.env, /.env.production and /.git/HEAD on your domain. Any real content means every secret in that file is exposed.
3. Check source maps
Search the bundle for sourceMappingURL. If the .map file loads in the browser, your original source is public.
4. Check your Supabase tables without logging in
With only the anon key your site ships, a table that returns rows to a visitor is open. Turn on Row Level Security for every table and write a policy per operation (select, insert, update, delete) tied to the owner column. Then test with three sessions: signed out, the owner, and a different user.
5. Check CORS and headers
A wildcard Access-Control-Allow-Origin on a JSON API, or a reflected origin together with credentials, can expose logged-in responses. Add HSTS, a Content-Security-Policy and X-Content-Type-Options.
What this cannot tell you
Server code, login logic and anything behind a sign-in. A clean outside check means no leaks were found in what the app ships publicly, not that the app is secure.
ProofForge runs these public checks read-only: no login, no writes, and it never uses a key it finds. It returns a graded report and fix prompts for Lovable, Bolt, Replit, Cursor and v0. Free scan, first fix free: https://proofforge.live/check/lovable
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.