yaklang avatar

Api Authorization And Bola

API playbook that tests object, nested, and function-level authorization by replaying one account's requests with another's token.

CCM score
62 of 100
skills.sh installs
4.2K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the core test loop: two accounts, captured create, read, update, and delete flows, then replays with the second token
  • Includes test surfaces for object reads, nested objects, admin functions, update verbs, and hidden JSON fields like role and org
  • Lists quick payloads that probe writable fields such as isAdmin, org, and verified for mass assignment
  • Points to related skills for JWT abuse, GraphQL and hidden parameters, and general IDOR patterns outside APIs

Install

$ npx -y skills add yaklang/hack-skills --skill api-authorization-and-bola -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

SurfaceExample
object read/api/v1/orders/123
nested object/api/v1/users/1/invoices/9
admin or internal function/api/v1/admin/users
update pathPUT, PATCH, DELETE variants
hidden JSON fieldsrole, org, verified, tier

3. QUICK PAYLOADS

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

4. WHAT TESTERS MISS

Details

Repository
github.com/yaklang/hack-skills
Categories
Security, Backend & APIs
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Api Authorization And Bola

More Security