Skip to main content

What's new

Before your AI-built app holds real data, check what a stranger can read

The Requirements behind this decision dialog in 1904 for the question Should a public profile show the member's photo as well as their display name? Requirement 9: when a member turns on their public profile, visitors MUST see the member's display name. Requirement 14: visitors MUST NOT see a member's email address, phone number or saved lists, unless the member has made that list public.

Of the 34,545 Lovable projects a Hamburg security firm found running on Supabase, 24,664 sent database records to a visitor's browser as the page loaded, with nobody signed in. Most of those apps presumably worked fine for the people who built them. That's what makes this kind of exposure easy to miss: nothing on screen looks wrong.

What the researchers found

Crissy Field, working with Handelsblatt, identified 159,041 Lovable projects in public web crawl records from December 2025 to September 2026. On 7,403 of the 24,664 sites that returned records without a login, further read-only requests with the same key returned records containing email addresses. The researchers are careful about that figure: some addresses may be public contact details or test data, the sample isn't representative, and 30% isn't a confirmed leak rate. The examples are still hard to read. More than 200,000 chat messages from one forum, passport numbers held by one service provider, and payment information from event organisers and restaurants. They couldn't establish whether any of it had been misused.

Why an app that works can still do this

In apps built this way, the browser often talks to the database directly, using a key that's public by design. What stops a stranger from reading a table is that table's access rules. A missing rule, or one loosened until a screen started working, looks exactly like a working app from the inside. And when you build by describing what the app does, nobody stops to ask you who should be able to read each kind of record.

Write down who may read what

Start on paper. For each kind of record, such as profiles, messages, orders or uploads, and each state it can be in, such as private or public, draft or published, write down what each kind of person can do with it: the owner, other signed-in users, an admin, and someone who isn't signed in at all. Anything you leave blank should mean nobody. Where you aren't sure, choose the reading that shows less, because showing more later is a small change and taking back data people have already seen is impossible.

Test it the way a stranger would

Open the app in a private window, signed out, with your browser's network tab open, and read what comes back as the page loads. Then make two test accounts and try to load the first account's records while signed in as the second. Check one thing you expect to work at the same time, so an empty result means a refusal and not a broken test. Test the live routes, including file storage and any server functions, not only the table rules. When a screen fails because a rule blocks it, fix the screen rather than widening the rule. Repeat after any big change. The researchers add that an automated check is no substitute for a professional security assessment before real customer data goes in.

How 1904 approaches it

When your description includes data that several kinds of people can see, the requirements 1904 writes for the build include an access table: a row for each kind of record in each state, a column for each role, and a role with no entry sees nothing. Where your description doesn't settle who sees whose data, the build takes the reading that shows less, and an admin or review feature never gets members' private items as a side effect. On who sees what, it asks you mainly when showing less would break something you asked for, and the question links to the requirements behind it. That's a plan, not a test, so the checks above apply to an app 1904 builds as much as to any other.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.