Broken Object Property Level Authorization (OWASP API3) — excessive data exposure (reading fields the caller shouldn't) plus mass assignment (writing hidden/privileged fields). Tier 1. Use when API responses may leak extra fields or when objects accept writable properties the UI never sends.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Api Bopla?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-api-bopla)
---
name: api-bopla
description: Broken Object Property Level Authorization (OWASP API3) — excessive data exposure (reading fields the caller shouldn't) plus mass assignment (writing hidden/privileged fields). Tier 1. Use when API responses may leak extra fields or when objects accept writable properties the UI never sends.
---
# API3 — Broken Object Property Level Authorization (BOPLA)
Merges Excessive Data Exposure (read too much) and Mass Assignment (write too much) at the object-property level. Points ref: `${CLAUDE_PLUGIN_ROOT}/payloads/INJECTION-POINTS.md`.
## Trigger phrases
`api3, bopla, mass assignment, excessive data exposure, hidden fields, over-disclosure, autobind, property level authorization`
## Method
1. **Excessive data exposure** — inspect **raw** API responses, not the UI. Hunt fields the UI never renders: `isAdmin`, `role`, `passwordHash`, `balance`, internal flags, other users' data embedded in list objects, PII beyond what's shown.
2. **Map writable fields** — diff what you send vs. what `GET` returns to enumerate the object schema (also from OpenAPI/`graphql`/APK).
3. **Mass assignment** — inject hidden/privileged fields into `POST`/`PUT`/`PATCH`:
```http
PATCH /api/users/self {"email":"x@x","isAdmin":true}
POST /api/orders {"items":[...],"price":0,"status":"paid"}
```
target: `isAdmin`/`role`/`is_verified`/`account_balance`/`price`/`discount`/`user_id`/`tenant_id`/`approved`.
4. **Probe writability** — send an invalid value (`"isAdmin":"foo"`) and watch for a changed response/error implying the field reaches query logic.
5. Re-`GET` the object (or log in again) to confirm the privileged field actually persisted.
## Bypass / evasion
Try nested paths (`{"user":{"isAdmin":true}}`), array wrapping, snake_case vs camelCase variants, and content-type switch (JSON↔form↔XML) to hit a different binder. See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`.
## Modern / rare techniques
- **[RARE] Property-level IDOR** — same endpoint returns an extra field only when you tamper a parameter (field-level BOLA).
- **[RARE] Mass assignment via merge/patch** — JSON Merge Patch / deep-merge frameworks accept arbitrary keys the allow-list missed.
- **GraphQL mutation over-binding** — mutations accept input-object fields the schema exposes but authz ignores (cross-ref `graphql`).
## Escalation / chaining
Mass assignment of `role`/`isAdmin` → privilege escalation → `api-bfla`. Excessive exposure of IDs/tokens → feed `api-bola`/`api-broken-auth`. Price/balance tampering → business impact (`api-abuse`).
## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike). Route through Burp; use Repeater to iterate field injection and compare responses. See `zazy-orchestrator`.
## Verification (background, before reporting)
Confirm the injected property persisted and took effect (privilege gained, value changed) via an independent re-read or second session; confirm exposed fields are genuinely sensitive/unauthorized. True positives only.
## Evidence
Request injecting the hidden field + response/re-read showing it took effect (e.g., account now admin); or the raw response leaking unauthorized fields. Impact + remediation (property allow-lists, schema serialization, no auto-bind).