prototype-pollution

Identify prototype pollution attack vectors in JavaScript applications via JSON and query strings.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-sikll --skill prototype-pollution-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prototype-pollution
Source: https://github.com/Prohao42/aimy-sikll/tree/main/ai-mian/hack-skills/skills/prototype-pollution
Command: npx skills add https://github.com/Prohao42/aimy-sikll --skill prototype-pollution-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prototype pollution exposes global state and enables remote or local code execution by merging user-controlled keys into JavaScript objects, compromising server and client security.

Core Features & Use Cases

  • Detects pollution vectors such as proto and constructor.prototype in JSON or form data.
  • Provides structured payloads, testing workflows, and gadget-chain awareness for expert assessment.
  • Guides remediation strategies and risk prioritization for both web servers and frontend apps.

Quick Start

Run expert payload probes against JSON bodies and query parameters to assess prototype-pollution surfaces.

Frequently Asked Questions about prototype-pollution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for prototype pollution vulnerabilities in JavaScript applications?

To test for prototype pollution, run expert payload probes against JSON bodies and query parameters to assess pollution surfaces. This identifies vulnerable input merging paths and deep-merge routines in both client and server environments.

What payload patterns detect prototype pollution in JSON or query strings?

Payload patterns for prototype pollution target vectors like __proto__ and constructor.prototype in JSON or form data. These structured payloads exploit deep-merge routines to inject user-controlled keys into JavaScript objects.

Can I assess prototype pollution risks in both frontend and server environments?

Yes, you can assess prototype pollution risks in both frontend and server environments. The testing workflows cover input merging paths in JSON, query strings, and deep-merge routines across web servers and client applications.

What is a gadget chain in prototype pollution vulnerability testing?

A gadget chain in prototype pollution vulnerability testing identifies how polluted prototypes enable remote or local code execution. It maps how merged user-controlled keys compromise global state and trigger downstream security impacts.

How do I remediate prototype pollution vulnerabilities after detection?

To remediate prototype pollution vulnerabilities, apply structured remediation strategies and risk prioritization based on the detected pollution surfaces. This guides securing merge routines against __proto__ and constructor.prototype injections.

Does prototype pollution testing work with deep-merge routines in JavaScript?

Yes, prototype pollution testing works with deep-merge routines in JavaScript. It detects pollution vectors by probing how user-controlled keys are merged into objects, exposing global state compromises and code execution risks.