payloads-proto-pollution
БесплатноБез исполняемых скриптовНе проверенPrototype pollution is a type of vulnerability that occurs in JavaScript when properties of Object.prototype are modified. This is particularly risky because…
от smartworldarafath★ 68 звёзд на GitHubОб этом скилле
Prototype Pollution Payloads
Source: PayloadsAllTheThings/Prototype Pollution Category:
payloads-injection| Skill ID:payloads-proto-pollution
Overview
JavaScript prototype pollution payloads for server-side and client-side exploitation.
This skill integrates the full PayloadsAllTheThings (PATT) payload library for the Prototype Pollution Payloads domain into the REA_Skill framework. Use it during authorized penetration testing, bug bounty research, security audits, and CTF challenges.
Workflow
1. Recon & Identification
- Identify the target technology stack and injection points
- Enumerate endpoints, parameters, and input vectors
- Determine applicable payload categories from the reference below
2. Payload Selection
- Browse the PATT payload library for the attack class
- Select encoding-appropriate payloads for the target environment
- Consider WAF bypass variants and obfuscation techniques
3. Exploitation (Authorized Only)
- Test payloads in order: passive → active → escalation
- Document every payload tested and its response
- Capture PoC evidence (screenshots, HTTP logs, curl output)
4. Verification & Reporting
- Confirm the vulnerability with a clean minimal PoC
- Map findings to CVE/CWE where applicable
- Report with remediation recommendations and code fixes
Full PATT Reference
Prototype Pollution
Prototype pollution is a type of vulnerability that occurs in JavaScript when properties of Object.prototype are modified. This is particularly risky because JavaScript objects are dynamic and we can add properties to them at any time. Also, almost all objects in JavaScript inherit from Object.prototype, making it a potential attack vector.
Summary
Tools
- yeswehack/pp-finder - Help you find gadget for prototype pollution exploitation
- yuske/silent-spring - Prototype Pollution Leads to Remote Code Execution in Node.js
- yuske/server-side-prototype-pollution - Server-Side Prototype Pollution gadgets in Node.js core code and 3rd party NPM packages
- BlackFan/client-side-prototype-pollution - Prototype Pollution and useful Script Gadgets
- portswigger/server-side-prototype-pollution - Burp Suite Extension detectiong Prototype Pollution vulnerabilities
- msrkp/PPScan - Client Side Prototype Pollution Scanner
Methodology
In JavaScript, prototypes are what allow objects to inherit features from other objects. If an attacker is able to add or modify properties of Object.prototype, they can essentially affect all objects that inherit from that prototype, potentially leading to various kinds of security risks.
var myDog = new Dog();
// Points to the function "Dog"
myDog.constructor;
// Points to the class definition of "Dog"
myDog.constructor.prototype;
myDog.__proto__;
myDog["__proto__"];
Examples
Imagine that an application uses an object to maintain configuration settings, like this:
let config = { isAdmin: false };An attacker might be able to add an
isAdminproperty toObject.prototype, like this:Object.prototype.isAdmin = true;
Manual Testing
- ExpressJS:
{ "__proto__":{"parameterLimit":1}}+ 2 parameters in GET request, at least 1 must be reflected in the response. - ExpressJS:
{ "__proto__":{"ignoreQueryPrefix":true}}+??foo=bar - ExpressJS:
{ "__proto__":{"allowDots":true}}+?foo.bar=baz - Change the padding of a JSON response:
{ "__proto__":{"json spaces":" "}}+{"foo":"bar"}, the server should return{"foo": "bar"} - Modify CORS header responses:
{ "__proto__":{"exposedHeaders":["foo"]}}, the server should return the headerAccess-Control-Expose-Headers. - Change the status code:
{ "__proto__":{"status":510}}
Prototype Pollution via JSON Input
You can access the prototype of any object via the magic property __proto__.
The JSON.parse() function in JavaScript is used to parse a JSON string and convert it into a JavaScript object. Typically it is a sink function where prototype pollution can happen.
{
"__proto__": {
"evilProperty"
Установить payloads-proto-pollution в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл payloads-proto-pollution?
Prototype pollution is a type of vulnerability that occurs in JavaScript when properties of Object.prototype are modified. This is particularly risky because JavaScript objects are dynamic and we can add properties to them at any time. Also, almost all objects in JavaScript inherit from Object.prototype, making it a potential attack vector. Help you find gadget for prototype pollution...
Как установить скилл payloads-proto-pollution?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл payloads-proto-pollution запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic