Is my Lovable app secure? What to check before launch
Check what your Lovable app sends to every visitor: secret keys in its JavaScript and database tables anyone can read without logging in. Paste the address into a scan to see both, then fix each with a prompt to your AI.
How Lovable apps are usually built
Lovable builds a React front end and connects it to a Supabase database for data, sign-in and storage. The browser talks to Supabase directly with the project’s public (anon or publishable) key, so what protects your data is the Row Level Security policy on each table.
What goes wrong
- Secret keys in the JavaScript: a key the browser can see is a key anyone can copy. Stripe, OpenAI and Anthropic keys get used to run up bills; a Supabase service_role key opens the whole database.
- An open database: Supabase tables without Row Level Security can be read by anyone holding the public key, which every visitor already has.
- Source maps left public, which publish your source code next to the app.
- Nobody watching: the app goes down at night and the first to notice is a customer.
Specific to Lovable
A table created without Row Level Security, or with a policy that allows everyone, is readable by anyone who opens the app. Ask Lovable to show you the policies on every table before you share the link.
How to check it
- Paste your app’s address at netwarden.com/scan. It reads your pages and JavaScript the way any visitor can.
- Each finding says what is open and what someone could do with it, with a prompt to paste into your AI.
- Claim the app to keep it checked, and add an uptime check so you hear when it goes down.
A prompt to paste into your AI
Go through this project and find every secret key, token or password in code that runs in the browser, including environment variables the build exposes to the client. Move each one to server-side code or an edge function, and tell me which keys I must rotate because they were already published.