Skip to content

How to check an AI-built app's access rules before it holds customer data

A security firm found 7,403 Lovable-built sites handing tables with email addresses to anyone who asked. The builder writes the code; the access rules are still ours. Here is the four-step check.

How to check an AI-built app's access rules before it holds customer data

A German security firm pulled 159,041 Lovable-built apps out of a public web archive and asked each one, politely and without a password, what it would share. Thousands answered with tables full of email addresses. Nobody broke in. Ran is not against prompt-to-app builders - he likes what they make possible. His point is narrower and more useful: the builder writes the code, and the access rules are still ours. The piece ends with a check any team can run on its own apps this week. — Muximus


The app builder writes the code. The access rules are still ours, and the terms say so in writing.

A German security firm, Crissy Field, went through 159,041 apps built on Lovable. On 7,403 of them, anyone who opened the site could pull database tables containing email addresses. Among what came back: more than 1,000 passport records, more than 200,000 private chat messages from one forum, and ticket and payment records from event organizers and restaurants.

Nobody broke into Lovable or Supabase to get this.

The apps handed it out.

What the scan found

Crissy Field worked with the German business daily Handelsblatt. They pulled Lovable projects from Common Crawl, a public web archive, covering December 2025 to September 2026.

The funnel:

  • 159,041 Lovable projects.
  • 34,545 used Supabase as their database.
  • 24,664 sent database records as soon as the page loaded, with no login. The report is fair here: on its own that is not a problem, because some data is meant to be public.
  • 7,403 (30% of those) returned tables containing email addresses when the researchers made further read-only requests with the same key the page already sends. That is 10,560 tables.

The cases the report describes:

  • A German lifestyle forum: more than 80,000 profiles with names, emails, dates of birth and gender, plus more than 200,000 chat messages.
  • Event organizers and restaurants: tens of thousands of sales records with emails, phone numbers, postal addresses, payment information and ticket codes.
  • A property manager: AI-generated summaries of internal emails about tenants, owners and partners.
  • A service provider: more than 1,000 identity-document records with passport numbers, expiry dates and nationalities.
  • One provider: 280,000 emails sent to its customers.

What the report does not claim

I like this report because it is careful with its own numbers.

Email addresses are a proxy. Some will be public contact addresses or test data, and records without an email are missed entirely. In the report's words, the 30% "should not be read as a confirmed data leak rate." The Common Crawl sample is not representative of all Lovable apps. Lovable's own newer database product was not examined. The researchers downloaded only parts of each dataset, and they could not establish whether any of it was misused.

One more thing worth knowing: Crissy Field sells security assessments, and the report ends with an offer to help. It doesn't change the numbers.

Why the data was readable

A Supabase app ships a public key to every browser. Supabase now calls it the publishable key.

That sounds alarming. It isn't. Supabase's documentation is blunt about it: anyone can read that key, "so it only reaches what Row Level Security allows."

Row Level Security is the set of per-table rules that decide which rows a visitor may read or change. Supabase's guidance is to enable it on every table before deploying.

So the visible key is normal. What decides whether a stranger can read the customer table is whether those rules exist, and whether they are tight.

Coverage of the report puts the cause right there. Cybernews describes "unconfigured or missing Row Level Security rules," and Trending Topics describes rules that are "missing or too permissive." The Crissy Field report itself never uses the term. What it says instead matters more: database integrations in Lovable apps follow recurring patterns, so a misconfiguration found in one app can be looked for in many others.

One mistake, copied by a generator, becomes a pattern. A pattern becomes a search.

Not new, and not only Lovable

We have seen this before.

CVE-2025-48757, published in May 2025, described insufficient Row Level Security in Lovable-generated sites that let unauthenticated visitors read or write tables. Lovable disputed it, on the grounds that each customer is responsible for protecting their application's data.

It is also bigger than one platform. UpGuard, which sells attack-surface monitoring, checked about 300,000 Supabase-linked domains in a study published in September. As Cybernews reports it, UpGuard found 16,326 databases with tables readable from outside, more than half showing signs of personal data.

Lovable's response to the Crissy Field findings, according to Cybernews: this is a known, industry-wide configuration problem with Supabase.

That may well be true. It does not move the responsibility, and Lovable's terms are explicit about where it sits.

What the platform says is ours

From Lovable's terms: "You are responsible for your Customer Data and for the applications and projects you build, deploy, and make available using the Services..."

Its security documentation says the same thing in plainer words. The built-in scans "cannot guarantee complete security," and the customer is responsible for meeting the security needs of the use case.

To be fair, Lovable does ship tools:

  • A Quick scan runs on every publish. It flags tables without per-record access control and rules that let everyone through.
  • A Deep scan reviews the application code. It does not run automatically as you build; in most cases someone has to start it, or an Enterprise admin has to schedule it.
  • Workspace admins can block publishing while critical findings are open. That setting starts enabled for new Enterprise workspaces.

The tools exist. The decision to run them, read them, and not publish past them is still a person's job.

The check

Here is the method. For any app built with a prompt-to-app builder that will hold customer data, my estimate is that this takes an afternoon:

  1. Read the app the way a stranger does. Log out, open the live app, and have whoever can query the database try to read each table with the public key the app ships. Then have them show us what came back. Our own apps only. Supabase's Security Advisor and Lovable's Quick scan both flag the common cases, so run them, but also look at the actual output. A table that answers without a login is public, whatever the interface shows.
  2. Name one owner. One person is responsible for access rules on every such app. That includes the ones built by marketing, by ops, or by a founder over a weekend.
  3. Raise the bar for sensitive data. Before an app stores identity documents, payment details or health information, get a review from someone who reads access rules for a living. Lovable's terms go further: unless a plan or separate agreement allows it, customers agree not to put government identifiers, payment card data or protected health information through the service at all.
  4. Re-run after changes. A new table or a new feature is a new chance to get it wrong. Lovable's own docs say to review the rules "especially before publishing or after changes to authentication or database structure."

There is one number I would want and could not find. How many of those 7,403 apps were published with a scan warning showing, and how many never ran a scan at all? That would tell us whether the tools failed or went unused. We could not find it published.

From thinking to doing.
CTA Image

From founder thinking to company building.

We don’t just write about AI-native companies. We build them. VarOps works with leadership teams to rethink how their businesses operate, turning ambitious ideas into systems that actually work.

Build What’s Next →

Sources

Add VarOps on Google