exploiting-broken-function-level-authorization

Detect and test Broken Function Level Authorization vulnerabilities in APIs.

2|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/balsm-health/Balsm-AI --skill exploiting-broken-function-level-authorization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exploiting-broken-function-level-authorization
Source: https://github.com/balsm-health/Balsm-AI/tree/main/plugin/skills/exploiting-broken-function-level-authorization
Command: npx skills add https://github.com/balsm-health/Balsm-AI --skill exploiting-broken-function-level-authorization

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and test Broken Function Level Authorization (BFLA) vulnerabilities in APIs, where regular users can access admin functions or endpoints without proper authorization.

Core Features & Use Cases

  • Endpoint Discovery: Identifies accessible admin endpoints using common patterns.
  • Role-Based Testing: Verifies that access controls enforce correct role-based permissions.
  • HTTP Method Manipulation: Tests if authorization depends on the HTTP method used.
  • Parameter-Based Privilege Escalation: Checks for vulnerabilities through manipulation of request parameters.
  • API Version and Path Traversal: Tests older or alternative API versions and path traversal techniques for bypassing authorization.

Quick Start

Run the agent to test BFLA vulnerabilities in your API by providing the base URL and tokens for different user roles.

Frequently Asked Questions about exploiting-broken-function-level-authorization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for Broken Function Level Authorization vulnerabilities in APIs?

Testing BFLA involves identifying admin endpoints, testing access with regular user credentials, and manipulating HTTP methods or parameters to check if role-based access controls are properly enforced.

What is Broken Function Level Authorization in API security?

Broken Function Level Authorization is an API vulnerability where regular users can access administrative functions or privileged endpoints without proper authorization, enabling privilege escalation and unauthorized access.

How do I check if my API endpoints enforce correct role-based permissions?

You can verify role-based permissions by testing API endpoints with different user credentials, manipulating HTTP methods, and altering request parameters to confirm regular users cannot access privileged functions.

Can I use Python requests to automate BFLA and access control testing?

Yes, you can use Python with the requests library to automate BFLA testing. The scripts send HTTP requests with various user tokens to identify admin endpoints and test for privilege escalation vulnerabilities.

Does HTTP method manipulation help bypass API authorization controls?

HTTP method manipulation tests whether API authorization depends on the method used. Changing GET to PUT or DELETE can sometimes bypass broken function level authorization and grant unauthorized access.

What is the best way to find admin endpoints vulnerable to privilege escalation?

The best way to find vulnerable admin endpoints is using automated discovery scripts that test common admin patterns, check older API versions, and attempt path traversal techniques to bypass authorization controls.