25 of 32 public Lovable apps that would expose people's contact details do it with the same rule: a profiles table anyone can read
In our open-tables finding, 32 public Lovable apps from a random draw would show people's email, phone, address or birth date to anyone. In 25 of them, the cause is one line: a profiles or users table with a read rule whose check is true. The rule is usually meant to show a name and an avatar, but it covers every column in the row.
Same random draw and the same hand-read tables as the open-tables finding, counted a new way. Priberry makes Launch Blockers, the open-source checker used here, and its new open-profile check (version 0.2.7) looks for exactly this rule.
true on some table; only 1 had row-level security switched offHow the 32 apps would expose contact details
Each app counted once, under the first line that fits it.
What the open profiles tables show
Columns in the 25 apps' open profiles or users tables, counted by app. Most hold more than one kind, and the name, username and avatar next to them aren't counted.
Why one line does this
A typical profiles table is made with a rule like create policy "Profiles are viewable by everyone" on profiles for select using (true). Row-level security decides which rows someone can read, not which columns. So when the email or phone number lives in the same row as the name and avatar, anyone holding the app's public key, which every visitor's browser gets, can ask for all of it, for every user. In a few of the apps a later rule limited reads to the row's owner, but the old rule of true was never dropped, and read rules add up: one open rule is enough.
How we did it, and the limits
- The sample. 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 have database migrations in the repository. The 32 apps here are the ones the open-tables finding confirmed by hand as leaving contact or identity details open, out of 44 that would leave any kind of personal data open. Random among public repositories, not among all Lovable apps: private projects aren't in it.
- The rule we counted. A table whose name ends in
profile(s)oruser(s)(such asprofilesorusers), with row-level security on and a live select (or all) rule whose check is plaintrue, for anyone with the public key and not only signed-in users, and with a column for a person's email, phone, birth date or street address. Flags such asemail_verifieddon't count. - The hand-check. We read all 37 open tables that put these 32 apps in the chart again, from the full trail of rules in each app's migrations: every policy created and dropped, in order, plus grants and revokes. All 37 held up: each had a live read rule of
truefor anyone (or no row-level security, for the 1 app counted that way), and contact columns about a person. That includes all 26 profiles tables behind the 25. The scanner's count before this check was also 25. - What a static check can't see. We read the code only. A live database can differ from its migrations: rules can be changed in the database dashboard, and a project may never have been deployed. We don't know what is actually in the tables, and we never queried any database or used any key.
- Small numbers. 25 of 32 is a share of a small group. Read it as "most", not as a precise rate.
- Nothing named. We stored repository names, table names, column names and rule shapes only, never data or values, and the published file holds counts only. None of the 25 has a private way to reach the owner (GitHub's private vulnerability reporting), so they haven't heard from us. Publishing counts only, and naming none of them, is how we keep this from pointing at any one app.
What to do
Lock the profiles table to its owner, and keep what everyone may see (a display name, an avatar) in a separate table that holds nothing else. Then the email and phone number are readable only by the person they belong to.
-- 1. Only the owner can read their own profile row drop policy "Profiles are viewable by everyone" on profiles; create policy "Owner reads own profile" on profiles for select using (auth.uid() = id); -- 2. Public fields live in their own table create table public_profiles ( id uuid primary key references profiles(id) on delete cascade, display_name text, avatar_url text ); alter table public_profiles enable row level security; create policy "Public names for everyone" on public_profiles for select using (true); create policy "Owner writes own public profile" on public_profiles for all using (auth.uid() = id) with check (auth.uid() = id);
Change the app to read names and avatars from public_profiles. Use your own policy name in the drop policy line, and check that no other read rule of true is left on the table: one is enough to open it.
Check your own project
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.comTo look for this rule in your own project, run Launch Blockers in its folder. From version 0.2.7 it flags the rule as open-profile and prints a fix you can paste back into your AI builder. It runs on your machine, reads nothing over the network and never prints a secret.
npx launch-blockers check
More studies: priberry.com/research · Launch Blockers, Rolelock, Greenlit, Crumple, Tare and MarkOS (priberry.com/#tools) · Aggregate data: profiles.json · Generated 2026-12-03