performing-ssrf-vulnerability-exploitation — Claude Code skill
performing-ssrf-vulnerability-exploitation is a Claude Code skill that checks web app URL parameters for SSRF by probing cloud metadata, internal services, and protocol handlers during authorized penetration testing.
Apache-2.0 277 installs ★ 36,511 updated 2026-08-31
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a claude-codeWhat performing-ssrf-vulnerability-exploitation does
The skill tests URL parameters for SSRF by attempting requests to cloud metadata endpoints (169.254.169.254 for AWS, GCP, Azure), internal network ranges (127.0.0.1, 10.0.0.1), and alternative protocols (file://, gopher://, dict://). It also checks common bypass techniques such as IP encoding and DNS rebinding.
The core is a Python script invoked via python scripts/agent.py. You'll need Python 3.8 or later and the requests library, installed with pip install requests. Results go into a JSON report.
Confirm the target application actually accepts URL parameters and that you have explicit authorization before running tests — this skill is intended for lab environments and authorized assessments only.
What it helps with
- detect SSRF through parameters that fetch remote URLs on the server side
- extract cloud metadata credentials (AWS keys, GCP tokens)
- map internal services and ports reachable from the application server
- bypass IP encoding and DNS rebinding protections
Example prompts for the agent
- Test the application's URL parameter for SSRF at
https://app.example.com/fetch?url= - Check if cloud metadata is accessible via
http://169.254.169.254/latest/meta-data/iam/security-credentials/ - Generate an SSRF vulnerability assessment in JSON format
How to install performing-ssrf-vulnerability-exploitation
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a claude-code2Manually: put the files in place
~/.claude/skills/performing-ssrf-vulnerability-exploitation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/performing-ssrf-vulnerability-exploitation/
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a codex2Manually: put the files in place
.agents/skills/performing-ssrf-vulnerability-exploitation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a cursor2Manually: put the files in place
.cursor/skills/performing-ssrf-vulnerability-exploitation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mukul975/Anthropic-Cybersecurity-Skills skills/performing-ssrf-vulnerability-exploitation2Manually: put the files in place
.github/skills/performing-ssrf-vulnerability-exploitation/SKILL.md1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a gemini-cli2Platform CLI
gemini skills install https://github.com/mukul975/Anthropic-Cybersecurity-Skills --path skills/performing-ssrf-vulnerability-exploitationManually: put the files in place
.devin/skills/performing-ssrf-vulnerability-exploitation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about performing-ssrf-vulnerability-exploitation
How do I install this skill in Claude Code?
Run two commands in order: first npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a claude-code, then open ~/.claude/skills/performing-ssrf-vulnerability-exploitation/SKILL.md.
What does this skill do?
It probes a web application for SSRF vulnerabilities by attempting to reach cloud metadata services, localhost ports, and alternative protocols. It generates a report with findings.
What do I need to run it?
Python 3.8 or later, the requests library (installed via pip install requests), written authorization to test the target, and a lab or staging environment.
Source text
SKILL.md · Apache-2.0
--- name: performing-ssrf-vulnerability-exploitation description: >- Tests web application URL parameters for Server-Side Request Forgery by probing cloud metadata endpoints (AWS/GCP/Azure at 169.254.169.254), internal network services, and protocol handlers (file://, gopher://, dict://) using a Python script, including IP-encoding bypass and DNS rebinding checks. Use during authorized penetration testing to confirm SSRF in a URL-fetching parameter and generate a vulnerability report. domain: cybersecurity subdomain: security-operations tags: - ssrf - web-application-security - cloud-metadata-abuse - vulnerability-exploitation - penetration-testing version: '1.0' author: mahipal license: Apache-2.0 nist_csf: - DE.CM-01 - RS.MA-01 - GV.OV-01 - DE.AE-02 mitre_attack: - T1078 - T1190 - T1059 - T1078.004 - T1530 --- ## When to Use - When conducting security assessments that involve performing ssrf vulnerability exploitation - When following incident response procedures for related security events - When performing scheduled security testing or auditing activities - When validating security controls through hands-on testing ## Prerequisites - Familiarity with security operations concepts and tools - Access to a test or lab environment for safe execution - Python 3.8+ with required dependencies installed - Appropriate authorization for any testing activities ## Instructions 1. Install dependencies: `pip install requests` 2. Identify URL parameters in the target application that accept URLs or hostnames. 3. Test SSRF payloads: - Cloud metadata: `http://169.254.169.254/latest/meta-data/` - Internal services: `http://127.0.0.1:port/`, `http://10.0.0.1/` - Protocol handlers: `file:///etc/passwd`, `gopher://`, `dict://` - Bypass techniques: IP encoding, DNS rebinding, URL redirects 4. Analyze responses for information disclosure or internal access confirmation. 5. Generate a vulnerability assessment report. ```bash # For authorized penetration testing and lab environments only python scripts/agent.py --target-url https://app.example.com/fetch?url= --output ssrf_report.json ``` ## Examples ### AWS Metadata SSRF ``` GET /fetch?url=http://169.254.169.254/latest/meta-data/iam/security-credentials/ ``` If the response contains AWS credentials (AccessKeyId, SecretAccessKey), SSRF is confirmed with critical impact.
© mahipal · Apache-2.0 · mukul975/Anthropic-Cybersecurity-Skills