A recent audit of apps built with Lovable found many cases where personal and confidential data was accessible without logging in. The work was done by the Hamburg firm Crissy Field, with the German newspaper Handelsblatt, using Lovable projects found in the Common Crawl web archive from December 2025 to September 2026. The figures, as the report states them:
- 159,041 Lovable projects examined.
- 34,545 of those used Supabase.
- 24,664 sites sent database records as soon as the page loaded, with no login. The researchers say that alone is not a security issue, because some of that data may be meant for public display.
- Further read-only requests found records containing email addresses in 10,560 tables across 7,403 of those 24,664 sites (30%).
They are careful about that last number. An email might be a public contact or test data, and this method also misses personal records with no email. They say the 30% figure should not be read as a confirmed data leak rate, and that their sample is not representative of all Lovable apps. Some posts have treated the 34,545 Supabase projects as "leaked apps." That is not what the report says.
What they did confirm is serious enough: a lifestyle forum that exposed more than 80,000 profiles and more than 200,000 chat messages, and a service provider that exposed more than 1,000 records with passport numbers. They could not establish whether any of the data had been misused.
Why this happens
Lovable apps usually talk to Supabase straight from the browser. To do that, the app ships two values to every visitor: the project URL and the anon key (newer projects call this the publishable key). Both are meant to be public, and anyone can copy them from your page.
The key is not what protects your data. Grants decide whether a role may read or write a table at all. Row Level Security (RLS) policies decide which rows that role may touch. If a table has RLS turned off, or a policy that allows everyone (for example using (true) on private data), your login screen is decoration. A stranger can request the table with only the public key.
How to check your own app
Do these steps only on a project you own.
- In the Supabase dashboard, open Database → Tables. Any table in the
publicschema marked "RLS disabled" is unprotected. - Open Advisors → Security Advisor. It flags tables without RLS and policies that are too open.
- Test the API the way a stranger would, using only your public key and a logged-out request:
curl "https://YOUR-PROJECT.supabase.co/rest/v1/YOUR_TABLE?select=*&limit=5" \ -H "apikey: YOUR_PUBLISHABLE_OR_ANON_KEY"A good result is an empty list, or a permission error. A bad result is real rows of private data. If you use a legacy anon key and get a 401, add
-H "Authorization: Bearer YOUR_ANON_KEY". Do not do that with the newer publishable keys; they are not JWTs. - Check storage buckets. Public buckets are fine for marketing images. Invoices, ID scans, and private uploads should live in a private bucket, with policies on
storage.objects, and be served through signed URLs. - Search your frontend and git history for the Supabase
service_rolekey (and the newersb_secret_keys). These bypass RLS completely and must never appear in browser code or in variables likeVITE_…orNEXT_PUBLIC_…. If one leaked, rotate it under Project Settings → API, then update only your server-side code.
How to fix it
Enable RLS on every table in an exposed schema, then write per-user policies:
alter table public.notes enable row level security;
create policy "Users read own notes" on public.notes
for select to authenticated
using (auth.uid() = user_id);
Add matching insert, update, and delete policies with with check so a user cannot create or reassign a row for someone else. For data that really is public, a read-only using (true) policy on select is fine. Just don't put that on private tables.
Run the logged-out request again after you change the policies. For grants, views, and storage policies, see our Supabase RLS checklist.
A complementary check, not a substitute
I made ShipCheck, a free pre-launch scanner at tryshipcheck.com. It fetches your live page and the JavaScript it ships, and flags leaked secrets (including a Supabase service_role JWT), publicly downloadable .env or .git files, missing HTTPS and security headers, and broken link-preview images.
It does not test Row Level Security, and it does not try to read your database. It also does not yet detect the newer sb_secret_ key format, so search for that by hand. A clean ShipCheck score does not mean your tables are private. Do the dashboard and logged-out checks above for that, then run a free scan for the things it does catch.