/security-agent-skills:testing-request-smugglingfrom security-agent-skills
Tests whether a chain of HTTP servers disagrees about request boundaries, enabling request smuggling. Covers desync detection, conflicting length signals, and connection-reuse poisoning for reverse proxies, load balancers, and CDNs.
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.
When two HTTP servers sit in series and parse a request's boundaries differently, the front end forwards what it thinks is one request while the back end sees two, and the smuggled second request is attributed to the next client on the reused connection. That desync lets an attacker prefix a victim's request, bypass front-end controls, poison the connection, and capture other users' traffic. The bug is a disagreement between parsers, not a single flaw in one.
Test chains you own or are authorized to test, and keep every probe on your own traffic. Do not target other users' live requests. If you can't name the authorization, stop.
Map the server chain and the reused connections. Identify every hop a request passes through (edge, proxy, balancer, cache, origin) and where connections between hops are kept alive and shared across clients. A desync only bites where a downstream connection is reused for another user, so map that reuse first.
Find conflicting length signals. A request's body length can be stated more than one way, and smuggling happens when two hops resolve a conflict differently: one honors one signal, the other honors the other. Check whether the chain normalizes or rejects conflicting or duplicated length signals, or passes them through for the next hop to reinterpret.
Probe for desync safely. Using benign, self-targeted probes, test whether a crafted boundary makes the back end treat trailing bytes as the start of the next request, observable as a delayed or mis-attributed response. Prefer timing-based and single-packet detection that confirms the split without harming other users. A measurable difference between "rejected" and "the next request was affected" is the signal.
Escalate to impact on your own traffic. If a split is confirmed, demonstrate the concrete effect against your own second request: prefixing it, bypassing a front-end path restriction, or capturing the response to a request you control. Do not target other users' live traffic; prove the primitive on requests you own.
Check adjacent boundary confusion. Does the chain hand off to another protocol or downgrade a connection where the two ends parse framing differently (a proxy and origin disagreeing on a message boundary)? The same parser-disagreement class extends beyond one protocol version. Note any hop that reframes requests.
Rate and record. A confirmed desync that bypasses controls or captures cross-user requests is critical; a reliably rejected boundary is a kill. Record the exact conflicting signals and the observed split, and recommend the fix: normalize or reject ambiguous framing at the edge, prefer one connection per client to the origin, and reject conflicting length signals outright.
Confirm. An edge proxy and the origin resolve a conflicting length signal differently; a crafted request leaves trailing bytes the origin treats as the next request. A benign timing probe shows the following self-owned request is prefixed by the smuggled bytes, and a front-end-blocked path becomes reachable through the smuggled request. Confirmed request smuggling,
critical, remediation = reject conflicting length signals at the edge, normalize framing, and avoid sharing origin connections across clients.Kill. The edge rejects any request with duplicated or conflicting length signals with a 400, normalizes all forwarded requests to a single unambiguous framing, and uses a fresh origin connection per client. Every desync probe is rejected and no trailing bytes reach the origin as a new request. Killed,
kill_reason= "ambiguous framing rejected and normalized at the edge; no shared downstream connection to poison."
You need to see the server chain, control a client that can send precisely-framed requests, and observe response timing and attribution on connections you own. Any tooling that sends byte-exact requests and measures timing works; the connection-reuse map and the conflicting-signal analysis are the method. Keep every probe on your own traffic.
mapping-attack-surface - enumerating the proxy, cache, and origin hops in the
chain.testing-web-cache-attacks - a smuggled response can poison a shared cache entry.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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