/security-agent-skills:hunting-http-parameter-pollutionfrom security-agent-skills
Hunts HTTP parameter pollution vulnerabilities where two parsers disagree on duplicate or array-shaped parameters, enabling filter bypasses or authorization confusion.
Ships in security-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An HTTP request can carry the same parameter name twice, or shape a parameter as a list, and nothing in the protocol says which value wins. Each component decides on its own: one framework takes the first occurrence, another the last, a third concatenates them, a fourth exposes an array. Parameter pollution is the bug that appears when two components on the path make different choices about the same duplicated input. A gateway or a validator inspects one occurrence and approves the request; the backend that acts on the request reads a different occurrence. The value that was checked is not the value that is used. That gap bypasses a security filter, confuses an authorization or routing decision, or slips a payload past a web application firewall that examined the harmless copy. The vulnerability is entirely relational: a single parser is never wrong with itself, so the work is to find two parsers that differ and a check on one side of the difference.
Test parameter pollution only against systems you own or are authorized to assess, on non-production infrastructure, because a confirming request can bypass an access control or reach a privileged action. Probe with benign values and observe which occurrence is honored rather than exercising the bypass against real data. If you can't name the authorization, stop.
Establish that two components parse duplicates differently first. Map the components a request traverses and determine how each resolves a repeated or array-shaped parameter: first wins, last wins, concatenation, array exposure, error. This is the false-positive killer: if every component on the path resolves duplicates identically, the checked value and the used value are always the same and there is no pollution bug. Name at least two components whose resolution differs before proceeding.
Locate a check and a sink that read the same parameter. Find a parameter that is both inspected by a validator, gateway, filter, or authorization step and consumed by a downstream sink (a query, a redirect, an access decision, a spawned action). The bug needs the same name read on both sides of the parser difference.
Determine which occurrence each side reads. Establish, for the specific parameter, which occurrence the checking component honors and which the sink honors. When they diverge (the check reads the first and the sink reads the last, or the check sees a scalar and the sink sees an array), an attacker can put a benign value where the check looks and a malicious value where the sink looks.
Test the array-versus-scalar coercion. Many frameworks turn a repeated name or a bracketed name into an array or a nested structure, while a check expects a scalar. Probe whether an array-shaped value changes a type-sensitive comparison, defeats an equality or membership check, or alters how the sink interprets the value.
Locate the filter or gateway divergence. Where a web application firewall or an upstream gateway inspects one occurrence and passes the request, check whether a second occurrence carrying the payload reaches the backend unexamined. The pollution is then a delivery mechanism for another injection whose payload was smuggled past the inspector.
Confirm and record. Confirm by sending a request with duplicated or array-shaped parameters where
one occurrence is benign and the other is the attack, and observing that the check approves while the
sink acts on the attacker occurrence, on an isolated instance. Kill the lead if all components resolve
duplicates identically, if the check and the sink read the same occurrence, or if the framework rejects
duplicates outright. Record the parameter, the two components and their differing resolution, the check,
and the sink. Set kill_reason when killing.
Confirm. A gateway authorizes a money-movement endpoint by reading the first occurrence of an account parameter and confirming the caller owns it, while the backend service reads the last occurrence when it executes the transfer. A request that lists the caller's own account first and a victim's account last passes the ownership check and moves funds from the victim account. On an isolated instance the transfer executes against the last occurrence. Confirmed parameter pollution to authorization bypass,
high, remediation = resolve duplicates identically across the gateway and the backend, reject requests with repeated parameters on sensitive endpoints, and authorize on the exact value the sink will use.Kill. A search endpoint sits behind a framework that rejects any request containing a repeated parameter name with an error, and array-bracket names are not enabled, so the validator and the sink always receive the same single value. A duplicated parameter never reaches the handler. Killed,
kill_reason= "the framework rejects duplicate parameters before handling, so the check and the sink always resolve to the same value and no parser differential exists."
You need the ordered list of components a request crosses, how each resolves repeated and array-shaped parameters, and every parameter that is both checked and used. For each such parameter, decide whether the checking component and the sink read the same occurrence, whether array coercion changes a comparison, and whether a filter inspects only one copy. Reading each parser's resolution rule shows where two differ; a request with a benign and a malicious occurrence shows which side honors which, confirming the split.
hunting-orm-and-query-builder-injection - pollution frequently delivers an injection payload past a
filter to a query sink; that skill covers the sink it lands in.hunting-host-header-and-url-parsing-trust - another class where two components parse the same request
element differently, with the trust decision on the wrong copy.testing-request-smuggling - the request-boundary cousin, where front and back ends disagree about where
a request ends rather than which parameter value wins.adjudicating-taint-paths - use it to connect the checked occurrence and the used occurrence through the
components that resolve them.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unboundcompute/security-agent-skills --plugin security-agent-skills194 skills in this plugin
/adjudicating-dependency-cve-reachabilityDecide whether a CVE in a dependency actually exposes your application before you scramble to patch: is the vulnerable function on a real call path from your code, do the trigger preconditions hold, and can an attacker control the input that reaches it. Use when an advisory, SCA scan, or dependency bot flags a CVE and you must separate a genuine exposure from unreachable noise, or justify why you are or are not affected. Covers pinning the vulnerable symbol, call-path reachability, precondition checks, and taint from your entry points./adjudicating-taint-pathsDecide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive.Other plugins' skills for the same job