Server-side prototype pollution (SSPP) in Node.js — polluting Object.prototype via JSON input to recursive merge/clone/assign operations, then chaining to a gadget for privilege escalation, security-control bypass, SSRF, reflected value injection, or RCE (child_process gadgets). Includes black-box detection. Tier 1. Payloads: payloads/nosql.md/command-exec.md. Use for Node/Express JSON APIs.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Server Side Prototype Pollution?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-server-side-prototype-pollution)
---
name: server-side-prototype-pollution
description: "Server-side prototype pollution (SSPP) in Node.js — polluting Object.prototype via JSON input to recursive merge/clone/assign operations, then chaining to a gadget for privilege escalation, security-control bypass, SSRF, reflected value injection, or RCE (child_process gadgets). Includes black-box detection. Tier 1. Payloads: payloads/nosql.md/command-exec.md. Use for Node/Express JSON APIs."
---
# Server-Side Prototype Pollution (SSPP)
Pollute prototypes on the server via JSON into unsafe merge/clone. Black-box detectable and chainable to high impact.
## Trigger phrases
`sspp, server side prototype pollution, node prototype pollution, __proto__ json, merge gadget rce`
## Method
1. **Detect (black-box):** add `"__proto__":{"json spaces":10}` (Express) or similar config-changing props; observe a response-format change (e.g., JSON indentation) → prototype was polluted. Other probes: `"__proto__":{"status":510}`, `"__proto__":{"content-type":"..."}`, parameter-limit/exposed-headers changes.
2. **Pollute** via JSON body into recursive merge/clone/`Object.assign`/lodash `merge`/`defaultsDeep`.
3. **Gadget chain:** reflected-value injection, security-flag bypass (auth/`isAdmin`), SSRF (pollute proxy/options), or **RCE** via gadgets that reach `child_process` options (`shell`, `NODE_OPTIONS`, `argv0`) — verify the exact app/library gadget.
## Escalation
Privilege bypass, SSRF, or RCE depending on available gadget. Honor the Tier gate for intrusive RCE on production.
## Backend & tooling
Preferred Kali path or headless browser for client-side execution/evidence; if a Burp MCP is present, proxy traffic for visibility and send PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Reproduce in a real browser / second context and confirm impact before marking CONFIRMED; use OAST for blind cases. Report true positives only.
## Evidence
The detection probe + response change, the pollution payload, the gadget, and the resulting impact.