hunt-mass-assignment

Detect mass assignment vulnerabilities in web APIs and ORM-backed systems.

1.1k|191|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/uphiago/recon-skills --skill hunt-mass-assignment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-mass-assignment
Source: https://github.com/uphiago/recon-skills/tree/main/redteam/hunt-mass-assignment
Command: npx skills add https://github.com/uphiago/recon-skills --skill hunt-mass-assignment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mass assignment vulnerabilities allow attackers to inject sensitive, unexposed fields (like isAdmin, role, or ownerId) into API endpoints to escalate privileges, bypass payment controls, or take over resources owned by other users, creating critical security risks for web applications and backend systems.

Core Features & Use Cases

  • Multi-framework testing: Covers mass assignment patterns across Rails ActiveRecord, Laravel Eloquent, Django ORM, Mongoose, and Prisma frameworks.
  • Comprehensive payload library: Includes a curated dictionary of high-impact sensitive fields and multiple payload formats (JSON, form-encoded, JSON Patch, GraphQL) to test different endpoint types.
  • Use case: Penetration testers can use this skill during API security assessments to identify unvalidated field binding flaws that lead to unauthorized access or data manipulation.

Quick Start

Use the hunt-mass-assignment skill to test a target API's user profile update endpoint for mass assignment vulnerabilities by injecting sensitive administrative and role-related fields to check for unauthorized persistence.

Frequently Asked Questions about hunt-mass-assignment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for mass assignment vulnerabilities in web APIs?

Test for mass assignment vulnerabilities by injecting sensitive, unexposed fields like isAdmin or role into REST, GraphQL, and form-based API endpoints to check for unauthorized persistence and privilege escalation.

What sensitive fields should I inject to find mass assignment flaws?

Inject sensitive fields such as isAdmin, role, and ownerId using JSON, form-encoded, JSON Patch, and GraphQL payload formats to detect unvalidated field binding that allows unauthorized access or data manipulation.

Does mass assignment testing work with Django ORM and Laravel Eloquent?

Yes, mass assignment testing covers Django ORM, Laravel Eloquent, Rails ActiveRecord, Mongoose, and Prisma frameworks to identify unvalidated field binding flaws across different backend systems.

How do I test GraphQL endpoints for mass assignment vulnerabilities?

Test GraphQL endpoints for mass assignment by injecting sensitive administrative and role-related fields via GraphQL payloads to validate unvalidated field binding flaws that enable unauthorized data manipulation.

What is the best way to detect privilege escalation via mass assignment?

Detect privilege escalation via mass assignment by testing REST, GraphQL, and form-based endpoints with a curated dictionary of high-impact sensitive fields to confirm unauthorized persistence of administrative attributes.