access-bfla

Test API endpoints across privilege roles to detect unauthorized function access.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill access-bfla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: access-bfla
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/access-bfla
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill access-bfla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical security risk of Broken Function Level Authorization (BFLA), where lower-privilege users can access administrative or restricted functions due to improper server-side enforcement.

Core Features & Use Cases

  • Role-Based Matrix Validation: Systematically tests endpoint reachability across different privilege levels to identify unauthorized access.
  • Multi-Vector Probing: Checks for vulnerabilities across API versions, HTTP method overrides, path normalization, and content-type switching.
  • Use Case: A security researcher uses this skill to verify that a standard user account cannot trigger administrative DELETE or PATCH operations on an API by manipulating headers or path segments.

Quick Start

Use the access-bfla skill to audit the target API by providing the scope definition and the required role-based endpoint matrix for validation.

Frequently Asked Questions about access-bfla

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

FAQPage Schema
How do I test for broken function level authorization in APIs?

To test for broken function level authorization, you validate API endpoints against multiple privilege roles and request manipulation vectors to detect unauthorized access to administrative or state-changing functions.

What is broken function level authorization and how does it impact API security?

Broken function level authorization occurs when lower-privilege users access administrative or restricted functions due to improper server-side enforcement, creating critical security risks for REST, GraphQL, and gRPC services.

Can I audit GraphQL and gRPC endpoints for unauthorized access using this method?

Yes, you can audit GraphQL and gRPC endpoints for unauthorized access. This approach validates function-level authorization boundaries by testing endpoint reachability across different privilege levels.

How do I perform a role-based matrix validation to identify unauthorized API access?

Role-based matrix validation systematically tests endpoint reachability across different privilege levels to identify unauthorized access, requiring a defined scope and a role-based endpoint matrix for validation.

What request manipulation vectors are used to detect API function-level authorization vulnerabilities?

Multi-vector probing checks for vulnerabilities across API versions, HTTP method overrides, path normalization, and content-type switching to detect function-level authorization vulnerabilities.

What scope and authorization caching protocols are required for a BFLA security audit?

A BFLA security audit requires strict adherence to defined scope, authorization caching, and evidence-based reporting protocols to ensure accurate validation of function-level authorization boundaries.