hunt-mass-assignment

Installation
SKILL.md

Mass Assignment Hunting

Hunt for mass assignment vulnerabilities where API endpoints blindly bind user-supplied fields to internal objects without allowlisting. Sensitive fields like isAdmin, role, ownerId, plan, tier, balance, and verified can be injected to escalate privileges, bypass payments, or assume ownership of resources.

When to Use

  • API accepts JSON/XML/form body with fields beyond what the UI exposes.
  • User profile updates, registration, checkout, or resource creation endpoints.
  • Framework ORMs (Rails ActiveRecord, Laravel Eloquent, Django ORM, Mongoose, Prisma) where bulk assignment is the default.
  • PATCH endpoints that accept sparse updates — may skip per-field authorization.

Quick Detection

# Inject sensitive fields into profile update
curl --max-time 30 --connect-timeout 10 -sk -X PATCH "https://target.com/api/user/profile" \
  -H "Content-Type: application/json" \
  -d '{"name":"test","isAdmin":true,"role":"admin"}'
Installs
11
GitHub Stars
1.2K
First Seen
Jul 9, 2026
hunt-mass-assignment — uphiago/recon-skills