defensive-ssrf
CommunityDefend server fetches from SSRF threats.
AuthorRideMatch1
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Server-side fetches that rely on user input can be manipulated to reach internal networks or cloud metadata endpoints. This Skill provides a structured SSRF defense pattern that validates the destination IP before making outbound requests and pins the resolution to defeat DNS rebinding.
Core Features & Use Cases
- SSRF-safe fetch primitive (safeFetch) that validates hostname/IP and pins resolution for the actual fetch.
- Protocol and IP-range enforcement (http/https only; block private, loopback, link-local, metadata endpoints, and cloud metadata).
- Guidance for hardening server endpoints like image proxies, webhooks, and OAuth callbacks, and remediation patterns for ssrf-checker findings.
Quick Start
Use the SSRF defense pattern by wrapping outbound fetch calls with safeFetch and enabling strict IP/host validation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: defensive-ssrf Download link: https://github.com/RideMatch1/a.e.g.i.s/archive/main.zip#defensive-ssrf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.