Documentation
README
Prototype Pollution
Objective
Exploit JavaScript prototype pollution to modify Object.prototype, leading to XSS, privilege escalation, or RCE via gadget chains.
Testing Methodology
Phase 1: Client-Side Detection
URL-based pollution:
https://TARGET/?__proto__[polluted]=1
https://TARGET/?__proto__.polluted=1
https://TARGET/?constructor[prototype][polluted]=1
https://TARGET/#__proto__[polluted]=1
Verify in browser console:
console.log(({}).polluted) // Should print "1" if vulnerable
Phase 2: JSON Body Pollution
This is the opening of the README. Read the full README on GitHub.