About 1 in 7 public Lovable apps with a database would leave personal data open to anyone
Of 1,167 public Lovable projects drawn at random from GitHub, 322 have a database in the code. In 44 of them (13.7%, 95% range 10.3–17.8%), the app's own database rules would leave a table built to hold personal data open to anyone who has the app's public key, and every visitor's browser gets that key. We read every counted table by hand.
This is a follow-up to About 1 in 5 public Lovable apps would leak data or keys: the same random draw and the same scanner version. Priberry makes Launch Blockers, the open-source checker used here.
What sits in the open tables
Apps with at least one open table holding each kind of data. An app can hold more than one kind, so the bars add up to more than 44.
The usual cause: one line in a profiles table
In 25 of the 32 apps that expose contact details, the open table is a profiles or users table with a read rule like USING (true), meant to show a name and an avatar. That rule applies to every column in the row, so the email, phone number or birth date stored next to the name goes out too. The rest are tables with row-level security switched off, or an "allow all" rule left over from a prototype.
How to fix it
Keep public fields and private fields in separate tables (or a view that selects only the public columns), give the private table a rule that matches the signed-in user (auth.uid() = id), and never write a USING (true) rule for updates or deletes. Launch Blockers flags each of these and prints a prompt you can paste back into Lovable, Cursor or Claude Code.
Check your own project
npx launch-blockers check
It runs on your machine, reads nothing over the network and never prints a secret. Priberry makes six free, open-source tools:
the leaks AI-built apps ship, checked in your code
npx launch-blockers checkusers who can raise their own role, checked in your supabase/ folder
npx rolelock@0.1.1 ./my-appwhat a stranger can see in your live app
npx greenlitlaba crash-test lab for AI coding agents
npx crumplelab attackwhere your coding agent's tokens go
npx tarelaban AI exec team on your own computer
markos.priberry.comHow we did it
- The sample is the random draw from the main study: 1,167 public Lovable projects drawn at random from the 73,754 we could list on GitHub, scanned on 2026-11-25. 322 of them have database migrations in the repository. Shares here are plain counts out of those 322. With the main study's sampling weights (a few search slices couldn't be listed in full, so their repos count a little more) the share is 13.6%.
- The scanner counted 101 apps with an open table whose name sounds personal (users, profiles, orders, messages, patients and similar). We cloned each one again and read every such table: its columns (names only) and every security rule in the app's migrations, in order, to get the final state.
- A table counts when, in that final state, anyone with the public key can read it or change and delete its rows (row-level security off, or a rule whose check is plain
trueand isn't limited to signed-in users), and its columns hold that kind of data about a person: contact or identity details, money tied to a person or order, private messages between people, or clinical data. A name, username, avatar or public comment alone doesn't count; apps often show those on purpose. Rules open only to signed-in users don't count either, though anyone can usually sign up. - What didn't count: 55 flagged app-and-kind pairs held nothing personal, were closed by a later migration, or (13 of them) belong to apps where no browser code we found talks to Supabase (a Prisma or backend-only database). 31 more were defined outside the app's Supabase migrations, so we couldn't see their columns or final rules, and we counted them as not open. That makes 44 a floor.
- What this can't tell you: whether the app is deployed, whether its live database matches the migrations (rules can be changed in the Supabase dashboard), or what is actually in the tables. Some apps show a seller's or a business's phone number on purpose, and code doesn't tell us intent. We read the code only. We never queried any database or used any key.
- We stored the repository name, table names, column names and rule shapes only, never data or values. No project is named here. We checked all 44 apps for a private way to reach the owner (GitHub's private vulnerability reporting): 1 had one and got a private report; the other 43 have no private channel, so they haven't heard from us. Naming none of them, and publishing counts only, is how we keep this from pointing at any one app.
More studies: priberry.com/research · Launch Blockers, Rolelock, Greenlit, Crumple, Tare and MarkOS (priberry.com/#tools) · Aggregate data: tables.json · Generated 2026-11-26