Skip to content
Back to skills

Mass Assignment

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitygodjangorailsspringtestingapibackend

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill mass-assignment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mass Assignment?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mass Assignment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-mass-assignment/badge)](https://www.skillsdirectory.com/skills/anandjogawade-mass-assignment)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.