Is my Lovable app secure? A 10-minute self-check

By Luca Gennaro · 18 November 2026

It can be, but it isn’t secure by default: whether your Lovable app is safe depends mostly on the database rules (Row Level Security, RLS) and on which keys end up in the browser, and the AI that built the app does not reliably get either one right. You can check the basics yourself in about ten minutes, without any tools, using only your own app and accounts.

This is a self-check for founders, not a security test. Read the rules, click through your own app, write down what looks wrong. For the technical detail behind each point I link to my longer article, 7 Row Level Security checks before shipping your Lovable/Supabase app, instead of repeating it here.

What others have found

I have not measured how common these problems are, so here is what third parties report. According to Superblocks, a vulnerability tracked as CVE-2025-48757 affected more than 170 Lovable apps whose tables lacked proper RLS, and Lovable’s built-in scan at the time checked that policies existed, not whether they actually blocked access. According to a DEV Community author who manually reviewed 50 deployed Lovable repositories, 89% had no RLS and 34% had the service-role key in client code. That is one small, informal sample, so treat the percentages as a warning sign, not a statistic about your app. And according to the Supabase documentation, a table in an exposed schema without RLS is readable and writable by any role with a grant on it, and a secret key must never be used in the browser.

The 10-minute self-check

1. Two accounts, one question (3 minutes)

Open your own app in a normal window and a private window. Sign up two test users, ideally in two different “companies” or workspaces, and create something private with the first one: a project, an invoice, a note. Now look at everything the second user can reach: lists, search, shared links, exports, the dashboard. If the second user sees anything of the first, you have the most serious kind of problem, and it is almost always a database rule, not a screen. Use only your own app and test accounts.

2. Run the checks the platforms give you (2 minutes)

Lovable offers a security scan, and the Supabase dashboard has a built-in Security Advisor under Advisors. Run both and read every warning about RLS, exposed tables or functions. Know their limit: a scan that finds “a policy exists” does not prove the policy is right. A clean result is a good sign, not a clean bill of health. The technical fixes are in check 1 and check 2 of the RLS article.

3. Search your code for secrets (2 minutes)

Use the search in your editor or GitHub repository for service_role, secret, sk_, private and .env. The public (anon/publishable) key in the browser is normal. A service-role or secret key, or a paid AI provider key, anywhere in front-end code or in a variable starting with VITE_ or NEXT_PUBLIC_ is not. If you find one, treat it as leaked: rotate it first, then ask for the call to be moved to a server function. More in check 7.

4. Log out and type the address (1 minute)

In a private window, without signing in, open the address of an internal page: /admin, /dashboard, /settings. Then sign in as a normal user and try the admin pages. Hidden buttons are not security. If a page loads, or even loads and then redirects after showing data, the check lives in the screen and not in the database. See check 3.

5. Look at who and what can get in (1 minute)

Is your GitHub repository public, and does it contain anything you would not print on a poster? Are there old collaborators, test accounts or admin invitations you forgot? Is two-factor authentication on for Lovable, Supabase, GitHub and your domain provider? Most real-world access to a small app comes through accounts, not clever exploits.

6. Name your worst data (1 minute)

Write down the most sensitive thing your app stores: names and emails, payment status, documents, health or ID data. The answer sets how much checking you need. A to-do list with no personal data needs a light review. Customer contracts or personal documents deserve a proper look before you launch, and a second pair of eyes after every large AI-generated change.

What to do with the results

Any problem in check 1, 3 or 4 means: stop sharing the app widely, fix it, then re-test with the same two accounts. Keep that test and run it again after every big change the AI makes to your database, because AI edits are exactly when rules get loosened to make an error message disappear.

If everything looks fine, you have covered the obvious ones, not all of them. This checklist does not look at policy logic, storage rules, database functions or business-logic abuse.

When a second pair of eyes helps

If your app holds other people’s data and you would rather not guess, I do fixed-price written security reviews: $150 for an audit with a written report, $350 if I also fix the critical and high issues and check each fix with a test. It is all by email, no calls. I work with your written permission, on a local copy built from your code and migrations, never on real user data. You can see what a report looks like in my public demo review and the details on the audit page.

An honest limit: I am not a certified penetration tester. What you get is careful, reproducible work with tests you can rerun yourself, not a certification or a guarantee that nothing else can go wrong.