Is My Lovable App Exposing Data?
Short answer: it might be, if your Supabase tables aren't locked down. A study by the Hamburg company Crissy Field looked at public Lovable apps that use Supabase. On thousands of them, the researchers could read database records that held email addresses without logging in. The fix is in your Supabase settings: check Row Level Security (RLS) on every table.
Check your live app for free
Paste your link. The free summary usually takes under a minute.
See an example report (for example.org) · a real free scan of a test site, so you can see what you get
What the study found
Crissy Field says it did this research "in collaboration with Handelsblatt", and that "Lina Knees reported on the findings on November 2, 2026 (in German)". Its report adds: "This research report presents a more recent analysis and updated figures compared with the Handelsblatt article published on November 2, 2026." These are the report's numbers:
- They found 159,041 Lovable projects from December 2025 to September 2026, in a sample drawn from Common Crawl.
- Of these, 34,545 used Supabase.
- 24,664 websites sent database records from Supabase as soon as they loaded, with no login. The researchers say that alone is not a security issue, because the data may be meant to be public.
- By making more read-only requests with the same key, they found records containing email addresses in 10,560 tables across 7,403 of those 24,664 websites. That's about three in ten.
The researchers are careful about what this means. They say some email addresses may be public contact addresses or test data, and that their figure "should therefore not be read as a confirmed data leak rate." They also say their sample "is also not representative of all Lovable applications." (Crissy Field: Lovable research)
They also list real cases they found. These include a forum with more than 80,000 profiles and more than 200,000 chat messages, event and restaurant records with payment information and ticket codes, and more than 1,000 records with identity document details such as passport numbers. They say they "could not establish whether any of it had been misused."
Why it happens
Your Supabase public key (called the anon or publishable key) is in your app's front-end code. That's normal. Supabase's docs say of the publishable key: "Anyone can read it, so it only reaches what Row Level Security allows". (Supabase: API keys)
So RLS is what protects your data. Supabase warns: "A table in an exposed schema without RLS is readable and writable by any role with a grant on it. Enable RLS on every table in an exposed schema." (Supabase: Row Level Security)
The study looked only at Lovable apps that use Supabase. The same kind of mistake can happen in any app. The researchers write: "Access control mistakes can happen in any application, whether written by people or built with AI."
How to check your app
- Open your project in Supabase Studio and run the Security Advisor. Supabase says its advisors flag issues such as "misconfigured RLS policies." One check, Table publicly accessible, means a table in the
publicschema doesn't have RLS on. Supabase also says: "Some findings may be intentional." So check each one against what you meant to make public. (Supabase: Advisors) - Go through every table. Is RLS on? Does any policy use
using ( true )for theanonrole on a table that holds private data, like emails, messages, orders or documents? Supabase's own example of a policy like that is named "Profiles are viewable by everyone," which shows it makes the rows public. - Check which roles have grants on each table. Supabase says "Adding policies doesn't take those grants back," so a role you didn't mean to allow may still be able to insert rows.
- Make sure no secret key (or the older service_role key) is in your front-end code. Supabase says a secret key "bypasses Row Level Security, so it must never leave your control."
- If your app holds personal or business data, take the researchers' advice seriously. They write: "Automated checks are no substitute for a professional security assessment."
Fix prompt for your AI builder
You can paste a prompt like this into Lovable, or into Bolt, Cursor or a similar tool:
My app uses Supabase. Please:
1. List every table in the public schema and say whether Row Level Security is enabled.
2. Enable RLS on every table in the public schema.
3. For each table, show me the current policies. Flag any policy that lets the anon role read or write rows with using (true) on a table that holds personal or private data.
4. Show me which roles (anon, authenticated) have grants on each table.
5. Propose policies so users can only read and change their own rows (for example auth.uid() = user_id), and keep public only what is meant to be public.
6. Show me every change before you apply it.What the rooGBotVC scan checks (and what it doesn't)
Paste your app's URL in the box at the top of this page. The scan looks at your live site like a visitor would. It reads the HTML tags on the page you scan, its inline scripts and up to 15 script files from your own site. It looks for leaked secret keys (including a Supabase service_role or secret key), open /.env and /.git files, public source maps, security headers and HTTPS.
If it finds your Supabase project and public key, it shows a note reminding you to check your RLS.
The scan does not test your RLS. It doesn't log in to your database or read your tables, and it doesn't run JavaScript. Use the Security Advisor steps above for that.
Related reading
- Is my Supabase anon key safe to expose?: why the public key is fine, and what really protects your data.
- Supabase keys: what to do if a service_role or secret key is in your front-end code.
- Lovable guide: other things to check on an app built with Lovable.
- Can one user see another user's data if they change the ID in the URL?: a two-account check the scan cannot run, because it does not sign in.
The bottom line
The Crissy Field study found readable records with email addresses on thousands of public Lovable apps that use Supabase, though the researchers say that's not a confirmed leak rate. The fix is the same for any Supabase app: turn on RLS for every table, check every policy and grant, and keep secret keys off the front end.
Related guides
This is an automated, surface-level check of what your site shows the public. It is not a full security audit.