Individual skill

ssrf-prevention

Server-Side Request Forgery: allowlisting the destination of a server-side fetch, when re-resolution between check and connect matters, redirect and scheme bypasses, parsers that fetch on their own (XXE, SVG, HTML-to-PDF), cloud metadata, and keeping the response from becoming an oracle. Use when fetching a client-supplied URL, wiring webhooks, image proxies, PDF or preview renderers, or reviewing any HTTP-client wrapper.

skills/ssrf-prevention/SKILL.md

Read pinned source

Source commit eaba88102d91df65a9aa6397e8507c315c018f5e

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.

Repository context

Repository stars (not skill ratings)
23
Repository last updated
Aug 14, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# SSRF Prevention

## Rules (for AI agents)

### ALWAYS
- Constrain the destination with an **allowlist of hosts you intend to reach**, not a
  denylist of addresses you intend to avoid. A denylist has to enumerate every spelling
  of every internal address — decimal and octal IPv4, IPv6 and IPv4-mapped IPv6, a
  hostname whose A record is private, a public wildcard resolver like `nip.io` that
  encodes any address into a name — and it only has to be wrong once.
- Know which of the two controls you built, because it decides whether re-resolution
  matters. An **allowlist of hostnames** survives DNS rebinding: the attacker controls
  DNS only for names they own, and those names are not on the list. An **IP-range
  check** does not: the name resolves to a public address when you validate and a
Back to top