Mass assignment / auto-binding / BOPLA (Broken Object Property Level Authorization) testing — injecting privileged or unintended object properties into create/update requests (role, isAdmin, verified, balance, owner_id, price) that the framework auto-binds. Covers property discovery and modern API BOPLA. Tier 1. Use on any create/update/profile/registration endpoint.
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 Mass Assignment?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-mass-assignment)
---
name: mass-assignment
description: Mass assignment / auto-binding / BOPLA (Broken Object Property Level Authorization) testing — injecting privileged or unintended object properties into create/update requests (role, isAdmin, verified, balance, owner_id, price) that the framework auto-binds. Covers property discovery and modern API BOPLA. Tier 1. Use on any create/update/profile/registration endpoint.
---
# Mass Assignment / BOPLA
Frameworks that bind request fields straight to model attributes let you set properties the UI never exposes. OWASP API Top-10 (API3:2023 BOPLA).
## Trigger phrases
`mass assignment, auto binding, bopla, over-posting, excessive properties, privilege via property, strong parameters`
## Discover bindable properties
- Diff GET responses for the object (fields returned hint at bindable attrs), read API schemas/OpenAPI, source maps, framework conventions (Rails/Spring/Django/Laravel/Sequelize/Mongoose model attrs), and error messages that echo field names.
- Enumerate guesses: `role isAdmin is_admin admin verified approved active status balance credit price amount owner_id user_id account_id tenant_id email_verified permissions scopes group`.
## Exploit
Add the extra fields to create/update/registration/profile requests (JSON keys — also nested, see INJECTION-POINTS.md):
```json
{"email":"me@x","role":"admin","email_verified":true,"balance":999999,"owner_id":<victim>}
```
- **Property-level (BOPLA):** also test reading properties you shouldn't (excessive data exposure) — request/project fields the client normally hides.
- Overwrite immutable fields via a different endpoint; set ownership on create; elevate during signup.
## Modern / rare
- GraphQL mutations auto-mapping input types; bulk/PATCH endpoints; JSON-merge/ style updates; nested relationship binding.
## Escalation
`role=admin` → vertical privesc; `owner_id`/`user_id` swap → IDOR-style takeover; `price/balance` → financial.
## Backend
Use the preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or a headless browser for client-side steps; Windows-local only as last resort. See `zazy-orchestrator`.
## Verification (background, before reporting)
Re-confirm every candidate independently (second account/session, replay, or OAST) before marking CONFIRMED. Report true positives only; hold back anything not reproduced.
## Evidence
The create/update request with injected property and proof it took effect (elevated role / changed owner / altered value).