← Blog · 28 October 2026
Change one number in the link. Do you see someone else's data?
Some apps from Lovable, Bolt or Cursor load pages like /orders/1042 or /profile?id=17. Quick code may fetch whatever ID is in the link. It does not always check that the record belongs to the person asking. Security people call this an insecure direct object reference, or IDOR (OWASP cheat sheet).
A quick test on your own app:
- Only test your own app, with two test accounts you made yourself. Do not open real users' data, and do not try this on apps you do not own.
- Make two test accounts, A and B. Create an order or profile with each one.
- Log in as A and open A's record. Note the ID in the address bar.
- Still logged in as A, change the ID to the one from B's record.
- If B's data shows up, other logged-in users can likely do the same with real data.
- Fix it on the server: check that the logged-in user owns the record before you return it. For example, use a Supabase RLS policy (see our RLS guide) or a check in your server route. Then run the test again.
Our scan does not test this. It is a passive check from the outside and does not log in. Want an outside look at other common leaks in your live app? Run a free scan at Vibe-App Watchdog.