Guide
Is my Lovable app one of the ones exposing user data, and how do I check after the Crissy Field study?
MondayMedic checks for common public mistakes. It is not a full security audit, and a good score does not mean your app is safe.
Check your live app first. Paste your app's public link into the free MondayMedic check. It reads only public pages and scripts, takes about a minute and needs no account. It flags Supabase tables the public key can read and secret keys in the browser. It does not log in, it does not change data, and it is not a full security audit.
The short answer
Nobody can tell you from a list, because no apps were named. Test it yourself in five minutes: open your live app logged out, watch what Supabase sends back, and check every table in Supabase for row level security and for policies that let anyone read. If a stranger's browser can read rows that hold emails, orders, messages or documents, your app has the same problem the study found. Turn RLS on for that table, add policies tied to auth.uid(), and test again with two accounts.
What did Crissy Field actually find?
Crissy Field, an application security firm in Hamburg, published the research with the German business paper Handelsblatt, which reported it on 2 November 2026. From the public web archive Common Crawl they found 159,041 Lovable projects (December 2025 to September 2026). 34,545 of them used Supabase.
- 24,664 sites sent Supabase records as soon as the page loaded, with no login. Crissy Field points out that this alone isn't a problem, because some data is meant to be public.
- With more read-only requests using the same public key, they found records containing email addresses in 10,560 tables across 7,403 of those 24,664 sites (30%).
- The worst cases they describe include more than 1,000 identity document records with passport numbers, a forum with more than 80,000 profiles and more than 200,000 chat messages, ticket and food sales with payment information, contracts, invoices and internal messages.
They also say what the numbers don't mean: the 30% is not a confirmed leak rate, some email addresses may be public contacts or test data, the sample isn't representative of every Lovable app, and they could not tell whether any of the data was misused. They didn't look at Lovable's own newer database features, only Supabase.
Why did these apps leak? Was Lovable hacked?
No one hacked Lovable or Supabase. A Lovable app talks to Supabase straight from the visitor's browser using the public key (called the anon or publishable key). That key is supposed to be public, and anyone can copy it from your site. What decides which rows that key can read is row level security (RLS) on each table.
When a table has RLS off, or has a policy like using (true) for everyone, the public key can read every row. That's the pattern behind most of these cases. More on the key itself: is the Supabase anon key safe to expose? anon vs service_role.
How do I check my app like a stranger would?
- Open your live app in a private or incognito window, logged out.
- Open the browser's developer tools and go to the Network tab. Reload the page and click around the public pages.
- Filter for
supabase.co. Click each request to/rest/v1/and look at the response. - Ask of every response: should a stranger see this? Product listings and blog posts are fine. Emails, names, phone numbers, orders, messages, bookings, uploads or anything about other users are not.
That only shows what your pages ask for. The study went further and read other tables with the same key, so also do the next check inside Supabase.
Which tables in my Supabase project are open?
In the Supabase dashboard, open the Table Editor and look for tables marked as unrestricted or without RLS. Or run this in the SQL editor to list every table in the public schema and whether RLS is on:
select c.relname as table_name,
c.relrowsecurity as rls_on
from pg_class c
join pg_namespace n on n.oid = c.relnamespace
where n.nspname = 'public' and c.relkind = 'r'
order by rls_on, table_name;
Then list policies that let anyone read everything:
select tablename, policyname, cmd, roles, qual
from pg_policies
where schemaname = 'public'
and (qual = 'true' or roles @> array['anon']::name[] or roles @> array['public']::name[])
order by tablename;
Any table holding personal data with rls_on = false, or with a read policy of true for anon or public, is open to anyone with your public key. The Security Advisor in the Supabase dashboard also flags tables with RLS disabled.
Don't forget views and storage: a view can skip RLS (see does a Supabase view bypass RLS?), and a public storage bucket serves every file to anyone with the link (see are Supabase storage buckets public?).
How do I fix an open table?
Turn RLS on, then add policies that only let people reach their own rows. For a table with a user_id column:
alter table public.orders enable row level security;
create policy "read own orders"
on public.orders for select to authenticated
using ((select auth.uid()) = user_id);
create policy "insert own orders"
on public.orders for insert to authenticated
with check ((select auth.uid()) = user_id);
Replace orders with your table. Add update and delete policies only if the app needs them, scoped the same way. For data that really is public (a product list), a read policy for anon is fine, but keep private columns like emails in a separate table. Turning RLS on with no policies blocks everything, so if a page goes blank afterwards, it needs a policy, not RLS switched off again. Full walk-through: how to check and fix open Supabase RLS in a Lovable app.
What should I paste into Lovable to fix it?
Check every table in the public schema of my Supabase project. Turn on row
level security for every table. For each table that holds user or customer
data, add policies so signed-in users can only select, insert, update and
delete their own rows (auth.uid() = user_id). Remove any policy that uses
"true" for anon or public on private data. Keep the service role key out of
the frontend. List the tables and policies you changed, and show me the SQL
before running it.
Then test it: log in as user A and create something, log in as user B and make sure B can't see it, and repeat the logged-out Network check above.
My app was open. What else should I do?
- Close it first, then test again logged out.
- Check for secret keys in the browser. If the service role key or another secret key (Stripe, OpenAI) was ever in your frontend code, rotate it.
- Work out what was exposed and for how long: which tables, which kinds of data, since when.
- Think about your users and the law. If personal data was readable, you may have duties to report it or tell the people affected, depending on where you and your users are. In the EU and UK, GDPR has short deadlines for reporting a personal data breach to the regulator. If you're unsure, get advice from someone qualified.
- Re-check after every big change. AI builders add tables as you go, and a new table can ship without RLS. Crissy Field recommends repeating access checks after significant changes.
Is this only a Lovable problem?
No. Any app that calls Supabase from the browser, whether built with Lovable, Bolt, Cursor or by hand, depends on RLS in the same way. Lovable was the platform in this study because its Supabase setup follows a recurring pattern, which, as Crissy Field notes, also makes similar mistakes easier to find across many apps at once.
Related guides
- How to check and fix open Supabase RLS in a Lovable app
- Is the Supabase anon key safe to expose? anon vs service_role
- Does a Supabase view bypass RLS?
- Are Supabase storage buckets public? Do public buckets skip RLS?
- Why a new Supabase table says permission denied for table (42501)
- We scanned 102 vibe-coded apps
Want a regular look from the outside? Run the free check on your live app.
FAQ
What did the Crissy Field study find about Lovable apps?
Crissy Field, a Hamburg security firm working with Handelsblatt, looked at 159,041 Lovable projects found in Common Crawl from December 2025 to September 2026. 34,545 used Supabase. 24,664 sent Supabase records as soon as the page loaded, and with further read-only requests using the same public key the researchers found records containing email addresses in 10,560 tables across 7,403 of those sites.
Was my app named in the study?
No apps were named publicly, and Crissy Field is not publishing how it accessed the data. You can't look your app up in a list, so test it yourself the way a stranger would.
Does this mean Lovable or Supabase was hacked?
No. Nobody broke in. The Supabase public (anon or publishable) key is meant to be in your app's browser code, so what protects each table is row level security. Where a table had RLS off, or a policy that lets anyone read, the public key could read its rows.
Is 30% of Lovable apps leaking data?
No. Crissy Field says the 30% figure is not a confirmed leak rate. It only covers the 24,664 sites it looked at closely, email addresses may be public contacts or test data, records without emails were missed, and the Common Crawl sample is not representative of all Lovable apps.
Does the MondayMedic free check find this problem?
It looks for part of it. The free check reads your live app from the outside like a visitor and flags Supabase tables the public key can read and secret keys in the browser. It does not log in, change data or read your policies, and it is not a full security audit, so also run the checks in this guide.