/security-agent-skills:hunting-server-side-and-edge-side-includesfrom security-agent-skills
Hunts server-side include (SSI) and edge-side include (ESI) injection vulnerabilities where reflected input becomes an executed directive, enabling file disclosure, command execution, SSRF, or cache poisoning.
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.
Two different tiers can turn reflected text into an executed directive. On the origin, a server with server-side includes enabled scans documents for directives and will read a file or run a command when it finds one, so untrusted input reflected into such a document and interpreted as a directive becomes file disclosure or command execution. At the edge, a cache, content-delivery network, or reverse proxy may parse edge-side include tags in responses and act on them, fetching a URL, splicing a fragment, or reading a request variable, so a reflected tag becomes server-side request forgery into the internal network, a poisoned shared cache, or a page that copies the victim's cookie back to the attacker. The edge variant is insidious: the application developer never wrote include handling and cannot see it in the origin code, because a separate tier performs it. You find both by locating reflection into processed documents and determining which processor sits in the path.
Test include injection only against systems you own or are authorized to assess, on non-production infrastructure, because a confirming directive can read server files, reach internal services, or poison a cache shared by other users. Prefer benign, observable probes over destructive commands, and coordinate before touching a shared cache. If you can't name the authorization, stop.
Establish that an include processor is actually in the path first. Determine whether the origin has server-side includes enabled for the served document type, or whether a downstream cache, delivery network, or proxy parses edge-side include tags. This is the false-positive killer: if no processor interprets includes, reflected directive text is inert markup and there is no bug. Name the processor and the tier that runs it before treating any reflection as a lead.
Find the reflection point. Locate where untrusted input is echoed into a document the processor will scan: page body, a template fragment, an error page, a header value copied into a cached response. Confirm the input reaches the document before the processor runs, not after.
Check for neutralization before the processor. Read whether the reflected value is entity-encoded, whether the include syntax's delimiters are stripped or escaped, and whether the document type is one the processor ignores. Encoding that turns the directive's brackets into inert entities before the processor sees them closes the class; determine whether it is applied on this path.
Test the server-side directive impact. Where the origin processes includes, probe with a benign directive that reflects an observable value (a document variable, a size) and, only within scope, assess whether file-include and command-exec directives are permitted. The reachable impact is exactly the directive set the server allows.
Test the edge-side directive impact. Where the edge parses tags, probe whether an include tag makes the edge fetch a URL you control or an internal address (request forgery), whether the result is stored in a shared cache (poisoning that affects other users), and whether request variables such as cookies can be read into the page (token theft). Confirm which behaviors the specific edge honors.
Confirm and record. Confirm server-side by reflecting a benign directive that returns an observable
value, and edge-side by causing an interaction with a host you control or an observable cache change, on
an isolated instance or an isolated cache key. Kill the lead if no include processor is in the path, if
the reflected value is encoded so directive delimiters are inert before processing, or if the processor
ignores the served document type. Record the tier, the processor, the reflection point, the directive,
and the effect. Set kill_reason when killing.
Confirm. A delivery tier in front of the application parses edge-side include tags, and a search page reflects the query into the response body without encoding the tag delimiters. A query containing an include tag pointed at a host the tester controls causes the edge to fetch that host, and pointing it at an internal metadata address returns internal data into the page; the response is stored under a shared cache key. Confirmed edge-side include injection to server-side request forgery and cache poisoning,
high, remediation = disable edge-side include parsing on responses built from user input, or entity-encode tag delimiters at the origin before the response reaches the edge.Kill. An error page reflects the requested path, but the origin has server-side includes disabled for the served type and no cache or proxy in the path parses edge-side includes; the value is additionally entity-encoded. A reflected directive renders as visible inert text. Killed,
kill_reason= "no include processor runs on this path at either tier and the delimiters are entity-encoded, so the reflected directive is never interpreted."
You need the served document types and whether the origin has includes enabled, the presence and behavior of any cache, delivery network, or proxy that parses edge-side includes, every reflection point into processed documents, and the encoding applied before each processor. For each reflection, decide which tier interprets includes, whether delimiters survive to the processor, and what a directive could read, fetch, or poison. Reading the config and code shows the processor and encoding; a benign directive probe shows whether it is interpreted.
testing-web-cache-attacks - the shared-cache poisoning that an edge-side include can cause is that
skill's core concern; the include tag is one way input reaches a cached response.hunting-reflected-and-stored-xss - the same reflection points feed a browser sink there and an include
processor here; check both interpreters for a given reflection.hunting-host-header-and-url-parsing-trust - an edge-side fetch is a request-forgery primitive; that skill
covers where such internal requests are trusted.adjudicating-taint-paths - use it to connect the reflection to the processor across the origin and edge
tiers.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