-
Security
Fix IDOR: check ownership on every object access
Finds endpoints where changing an ID in the URL or body exposes other users' data, and adds ownership checks.
Free Prompt
What This Does / How This Helps
Finds the endpoints where swapping an ID in the URL hands you someone else's data, and adds a real ownership check to each one. IDOR is arguably the most common serious bug in vibe-coded apps. The endpoint loads whatever record the ID points to and never asks whether the requester should see it. Increment the order ID in the URL and you're reading a stranger's receipts. UUIDs make guessing harder but don't fix the missing check. The output is an endpoint-by-endpoint table with fixes applied and a two-account test for each one, so you can prove user A can no longer reach user B's records.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).