Require authentication on all non-public routes and enforce per-resource authorization (object-level) on every request.
Why This Matters
Missing authentication or object-level authorization (BOLA/IDOR) is the top API security risk and leads directly to data breaches.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.