Skills for Real Engineers. Straight from my .agents directory.
api-authorization-and-bola
Agent skill fromyaklang/hack-skills
API authorization and BOLA testing playbook. Use when APIs expose object identifiers, nested resources, hidden writable fields, or weak function-level authorization.
How to install api-authorization-and-bola
npx skills add yaklang/hack-skills# or add only this skill to Claude Code: copy the folder
skills/api-authorization-and-bola/
# into
~/.claude/skills/api-authorization-and-bola/ (all projects)
.claude/skills/api-authorization-and-bola/ (one project)
1# SKILL: API Authorization and BOLA — Object Access, Function Access, and Mass Assignment23> **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.45## 1. CORE TEST LOOP671. Create Account A and Account B.82. As Account A, capture create, read, update, and delete flows.93. Replay with Account B's token.104. Test sibling endpoints, nested endpoints, and alternate HTTP verbs.1112## 2. TEST SURFACES1314| Surface | Example |15|---|---|16| object read | `/api/v1/orders/123` |17| nested object | `/api/v1/users/1/invoices/9` |18| admin or internal function | `/api/v1/admin/users` |19| update path | `PUT`, `PATCH`, `DELETE` variants |20| hidden JSON fields | `role`, `org`, `verified`, `tier` |2122## 3. QUICK PAYLOADS2324```json25{"role":"admin"}26{"isAdmin":true}27{"org":"target-company"}28{"verified":true}29```3031## 4. WHAT TESTERS MISS3233- object IDs in headers, cookies, GraphQL args, and nested objects34- alternate methods sharing the same route but weaker authz35- parent check present, child resource check missing36- admin docs revealing extra writable fields3738## 5. NEXT ROUTING3940- For JWT or token-layer abuse: [api auth and jwt abuse](../api-auth-and-jwt-abuse/SKILL.md)41- For GraphQL and hidden parameter discovery: [graphql and hidden parameters](../graphql-and-hidden-parameters/SKILL.md)42…
Excerpt shown under the repository's MIT license.
More skills in hack-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
