Api authorization and bola

From ShulkwiSEC/bb-huge · View interactive version

Api authorization and bola is an AI agent skill from the GitHub repository ShulkwiSEC/bb-huge. API authorization and BOLA testing playbook. Use when APIs expose object identifiers, nested resources, hidden writable fields, or weak function-level authorization.

How to use this skill

Skill file

SKILL: API Authorization and BOLA — Object Access, Function Access, and Mass Assignment

AI LOAD INSTRUCTION: Use this skill when an API exposes object IDs, nested resources, or role-sensitive functions and you need a focused authorization test path: BOLA, BFLA, method abuse, and hidden field control.

1. CORE TEST LOOP

  1. Create Account A and Account B.
  2. As Account A, capture create, read, update, and delete flows.
  3. Replay with Account B's token.
  4. Test sibling endpoints, nested endpoints, and alternate HTTP verbs.

2. TEST SURFACES

| Surface | Example |

|---|---|

| object read | /api/v1/orders/123 |

| nested object | /api/v1/users/1/invoices/9 |

| admin or internal function | /api/v1/admin/users |

| update path | PUT, PATCH, DELETE variants |

| hidden JSON fields | role, org, verified, tier |

3. QUICK PAYLOADS

{"role":"admin"}
{"isAdmin":true}
{"org":"target-company"}
{"verified":true}

4. WHAT TESTERS MISS

5. NEXT ROUTING

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.