One customer can see another’s data
This is the most serious leak: a signed-in customer changes an ID in a link or request and sees someone else’s order, invoice or messages. Security people call it broken object level authorization.
Free scan: check my app Just your web address. Results in seconds. No signup, no card.
What can go wrong
Every customer’s private data can be walked through one ID at a time, by anyone with a free account.
How to check
- Make two test accounts, A and B, and create some data in each.
- Signed in as A, copy the link to one of A’s records, and change the ID to one of B’s.
- If A can see B’s record, you have this leak.
What PeekLok’s scan checks
If your app uses Supabase login, PeekLok’s free scan can run this test for one table. Give it two test logins and it checks whether either user can read the other’s row. It doesn’t cover other login systems or every table.
General fix prompt
Make sure every query and route that loads a record checks that it belongs to the signed-in user. Use the user ID from the verified session, and add database rules (RLS) so this holds even if the code forgets. Then test it: as user A, request user B’s record by ID and confirm it is refused.
Builder-specific guides
Sources
- OWASP API Security: Broken Object Level Authorization
- OWASP Top 10: Broken Access Control
- CVE-2025-48757 statement by Matt Palmer (170 of 1,645 Lovable apps exposed data)
Get a free scan
PeekLok checks your live app for secret keys in the page code, a Supabase service or anon key showing, Supabase tables anyone can read with the public key, and five browser security headers. If your app uses Supabase login, you can add two test logins and it checks whether one user can see the other’s data. Only scan apps you own. First scan free. Weekly re-checks will be $12 US a month once payments open.
