What problem does it solve?
This Skill addresses the risk of prototype pollution vulnerabilities in JavaScript applications, which occur when untrusted user input is merged into nested objects without proper sanitization, allowing attackers to modify shared prototype properties and trigger remote code execution, denial of service, or application logic bypasses.
Core Features & Use Cases
- Dual-scope detection: Covers both client-side (URL fragments, DOM injection) and server-side (Express, qs parser, Node.js) prototype pollution attack vectors.
- Exploitation guidance: Includes gadget chains for common targets like EJS templates, Node.js child_process, and CORS misconfigurations to demonstrate real-world impact.
- Use case: Security testers can use this Skill during authorized penetration tests to assess JavaScript web apps, Node.js APIs, and frontend frameworks for prototype pollution risks, with a built-in decision tree to streamline testing workflows.
Quick Start
Use the prototype-pollution skill to test a target Node.js Express API endpoint for server-side prototype pollution by sending crafted JSON payloads and checking for persistent global side effects in subsequent clean requests.