You described the app, Lovable built it, and it works. Users can sign up, the dashboard loads, and payments go through. Most founders skip the next question. If a stranger pokes at your site, what can they see?
For many vibe-coded apps, a lot of private data. Below is how common that is, and six checks you can run before launch, most of them without writing code.
How common is it?
In research published with Handelsblatt in November 2026, the German security firm Crissy Field analysed 159,041 Lovable projects taken from the Common Crawl web archive between December 2025 and September 2026. Of the 34,545 that used Supabase as their database, 24,664 sent database records to visitors before anyone logged in. With a few more read-only requests, the researchers found records containing email addresses on 7,403 of those sites.
The researchers are careful to say this shouldn't be read as a confirmed leak rate. Some may be public contact emails or test data, and the sample isn't representative of every Lovable app. But the cases they describe are real:
a forum exposing more than 80,000 profiles and more than 200,000 chat messages;
event organisers exposing ticket sales records, including payment information;
a service provider exposing more than 1,000 records with passport details.
Earlier reports found the same problem. In May 2025, a researcher disclosed CVE-2025-48757: Lovable-generated apps with missing database rules let anyone read their data, and in some cases change it. In October 2025, Escape scanned more than 5,600 apps built on vibe-coding platforms. It found more than 2,000 vulnerabilities, more than 400 exposed secrets and 175 cases of exposed personal data, including medical records. And in February 2026, Wiz found that Moltbook's Supabase key sat in its front-end code with no access rules behind it, exposing about 1.5 million API tokens and 35,000 emails. The founder had said he didn't write a single line of code.
Why AI-built apps leak
AI builders make what you ask for, and "keep strangers out of other people's data" is rarely in the prompt.
Lovable now runs security checks on your project. Its own docs say those checks can't guarantee that your app is secure, and responsibility for the app stays with you. A Lovable team member explained on Hacker News why warnings often go unfixed: "for many users it's the fear that the fix will break production."
That fear is reasonable. If you turn on database security without the right rules, your own app stops loading data. The fixes touch the database and the login flow, the parts of the app you understand least.
Six checks before you launch
Most Lovable apps have no server of their own: the browser talks to Supabase directly. So most of these checks happen in the Supabase dashboard and in your browser's developer tools, which you open with F12.
Check | What goes wrong without it | Where to look |
|---|---|---|
RLS on every table | Anyone can read or change the data | Supabase Security Advisor |
Ownership checks | Users see each other's records | Table policies, edge functions |
Server-only secrets | Secret keys leak to the browser | Browser developer tools |
Rate limits on auth | Login guessing, email abuse | Supabase auth settings |
Separate dev and prod | A test or restore wipes live data | Projects and backups |
Server-side payments | Access without paying | Stripe webhook handling |
How to test each one
RLS on every table. In Supabase, open Advisors, then Security Advisor. A "Table publicly accessible" error means anyone can read and change that table, and the Table Editor also marks it with a warning label. To fix it, turn on row-level security (RLS) and add policies that limit rows to their owner, such as "auth.uid() = user_id". A policy that simply says "true" is as open as no RLS.
Ownership checks. Log in as user B, open F12, then Network, then Fetch/XHR, filter for "rest/v1", and click around the app. No response should contain user A's rows. This only shows what the app asks for, so also read each table's rules under Authentication, then Policies; the Security Advisor flags rules that let everyone through. Every edge function should check who is calling it too.
Server-only secrets. Open F12, then Sources, press Ctrl+Shift+F and search for "service_role", "sb_secret_" and "sk_live_". If anything turns up, move the key into an edge function or server code, then rotate it.
Rate limits on auth. In Supabase, open Authentication, then Rate Limits, and review them, especially if you send email through your own provider. Add CAPTCHA (hCaptcha or Turnstile) only together with the front-end change it needs, then test sign-up straight away.
Separate dev and prod. Your AI tool shouldn't edit the database your users write to, so use a separate project for development. Free projects have no automatic backups; a paid plan adds daily ones. Test a restore into a new project, never over your live one (this needs physical backups turned on), and make sure the copy doesn't start sending real emails or running scheduled jobs.
Server-side payments. Open your success page in a private window without paying. If you get access, so can anyone. Grant access only after your server confirms the payment with Stripe, through the payment webhook.
Your publishable key, which replaces the legacy "anon" key, is meant to be public, but it's only safe when RLS is on. The secret key (which replaces the legacy "service_role" key) bypasses RLS completely and must never reach the browser. Supabase plans to retire the legacy keys by the end of 2026, so you may see either.
Anything prefixed "NEXT_PUBLIC_" is built into the browser code, and the Vite docs warn that "VITE_" variables shouldn't contain sensitive information. Turning on RLS with no policy blocks your app, because every query starts returning nothing. Add the policy in the same step and test as a logged-in user before you release.
A backup won't stop an AI agent from changing live data. In July 2025, Replit's agent deleted the live database of an app SaaStr founder Jason Lemkin was building, during an explicit code freeze. Keep the agent off production entirely.
Three more worth checking
A public storage bucket serves its files to anyone with the link, without checking any policy. Keep user uploads in private buckets.
An edge function that skips the caller's login check, or uses the secret key without checking who's calling, gets around every RLS policy you wrote.
If your profile table has an "is_admin" column and users can edit their own profile row, any user can make themselves an admin.
Fix it, or get a review?
Area | Lovable's checks | Freelancer fix | Pre-launch review |
|---|---|---|---|
Ownership gaps | Advanced checks, partly | Varies | Tested as two users |
Open or missing RLS | Automatic | Usually | Yes |
Keys and secrets | Advanced checks | Usually | Yes |
Storage and roles | Partly | Rarely | Yes |
Rate limits, CAPTCHA | Not covered | Rarely | Yes |
Payments | Advanced checks, partly | Rarely | Tested end to end |
Lovable's security checks are a good first pass: storage rules are checked automatically, and the Advanced checks, which you start yourself, cover ownership in server code, admin roles, keys and payments. Run them. After that, it depends on the data the app holds.
If it holds only a waitlist or test data, the six checks above plus Lovable's checks are a reasonable bar.
If it stores personal data, payments, health information, or anything you'd have to report if it leaked, get someone to test it as an attacker would before real users arrive.
How we review apps
We often review apps at this stage, when the app works and users are waiting but nobody has looked at it as an attacker would.
A 30-minute call, where you show us the app and tell us what data it holds.
The review, as an anonymous visitor and as two users, through the API too.
The fixes, made in a separate copy and tested before release. You can keep building in Lovable afterwards.
A short report on what we found, what we changed, and what to watch as the app grows.

