Most security scanners look at your app the way a stranger does. That is useful, but it cannot answer the question that sinks most AI-built apps: can user B see user A's data?
That depends on who is signed in, and a scanner that never signs in cannot know. The only honest way to check is the two-account test. It takes about ten minutes.
What you need
- Two disposable test accounts on your own app (user A and user B). Never use real customer accounts.
- One row of fake data created by user A: an order, a note, a profile, a file.
- A browser with dev tools, or a small script.
The test
- Sign in as user A. Create the fake record. Note its ID from the URL or the network tab.
- Sign out. Sign in as user B (a private window works).
- Ask for A's record directly. Open the URL with A's ID, or repeat the API call from the network tab with A's ID in it.
- Try the list endpoint. Does user B's list contain A's rows?
- Try writes. Can B edit or delete A's record by sending the same request with A's ID?
- Repeat with no login at all. Open the same URL in a window with no session.
Pass means B and the anonymous visitor get a 403, 404 or an empty result every time. Fail means any of them sees or changes A's data.
Supabase and Firebase apps
If your app talks to the database straight from the browser, the rules are the whole defense. For Supabase, call the REST endpoint with user B's token and filter on A's user id. If rows come back, your row level security policy is missing or too wide. For Firebase, run the same read against A's document path as B.
Why this gets missed
AI tools build screens that work for the one account the builder is testing with. Ownership checks are invisible until a second person shows up. A page that loads fine for you can still hand out the whole table.
Make it repeatable
Run the test before each release, keep the results, and treat an "unknown" (login failed, request blocked) as not yet passed. ProofForge has a free two-account test builder for Supabase that makes a read-only local script. Your keys and passwords stay on your machine.
What ProofForge covers
- A free outside scan of your live URL: exposed keys in JavaScript, open tables, public files, missing headers. It says pass, fail or inconclusive, and it never signs in.
- The two-account test above for the signed-in half.
- Fix prompts you can paste into your AI builder.
- A $79 buyer report for people thinking of buying an AI-built app.
- An MCP server so your coding agent can check before it deploys.
A clean scan is not a full audit. It only covers what a visitor can see, which is why the two-account test matters.
I work on ProofForge. Try the builder here: two-account test.
Check your own app from the outside, free. Run the free ProofForge scan on your live URL. No account needed for the first scan. It looks at your public site the way a stranger would and says pass, fail or inconclusive, so you know what is confirmed and what it could not see. One-time reports start at $9: see pricing. Building with an AI agent? There is an MCP server so it can check before it deploys.

