PatchPaste · Guides
Last updated 4 November 2026
Lovable apps exposing data: how to check yours
Scan your live app free. It checks whether common Supabase tables answer to your public anon key without a login, and searches the JavaScript your site sends for secret keys. No login, no code access.
using (true).What the report found
Crissy Field GmbH (Hamburg) ran the study with Handelsblatt, which reported it on 2 November 2026. These figures are from the report's English write-up, which has newer numbers than the original article:
- 159,041 Lovable projects identified in Common Crawl data from December 2025 to September 2026.
- 34,545 of them used Supabase.
- 24,664 sent Supabase records as soon as the page loaded, without a login. The report says that alone isn't a security issue, because the data may be meant to be public.
- With further read-only requests using the same public key, it found records containing email addresses in 10,560 tables on 7,403 of those 24,664 sites (30%).
The authors are careful about limits: email addresses can be public contact details or test data, records without an email were missed, the 30% "should therefore not be read as a confirmed data leak rate", and the Common Crawl sample isn't representative of all Lovable apps. Examples they describe include forum profiles and chat messages, ticket and food orders with payment information, and identity document details. They say they couldn't establish whether any data was misused, and they didn't publish how to access it.
Why it happens
A Lovable app on Supabase talks to the database straight from the browser, using the project URL and the anon (or publishable) key. That key is designed to be public, so anyone can copy it from your site. What stops them reading your tables is Row Level Security. Supabase's own Security Advisor puts it bluntly: if RLS isn't enabled on a table in the public schema, anyone with the project's URL can create, read, update and delete its rows. RLS switched on with an always-true policy such as using (true) is just as open: Supabase says it defeats the purpose of RLS. For more on that trap, see RLS using (true).
The 15-minute check
1. Lovable's Quick and Deep scans (3 minutes)
In the project Security view, Lovable's Quick scan reviews database access rules, for example tables without row-level security and rules that let everyone through. The Deep scan reviews your code for users who can view or change data that isn't theirs. Lovable's docs say these scans don't replace a thorough security review for apps that handle sensitive data.
2. Supabase Security Advisor (3 minutes)
In the Supabase dashboard, open Security Advisor. Fix these first, all listed in Supabase's Advisors reference:
- Table publicly accessible (
rls_disabled_in_public, level ERROR): RLS is off on a public table. - Sensitive data publicly accessible (
sensitive_columns_exposed, ERROR): RLS is off on a table with columns that look like passwords, tokens or ID numbers. - Security policy allows unrestricted access (
permissive_rls_policy, WARN): a policy likeusing (true). - View bypasses row-level security (
security_definer_view, ERROR): a view inpublicthat ignores RLS.
3. Test as a stranger (3 minutes)
Open the live app in a private window, logged out, and click through every page. Anything private that appears, a stranger can see too. For a sharper test of one table with the public key, see the logged-out curl test in the Supabase RLS check.
4. Test as a second user (5 minutes)
Create two test accounts, A and B. Add some data as A. Sign in as B and try to open A's records, for example by changing an ID in the URL. B should see nothing of A's. No outside scanner can do this test for you, because it needs to know which user should see which row.
5. Scan the live URL from outside (1 minute)
PatchPaste looks at the published app the way a stranger would: secret keys in the shipped JavaScript, common Supabase tables that answer to the anon key without a login, exposed /.env, /.git and source maps, and security headers. It doesn't sign in, so it complements steps 1 to 4 rather than replacing them.
How to fix what you find
- Turn RLS on for every public table, then add policies for the signed-in user. Supabase's recommended form:
alter table public.orders enable row level security; create policy "Users read their own orders" on public.orders for select to authenticated using ( (select auth.uid()) = user_id );
- Replace
using (true)on any table with personal data. Keep it only on tables that really are public, like a product list. - Remove any service_role or
sb_secret_key from frontend code and rotate it. It bypasses RLS. See service_role key exposed. - Check storage too. Files in a public bucket open for anyone with the link. See is my storage bucket public?
- Test again logged out and as the second user, then rerun your scans. AI edits can undo a fix, for example by switching RLS off to get past a permission error.
If real people's personal data may have been readable, take advice on your legal duties. In the UK, start with the ICO's guidance on reporting a breach.
A prompt to paste into Lovable
Review every table in my Supabase database for public access. For each table in the public schema: 1) make sure Row Level Security is enabled; 2) replace any policy that uses USING (true) or WITH CHECK (true) on a table holding personal or private data with policies "to authenticated" that compare (select auth.uid()) to the owner column; 3) keep public read access only on tables that are genuinely public (list them for me first and wait for my OK). Do NOT disable RLS, do NOT add policies for the anon role on private tables, and do NOT use the service_role or any secret key in frontend code. Then list every table with its RLS status and policies.
Before launch, run the full Lovable/Bolt pre-launch checklist. Also see is my Lovable app secure? and is the anon key safe to expose?
Lovable data exposure FAQ
What did the Crissy Field report on Lovable apps find?
Crissy Field GmbH, working with Handelsblatt (article 2 November 2026), identified 159,041 Lovable projects in Common Crawl data from December 2025 to September 2026. 34,545 used Supabase. 24,664 sent Supabase records as soon as the page loaded, which the report says is not a problem on its own because the data may be meant to be public. With further read-only requests using the same public key, it found records containing email addresses in 10,560 tables on 7,403 of those 24,664 sites (30%). The authors say the 30% is not a confirmed leak rate and the sample isn't representative of all Lovable apps.
Was Lovable hacked?
The report describes data that could be read without logging in, using the same public API key every visitor's browser receives. It doesn't describe a break-in to Lovable itself. It notes that Lovable's terms place responsibility for applications and data handling on customers, and it did not publish which apps were affected or how to access them.
How do I know if my Lovable app is one of the exposed ones?
The report doesn't name apps, so check your own: run Lovable's Quick and Deep scans, open Supabase Security Advisor and fix any 'Table publicly accessible' or 'Security policy allows unrestricted access' findings, open the live app logged out in a private window and see what loads, then sign in as a second test user and try to reach the first user's data.
Is it a problem that my app loads Supabase data before login?
Not always. Crissy Field makes the same point: a menu, a product list or blog posts can be public on purpose. The problem is tables that hold personal or private data (users, orders, messages, bookings) answering to the public anon key, or a policy that lets anyone read every row.
Should I rotate my Supabase anon key?
Rotating the anon key won't fix this. It's meant to be public and a new one ships in your JavaScript the same way. Fix access with RLS policies. Do rotate the service_role or sb_secret_ key if it was ever in your frontend code, because that key bypasses RLS.
Can PatchPaste tell me if my app was in the report?
No. PatchPaste doesn't have the report's list and doesn't know which apps were in it. What its free scan does is look at your live app from outside, like a stranger: it checks whether common Supabase tables such as users, profiles and orders answer to your public anon key without a login (reading at most one row and discarding it), and whether a service_role or other secret key is in your JavaScript. It can't sign in, read your policies or test one user against another.
Check your app for free
Paste your live URL for a free A to F report with every problem in plain English. Fix prompts for that report are a one-off £9 (or £29 for 10 reports). Scans are free to rerun, so you can check again after you change your policies and redeploy.
Want to see one first? View a sample report.
Sources (checked 4 Nov 2026): Crissy Field GmbH, Lovable: Many Apps Built on the Platform Expose Sensitive Data (all study figures, limitations and examples; Handelsblatt article 2 Nov 2026); Supabase, Advisors (rls_disabled_in_public, sensitive_columns_exposed, permissive_rls_policy, security_definer_view); Supabase, Row Level Security (policy form); Supabase, API keys; Lovable, Security overview (Quick and Deep scans); ICO, Report a breach.