Skip to content
Back to skills

Server Side Prototype Pollution

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityshellsqlnodeexpressapibackendsecurity

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill server-side-prototype-pollution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Server Side Prototype Pollution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Server Side Prototype Pollution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-server-side-prototype-pollution/badge)](https://www.skillsdirectory.com/skills/anandjogawade-server-side-prototype-pollution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.