Bolt: 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.
Why it matters for your Bolt app
Bolt.new apps often connect to Supabase, and the code runs in the browser unless you ask for a server function.
Every customer’s private data can be walked through one ID at a time, by anyone with a free account.
How to check in five minutes
- 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.
Fix prompt to paste into the Bolt chat
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. (This is a Bolt app using Supabase. Keep secrets in environment variables in your Supabase or hosting dashboard.)
After the AI makes changes, test again with two accounts. AI fixes can look right and still miss a table or route.
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)
Related
- Can strangers sign up to my app if I hid the sign-up page? A Supabase check for Lovable and Bolt apps
- Bolt: Supabase RLS turned off
- Bolt: Exposed anon or service role key
- Bolt: Open database tables
- Bolt: API keys in front-end code
- Bolt: Missing auth on endpoints
- Bolt: Missing security headers
Same issue in other builders:
All Bolt security guides · One customer can see another’s data explained
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.
