[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H19YD8QV5TX7P4PMJPEV9":3,"skill-same:01M71H19YD8QV5TX7P4PMJPEV9":55},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M71H19YD8QV5TX7P4PMJPEV9","webapp-api-massassign",null,"Webapp Api Massassign.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-api-massassign\u002FSKILL.md",[],[19,20,21,22],"api","webapp","webapp api massassign","cybersecurity","2026-11-10 10:12:30",false,"---\nname: webapp-api-massassign\ndescription: \"Webapp Api Massassign.\"\ndomain: cybersecurity\n---\n\n|\n| **Mass Assignment** | Vulnerability where an API automatically binds client-supplied parameters to internal object properties without filtering, allowing modification of unintended fields |\n| **Auto-Binding** | Framework feature that maps HTTP request parameters directly to object model attributes, enabling mass assignment when no allowlist is configured |\n| **Allowlist (Whitelist)** | Server-side list of fields that the API explicitly allows clients to set, rejecting all other parameters |\n| **Blocklist (Blacklist)** | Server-side list of fields that the API explicitly blocks from client modification (less secure than allowlist) |\n| **Object Property Level Authorization** | OWASP API3:2023 - ensuring that users can only read\u002Fwrite object properties they are authorized to access |\n| **DTO (Data Transfer Object)** | Pattern where a separate object defines the allowed input fields, decoupling the API contract from the internal data model |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: Intercept write requests and inject additional parameters using Repeater and Intruder\n- **Param Miner (Burp Extension)**: Automatically discovers hidden parameters by fuzzing request bodies and headers\n- **Arjun**: Parameter discovery tool that finds hidden HTTP parameters in API endpoints\n- **OWASP ZAP**: Active scanner with parameter injection capabilities for mass assignment detection\n- **Postman**: API testing platform for crafting requests with injected parameters and verifying responses\n\n## Common Scenarios\n\n### Scenario: SaaS User Registration Mass Assignment\n\n**Context**: A SaaS platform allows user self-registration through a REST API. The registration endpoint accepts name, email, and password. The backend uses an ORM that auto-binds request parameters to the User model.\n\n**Approach**:\n1. Register a new user with only expected fields: `POST \u002Fapi\u002Fv1\u002Fregister {\"name\":\"Test\",\"email\":\"test@example.com\",\"password\":\"Pass123!\"}` - returns user with `role: \"user\"`\n2. Register another user with injected role: `POST \u002Fapi\u002Fv1\u002Fregister {\"name\":\"Admin\",\"email\":\"admin@example.com\",\"password\":\"Pass123!\",\"role\":\"admin\"}` - returns user with `role: \"admin\"`\n3. Confirm admin access by calling admin endpoints with the new account\n4. Test additional fields: `is_verified: true` bypasses email verification, `subscription_plan: \"enterprise\"` grants premium features\n5. Test profile update endpoint: `PUT \u002Fapi\u002Fv1\u002Fusers\u002Fme {\"name\":\"Test\",\"balance\":99999}` - wallet balance modified\n\n**Pitfalls**:\n- Only testing obvious fields like \"role\" and missing domain-specific fields like \"subscription_plan\", \"credit_limit\", or \"verified\"\n- Not verifying that the injected field was actually saved (some APIs return 200 but silently ignore unknown fields)\n- Assuming that blocklisting \"role\" prevents mass assignment when \"isAdmin\", \"is_admin\", or \"admin\" may also work\n- Not testing both creation (POST) and update (PUT\u002FPATCH) endpoints as they may have different filtering\n- Missing nested object mass assignment where fields like `user.role` or `address.verified` can be injected\n\n## Output Format\n\n```\n## Finding: Mass Assignment Enables Role Elevation via Registration API\n\n**ID**: API-MASS-001\n**Severity**: Critical (CVSS 9.8)\n**OWASP API**: API3:2023 - Broken Object Property Level Authorization\n**Affected Endpoints**:\n  - POST \u002Fapi\u002Fv1\u002Fregister\n  - PUT \u002Fapi\u002Fv1\u002Fusers\u002Fme\n  - POST \u002Fapi\u002Fv1\u002Forders\n\n**Description**:\nThe API binds all client-supplied JSON fields directly to the database model\nwithout filtering. An attacker can include undocumented fields in registration\nand update requests to elevate their role to admin, bypass email verification,\nmodify wallet balances, and manipulate order pricing.\n\n**Proof of Concept**:\n1. Register with injected role:\n   POST \u002Fapi\u002Fv1\u002Fregister\n   {\"name\":\"Attacker\",\"email\":\"attacker@evil.com\",\"password\":\"P@ss123!\",\"role\":\"admin\"}\n   Response: {\"id\":5001,\"name\":\"Attacker\",\"role\":\"admin\",\"is_verified\":false}\n\n2. Update profile with injected balance:\n   PUT \u002Fapi\u002Fv1\u002Fusers\u002Fme\n   {\"name\":\"Attacker\",\"balance\":99999.99}\n   Response: {\"id\":5001,\"balance\":99999.99}\n\n3. Create order with manipulated price:\n   POST \u002Fapi\u002Fv1\u002Forders\n   {\"items\":[{\"product_id\":42,\"qty\":1}],\"total\":0.01}\n   Response: {\"order_id\":8001,\"total\":0.01}\n\n**Impact**:\nAny user can gain administrative access, manipulate financial data,\nbypass security controls, and purchase products at arbitrary prices.\n\n**Remediation**:\n1. Implement DTOs\u002Finput schemas that explicitly define allowed fields per endpoint per role\n2. Use framework-specific mass assignment protection (Rails: strong parameters, Django: serializer fields)\n3. Never bind request parameters directly to the data model\n4. Add integration tests that verify undocumented fields are rejected\n5. Use an allowlist approach rather than blocklist for writable fields\n```\n","|\n| **Mass Assignment** | Vulnerability where an API automatically binds client-supplied parameters to internal object properties without filtering, allowing modification of unintended fields |\n| **Auto-Binding** | Framework feature that maps HTTP request parameters directly to object model attributes, enabling mass assignment when no allowlist is configured |\n| **Allowlist (Whitelist)** | Server-side list of fields that the API explicitly allows clients to set, rejecting all other parameters |\n| **Blocklist (Blacklist)** | Server-side list of fields that the API explicitly blocks from client modification (less secure than allowlist) |\n| **Object Property Level Authorization** | OWASP API3:2023 - ensuring that users can only read\u002Fwrite object properties they are authorized to access |\n| **DTO (Data Transfer Object)** | Pattern where a separate object defines the allowed input fields, decoupling the API contract from the internal data model |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: Intercept write requests and inject additional parameters using Repeater and Intruder\n- **Param Miner (Burp Extension)**: Automatically discovers hidden parameters by fuzzing request bodies and headers\n- **Arjun**: Parameter discovery tool that finds hidden HTTP parameters in API endpoints\n- **OWASP ZAP**: Active scanner with parameter injection capabilities for mass assignment detection\n- **Postman**: API testing platform for crafting requests with injected parameters and verifying responses\n\n## Common Scenarios\n\n### Scenario: SaaS User Registration Mass Assignment\n\n**Context**: A SaaS platform allows user self-registration through a REST API. The registration endpoint accepts name, email, and password. The backend uses an ORM that auto-binds request parameters to the User model.\n\n**Approach**:\n1. Register a new user with only expected fields: `POST \u002Fapi\u002Fv1\u002Fregister {\"name\":\"Test\",\"email\":\"test@example.com\",\"password\":\"Pass123!\"}` - returns user with `role: \"user\"`\n2. Register another user with injected role: `POST \u002Fapi\u002Fv1\u002Fregister {\"name\":\"Admin\",\"email\":\"admin@example.com\",\"password\":\"Pass123!\",\"role\":\"admin\"}` - returns user with `role: \"admin\"`\n3. Confirm admin access by calling admin endpoints with the new account\n4. Test additional fields: `is_verified: true` bypasses email verification, `subscription_plan: \"enterprise\"` grants premium features\n5. Test profile update endpoint: `PUT \u002Fapi\u002Fv1\u002Fusers\u002Fme {\"name\":\"Test\",\"balance\":99999}` - wallet balance modified\n\n**Pitfalls**:\n- Only testing obvious fields like \"role\" and missing domain-specific fields like \"subscription_plan\", \"credit_limit\", or \"verified\"\n- Not verifying that the injected field was actually saved (some APIs return 200 but silently ignore unknown fields)\n- Assuming that blocklisting \"role\" prevents mass assignment when \"isAdmin\", \"is_admin\", or \"admin\" may also work\n- Not testing both creation (POST) and update (PUT\u002FPATCH) endpoints as they may have different filtering\n- Missing nested object mass assignment where fields like `user.role` or `address.verified` can be injected\n\n## Output Format\n\n```\n## Finding: Mass Assignment Enables Role Elevation via Registration API\n\n**ID**: API-MASS-001\n**Severity**: Critical (CVSS 9.8)\n**OWASP API**: API3:2023 - Broken Object Property Level Authorization\n**Affected Endpoints**:\n  - POST \u002Fapi\u002Fv1\u002Fregister\n  - PUT \u002Fapi\u002Fv1\u002Fusers\u002Fme\n  - POST \u002Fapi\u002Fv1\u002Forders\n\n**Description**:\nThe API binds all client-supplied JSON fields directly to the database model\nwithout filtering. An attacker can include undocumented fields in registration\nand update requests to elevate their role to admin, bypass email verification,\nmodify wallet balances, and manipulate order pricing.\n\n**Proof of Concept**:\n1. Register with injected role:\n   POST \u002Fapi\u002Fv1\u002Fregister\n   {\"name\":\"Attacker\",\"email\":\"attacker@evil.com\",\"password\":\"P@ss123!\",\"role\":\"admin\"}\n   Response: {\"id\":5001,\"name\":\"Attacker\",\"role\":\"admin\",\"is_verified\":false}\n\n2. Update profile with injected balance:\n   PUT \u002Fapi\u002Fv1\u002Fusers\u002Fme\n   {\"name\":\"Attacker\",\"balance\":99999.99}\n   Response: {\"id\":5001,\"balance\":99999.99}\n\n3. Create order with manipulated price:\n   POST \u002Fapi\u002Fv1\u002Forders\n   {\"items\":[{\"product_id\":42,\"qty\":1}],\"total\":0.01}\n   Response: {\"order_id\":8001,\"total\":0.01}\n\n**Impact**:\nAny user can gain administrative access, manipulate financial data,\nbypass security controls, and purchase products at arbitrary prices.\n\n**Remediation**:\n1. Implement DTOs\u002Finput schemas that explicitly define allowed fields per endpoint per role\n2. Use framework-specific mass assignment protection (Rails: strong parameters, Django: serializer fields)\n3. Never bind request parameters directly to the data model\n4. Add integration tests that verify undocumented fields are rejected\n5. Use an allowlist approach rather than blocklist for writable fields\n```\n",{"name":5,"domain":22,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fwebapp-api-massassign","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill webapp-api-massassign",{"tool":41,"command":42},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill webapp-api-massassign",{"tool":44,"command":45},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill webapp-api-massassign","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-api-massassign\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"index.json","REFERENCE","参考文档",484,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-api-massassign\u002Findex.json",[56,66,91,114,136,158],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":65},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":23},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[73,74,75,76,77,78,79,22,80,81,82,83,84,85,86,87,88,89,90],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":23},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[98,76,99,73,100,101,102,103,104,22,105,106,107,108,109,110,111,112,90,113],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"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":23},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[121,122,123,124,125,126,127,128,129,130,110,90,131,132,103,133,102,22,134,135],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":23},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[143,144,145,74,22,146,89,147,148,149,78,90,150,151,152,153,154,155,156,157],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":23},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[165,143,166,74,167,168,79,90,150,169,170,19,103,78,22,146,171,89,172,148],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","process-injection","memory"]