hunt-broken-function-level-auth

Detect broken function-level authorization via HTTP verb drift and shadow routes.

1.1k|191|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/uphiago/recon-skills --skill hunt-broken-function-level-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-broken-function-level-auth
Source: https://github.com/uphiago/recon-skills/tree/main/redteam/hunt-broken-function-level-auth
Command: npx skills add https://github.com/uphiago/recon-skills --skill hunt-broken-function-level-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the risk of unauthorized privilege escalation in role-based access control (RBAC) APIs, where attackers can invoke administrative or privileged actions they are not authorized to perform via overlooked attack vectors like HTTP verb drift, legacy shadow routes, or inconsistent transport protocol authorization.

Core Features & Use Cases

  • HTTP Verb Drift Detection: Identifies endpoints where different HTTP methods (GET, POST, PUT, DELETE, custom methods) have mismatched authorization enforcement, allowing low-privilege users to access admin actions via unguarded methods.
  • Shadow Route Discovery: Finds legacy, deprecated, or unlisted API paths (e.g., /api/v0/, /api/internal/) that bypass modern middleware authorization checks.
  • Transport Protocol Gap Testing: Validates authorization parity across REST, GraphQL, WebSocket, and gRPC interfaces to catch bypasses where non-REST transports skip standard access controls.
  • Use Case: A red teamer testing a customer-facing SaaS API with admin, moderator, and user roles can use this Skill to confirm if regular users can delete other user accounts, modify system settings, or access internal job endpoints without proper role validation.

Quick Start

Use the hunt-broken-function-level-auth skill to test your target API for broken function-level authorization by running the full detection workflow covering verb drift, shadow routes, feature flag bypasses, and transport protocol gaps.

Frequently Asked Questions about hunt-broken-function-level-auth

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

FAQPage Schema
How do I test APIs for broken function-level authorization and privilege escalation?

Broken function-level authorization occurs when APIs fail to properly gate administrative actions across different HTTP methods, legacy shadow routes like /api/v0/, or alternative transports like GraphQL and WebSockets, allowing low-privilege users to bypass role-based access control (RBAC) enforcement and escalate privileges.

What is HTTP verb drift and how does it bypass API role-based access control?

Shadow route discovery targets legacy, deprecated, or unlisted API paths such as /api/v0/ or /api/internal/ that bypass modern middleware authorization checks, exposing privileged functionality outside standard role-based access control enforcement.

How do I validate authorization parity across GraphQL, WebSocket, and gRPC transports?

Yes, this approach tests role-based access control systems, legacy API endpoints, GraphQL/WebSocket/gRPC transports, and beta/feature-flagged functionality to confirm that administrative and privileged actions are properly gated regardless of HTTP method, endpoint path, or transport protocol.

What are the limitations of testing HTTP verb drift for API authorization bypasses?

Testing HTTP verb drift for API authorization bypasses requires targeting role-based access control systems and may miss vulnerabilities if legacy shadow routes, feature flag bypasses, or transport protocol gaps across non-REST interfaces are not simultaneously tested.