LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

api-authorization-and-bola

API authorization and BOLA testing playbook. Use when APIs expose object identifiers, nested resources, hidden writable fields, or weak function-level authorization.

1,281stars175forksUpdated 7/5/2026
Developer Tools#penetration-testing#api-security#web-security#bola#authorization

Security Assessment

Safe(100/100)
Security Score100/100

About api-authorization-and-bola

A focused testing playbook for API authorization flaws, centered on Broken Object Level Authorization (BOLA) and its neighbors: Broken Function Level Authorization (BFLA), HTTP method abuse, and mass assignment of hidden fields. Load it when an API exposes object identifiers, nested resources, role-sensitive functions, or potentially writable fields that the client should not control.

The core test loop is simple and repeatable: create two accounts (A and B), capture Account A's create, read, update, and delete flows, replay those requests with Account B's token, and probe sibling endpoints, nested endpoints, and alternate HTTP verbs. It enumerates concrete test surfaces, including direct object reads like /api/v1/orders/123, nested objects like /api/v1/users/1/invoices/9, admin or internal functions like /api/v1/admin/users, PUT/PATCH/DELETE update variants, and hidden JSON fields such as role, org, verified, and tier, along with quick mass-assignment payloads like {"role":"admin"} and {"isAdmin":true}.

A 'what testers miss' section highlights easy-to-overlook cases: object IDs hidden in headers, cookies, or GraphQL arguments; alternate methods that share a route but enforce weaker authorization; a parent resource that is checked while its child is not; and admin documentation that reveals extra writable fields. For deeper follow-up it routes to companion skills, including API auth and JWT abuse for token-layer attacks, GraphQL and hidden-parameter discovery, and broader IDOR patterns outside APIs. It is best used during an API security assessment to systematically prove whether one user can access or modify another user's objects and functions.

FAQ

What is the core BOLA test loop?

Create two accounts, capture Account A's create/read/update/delete flows, replay them with Account B's token, and test sibling endpoints, nested endpoints, and alternate HTTP verbs.

Which hidden fields should I try to set?

Fields like role, org, verified, and tier, using quick payloads such as {"role":"admin"}, {"isAdmin":true}, {"org":"target-company"}, or {"verified":true}.

What test surfaces does it list?

Direct object reads, nested objects, admin/internal functions, PUT/PATCH/DELETE update variants, and hidden JSON fields.

What do testers commonly miss?

Object IDs in headers, cookies, or GraphQL args; alternate methods sharing a route with weaker authorization; a checked parent but unchecked child resource; and admin docs revealing extra writable fields.

Where does it route for JWT or GraphQL testing?

To the api-auth-and-jwt-abuse skill for token-layer attacks, the graphql-and-hidden-parameters skill, and the idor-broken-object-authorization skill for broader IDOR patterns.

Install api-authorization-and-bola

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

yaklang/hack-skills

Related Skills

short-form-video

14

multi-asset-morning-briefing

7,907

content-strategy

2,901

doherty-threshold

2,901