yaklang avatar

Prototype Pollution Advanced

Once you've confirmed prototype pollution exists, this is what you load to turn it into code execution. Covers the full escalation path: server-side RCE through template engine gadgets (EJS, Pug, Handlebars) and child_process pollution, client-side script gadgets in jQuery and Lodash, and practical bypass techniques when __proto__ is filtered. The gadget reference table alone is worth it. Includes black-box detection methods that work without source access and covers the constructor.prototype alternative when filters block the obvious path. This assumes you already understand merge sinks and basic pollution mechanics from the companion prototype-pollution skill.

skills.sh installs
3.7K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill prototype-pollution-advanced --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: Prototype Pollution Advanced — RCE & Gadget Exploitation

AI LOAD INSTRUCTION: Advanced prototype pollution escalation. Covers server-side RCE via template engines (EJS, Pug, Handlebars), Node.js child_process gadgets, client-side script gadgets, filter bypass patterns, and systematic detection. Load ../prototype-pollution/SKILL.md first for fundamentals (merge sinks, __proto__ vs constructor.prototype, basic probes).

0. RELATED ROUTING

Advanced Reference

Load KNOWN_GADGETS.md for the comprehensive gadget table by framework/library with polluted properties, trigger conditions, impact, and affected versions.


1. SERVER-SIDE PP → RCE

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102
1tradermonty avatarearnings-calendartradermonty/claude-trading-skillsThis skill retrieves upcoming earnings announcements for US stocks using the Financial Modeling Prep (FMP) API. Use this when the user requests earnings calenda3.7Kskills.sh installs
2tradermonty avatareconomic-calendar-fetchertradermonty/claude-trading-skillsFetch upcoming economic events and data releases using FMP API. Retrieve scheduled central bank decisions, employment reports, inflation data, GDP releases, and3.7Kskills.sh installs
3giuseppe-trisciuoglio avatarsonarqube-mcpgiuseppe-trisciuoglio/developer-kitProvides SonarQube and SonarCloud integration patterns via the Model Context Protocol (MCP) server. Enables quality gate monitoring, issue discovery and triagin3.7Kskills.sh installs
4tradermonty avatarsector-analysttradermonty/claude-trading-skillsThis skill should be used when analyzing sector rotation patterns and market cycle positioning. It fetches sector uptrend data from CSV (no API key required) an3.7Kskills.sh installs
5dotnet avataruse-js-interopdotnet/skillsAdd, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js modules3.7Kskills.sh installs
6veithly avatartavily-searchveithly/tavily-searchTavily AI search API - Optimized search for AI agents. Use when searching the web for current information, news, facts, or any task requiring real-time data.3.7Kskills.sh installs