New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Http Parameter Pollution

HTTP parameter pollution skill that tests duplicate keys parsed differently across proxies, WAFs, and app frameworks.

skills.sh installs
3.9K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers duplicate query and body keys, including array-style, bracket-nested, and JSON duplicate-key variants
  • Includes a server behavior matrix (first, last, or comma-joined occurrence) for PHP, ASP.NET, Django, Flask, Express, Rack, Go, and others
  • Provides attack scenarios for WAF bypass, SSRF second-URL splitting, CSRF token confusion, and business-logic abuse such as amount fields
  • Designed for authorized security assessments where a WAF and application layer disagree on which parameter value takes effect

Install

$ npx -y skills add yaklang/hack-skills --skill http-parameter-pollution -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: HTTP Parameter Pollution (HPP)

AI LOAD INSTRUCTION: Model the full request path: browser → CDN/WAF → reverse proxy → app framework → business code. Duplicate keys (a=1&a=2) are not an error at HTTP level; each hop may pick first, last, join, or array-ify. Test HPP when WAF and app disagree, or when internal HTTP clients rebuild query strings. Routing note: when the same parameter appears multiple times, or WAF/backend stacks differ, use the Section 1 matrix to test first/last/merge assumptions, then design Section 3 scenario chains.

0. QUICK START

Hypothesis: the security check reads one occurrence of a parameter while the action reads another.

First-pass payloads

id=1&id=2
id=1&id=1%20OR%201=1
url=https://legit.example&id=https://evil.example
amount=1&amount=9999
csrf=TOKEN_A&csrf=TOKEN_B
user=alice&user=admin

Body variants (repeat for POST)

application/x-www-form-urlencoded
id=1&id=2

multipart/form-data
------boundary
Content-Disposition: form-data; name="id"
1
------boundary
Content-Disposition: form-data; name="id"
2

Quick methodology

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Http Parameter Pollution

More Security