exploiting-prototype-pollution-in-javascript

Featured

Detect and exploit JavaScript prototype pollution vulnerabilities on both client-side and server-side applications to achieve XSS, RCE, and authentication bypass through property injection.

AI & Automation 15,448 stars 1852 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 97/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Exploiting Prototype Pollution in JavaScript ## When to Use - When testing Node.js or JavaScript-heavy web applications - During assessment of APIs accepting deep-merged JSON objects - When testing client-side JavaScript frameworks for DOM XSS via prototype pollution - During code review of object merge/clone/extend operations - When evaluating npm packages for prototype pollution gadgets ## Prerequisites - Burp Suite with DOM Invader extension for client-side prototype pollution detection - Node.js development environment for server-side testing - Understanding of JavaScript prototype chain and object inheritance - Knowledge of common pollution gadgets (sources, sinks, and exploitable properties) - Prototype Pollution Gadgets Scanner Burp extension for server-side detection - Browser developer console for client-side prototype manipulation > **Legal Notice:** This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws. ## Workflow ### Step 1 — Identify Prototype Pollution Sources ```javascript // Client-side: Test URL-based sources // Navigate to: http://target.com/page?__proto__[polluted]=true // Or use constructor: http://target.com/page?constructor[prototype][polluted]=true // Check in browser console: console.log(({}).polluted); // If returns "true", pollution confirmed // Common URL-based pollution vectors: // ?__pr...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category