What problem does it solve? APIs often hide administrative features in the frontend while failing to enforce authorization on backend endpoints, letting regular users invoke privileged functions. This Skill systematically detects those Broken Function Level Authorization (BFLA) flaws, mapped to OWASP API5:2023, during authorized security assessments. ## Core Features & Use Cases - Admin Endpoint Discovery: Enumerates common administrative paths (/admin, /api/v1/admin/users, /internal) and tests them with regular user tokens across multiple HTTP methods. - Role Matrix Testing: Compares access across unauthenticated, user, moderator, and admin roles to find vertical privilege escalation gaps. - Bypass Techniques: Tests HTTP method switching, parameter-based role injection (role=admin, is_admin), API version bypasses, and path manipulation (case variation, URL encoding, traversal). - Use Case: During an authorized SaaS platform assessment, run the included agent script with a low-privilege token against the target API to produce a JSON report of accessible admin endpoints, then document findings using the provided severity-rated output template. ## Quick Start Run the BFLA testing agent against my authorized target API at https://api.example.com using my regular user token and generate a JSON findings report.