Prototype Pollution
Expert prototype pollution playbook for JavaScript merge sinks, parser behavior, and gadget chains in Node and browsers.
- CCM score
- 66 of 100
- skills.sh installs
- 4K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers
__proto__andconstructor.prototypeprobes for client-side fragments and server-side JSON or form bodies - Includes detection tables mapping Express and
qs-style payloads (parameterLimit,allowDots,json spaces) to observable follow-up-request effects - Documents exploitation gadgets for EJS, a historical Timelion expression chain (CVE-2019-7609), and
child_processoption pollution - Designed for authorized security testing where user input is merged into objects by query parsers, JSON bodies, or deep-assign routines
Install
$ npx -y skills add yaklang/hack-skills --skill prototype-pollution -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SKILL: Prototype Pollution — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert prototype pollution for client and server JS. Covers
__proto__vsconstructor.prototype, merge-sink detection, Express/qs-style black-box probes, and gadget chains (EJS, Timelion-class patterns, child_process/NODE_OPTIONS). Assumes you know object spread and prototype inheritance — focus is on parser behavior and post-pollution sinks.
Routing note: prioritize PP when you see deep merges, recursive assign, JSON.parse followed by Object.assign, or URL queries converted to nested objects.
0. QUICK START
Client-side first probes
#__proto__[polluted]=1
#__proto__[polluted]=polluted
#constructor[prototype][polluted]=1
When input can reflect into DOM or framework routing, pair with alert(1) / console checks to observe whether global object properties were polluted.
#__proto__[xxx]=alert(1)
Server-side first probes(JSON / form)
{"__proto__":{"polluted":true}}
{"constructor":{"prototype":{"polluted":true}}}
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Security, Web3 & Crypto
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Dns Rebinding Attacks4K
- Network Protocol Attacks4K
- Memory Forensics Volatility4K
- Ai Ml Security4K
- Windows Av Evasion4K
- Dangling Markup Injection4K
- Defi Attack Patterns4K
- Windows Privilege Escalation4K
- Container Escape Techniques4K
- Email Header Injection4K
- Xslt Injection4K
- Linux Lateral Movement4K
- Type Juggling4K
- Linux Security Bypass4K
- Classical Cipher Analysis4K
- Tunneling And Pivoting4K
- Steganography Techniques4K
- Prototype Pollution Advanced3.9K
- Stack Overflow And Rop3.9K
- Smart Contract Vulnerabilities3.9K
- Lattice Crypto Attacks3.9K
- Rsa Attack Techniques3.9K
- Sandbox Escape Techniques3.9K
- Symmetric Cipher Attacks3.9K
Similar to Prototype Pollution
More Securityinjection-checkingSkillyaklang/hack-skills4.1K installsRouting entry that picks the right injection workflow by the interpreter attacker input reaches.
cors-cross-origin-misconfigurationSkillyaklang/hack-skills4.1K installsSecurity playbook for testing cross-origin trust, reflected origins, and credentialed browser reads against authenticated APIs.
JS ReverseMCP serverzhizhuodemao3.1K starsDebugging and analysis of page JavaScript: scripts, breakpoints, network, and runtime state.
JS ReverseMCP servernoone-hub1.1K starsA browser-driven JavaScript reverse engineering toolkit covering script inspection, hooks, breakpoints, network tracing, and local rebuilds.
playwright-bot-bypassSkillgreekr4/playwright-bot-bypass805 installsStealth browser automation built on rebrowser-playwright and headed real Chrome to reduce bot detection.
property-based-testingSkillaj-geddes/useful-ai-prompts457 installsProperty-based testing skill that checks code invariants against automatically generated inputs across Python, JavaScript, and Java.