Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ssrf-vulnerability-exploitation -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/performing-ssrf-vulnerability-exploitation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/performing-ssrf-vulnerability-exploitation/

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

Similar skills

All skills for Security →

From the same set152

The whole set →
analyzing-tls-certificate-transparency-logs analyzing-tls-certificate-transparency-logs queries Certificate Transparency logs via crt.sh to uncover phishing domains and shadow IT. Uses Levenshtein distance to detect brand typosquatting. CX Codex +1 280installs auditing-terraform-infrastructure-for-security auditing-terraform-infrastructure-for-security guides AI assistants through auditing Terraform code with Checkov, tfsec, Terrascan, and OPA. Catches public access, lax IAM rules, and missing encryption before apply. CX Codex +1 279installs analyzing-typosquatting-domains-with-dnstwist analyzing-typosquatting-domains-with-dnstwist builds lookalike domain permutations for a name you own, resolves them, and scores the registered ones by page similarity and registration freshness. CX Codex +1 278installs analyzing-security-logs-with-splunk analyzing-security-logs-with-splunk investigates security incidents in Splunk using SPL queries. Correlates Windows events, Sysmon traces, proxy logs, and firewall traffic into a single timeline. CX Codex +1 278installs testing-mobile-api-authentication The testing-mobile-api-authentication skill audits mobile API authentication and authorization, covering JWT, OAuth, token handling, sessions, IDOR, and privilege escalation. CX Codex +1 276installs analyzing-threat-actor-ttps-with-mitre-navigator analyzing-threat-actor-ttps-with-mitre-navigator — a skill for mapping threat actor TTPs to the MITRE ATT&CK framework using the attackcti library and generating ATT&CK Navigator visualizations. CX Codex +1 275installs analyzing-prefetch-files-for-execution-history analyzing-prefetch-files-for-execution-history parses Windows Prefetch files to extract program execution timestamps and run counts. Built for forensic timeline reconstruction during incident response. CX Codex +1 275installs auditing-kubernetes-cluster-rbac auditing-kubernetes-cluster-rbac audits Kubernetes RBAC for excessive permissions, risky bindings, service account abuse, and privilege escalation paths. Useful for cluster access reviews. CX Codex +1 273installs

Project sponsors

Companies that keep this analytics open