ssrf

ssrf is a skill for Claude Code, Codex from blacklanternsecurity/red-run. It costs 19 tokens per session (4,843 once invoked), scanned D, original, GPL-3.0.

A guide to testing server-side request forgery, a flaw that makes a server send requests to destinations chosen by an attacker.

In plain words
What is it for?
Use it to assess applications that fetch URLs or remote resources on behalf of users and verify SSRF risk.
Why use it?
It helps authorised testers check whether a web server can be used to reach internal systems or other restricted services.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to assess applications that fetch URLs or remote resources on behalf of users and verify SSRF risk.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blacklanternsecurity/red-run/ssrf
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add blacklanternsecurity/red-run --skill ssrf
Clone the repo
git clone --depth 1 https://github.com/blacklanternsecurity/red-run

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ssrf

README.md
[![agentmods](https://agentmods.dev/badge/skills/blacklanternsecurity/red-run/ssrf.svg)](https://agentmods.dev/skills/blacklanternsecurity/red-run/ssrf)
Your own site
<a href="https://agentmods.dev/skills/blacklanternsecurity/red-run/ssrf"><img src="https://agentmods.dev/badge/skills/blacklanternsecurity/red-run/ssrf.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,843 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 4 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.04843
Opus 5 $0.00010 $0.02422
Sonnet 5 $0.00004 $0.00969
Haiku 4.5 $0.00002 $0.00484

Measured 4d ago against content hash c847eed1b648, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade D, and why

ssrf scanned grade D with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variablesmediumData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

- **Kubernetes ETCD accessible**: Extract secrets, service account tokens

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

from `/home/*/.ssh/`, cloud credentials from `~/.aws/credentials`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- 169.254.169.254

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

urllib2 → 1.1.1.1, requests → 2.2.2.2, urllib → 3.3.3.3.
skills/web/ssrf/SKILL.md · 547 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 547 lines · 19 tokens per session scan D c847eed1b648

Subscribe to this mod's changes

ssrf is a skill published in the GitHub repository blacklanternsecurity/red-run (267 stars, last pushed 5mo ago), licensed GPL-3.0. It adds 19 tokens to every session and 4,843 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 4 findings (harvests environment variables, reaches for credential files, cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ssrf-server-side-request-forgery

Detect and exploit Server-Side Request Forgery (SSRF) vulnerabilities to access internal services, cloud metadata endpoints, and restricted network resources. Use this skill when testing URL fetch features, webhook configurations, file imports, PDF generators, or any functionality that makes server-side HTTP requests.…

akashrpatil/awesome-offensive-security-skills · 92 tokens

aws-metadata-ssrf-exploitation

Exploit Server-Side Request Forgery (SSRF) vulnerabilities on Amazon Web Services (AWS) EC2 instances to access the highly sensitive Instance Metadata Service (IMDS). Circumvent basic protections and extract temporary IAM access keys, escalating privileges comprehensively across the AWS Cloud environment.

ShulkwiSEC/bb-huge · 68 tokens

ai-data-extraction-via-ssrf

Exploit AI assistants equipped with web-browsing capabilities or internal API plugins to perform Server-Side Request Forgery (SSRF). This skill details injecting prompts that force the LLM to request sensitive internal endpoints, such as underlying cloud metadata services or internal networks.

ShulkwiSEC/bb-huge · 65 tokens

aws-metadata-ssrf

Exploit Server-Side Request Forgery (SSRF) vulnerabilities in applications hosted on AWS EC2 instances to extract IAM credentials and User Data from the Instance Metadata Service (IMDS). This skill covers techniques for bypassing basic filters to access IMDSv1 and concepts of IMDSv2.

ShulkwiSEC/bb-huge · 69 tokens

aws-imdsv2-ssrf-bypass

Exploit Server-Side Request Forgery (SSRF) vulnerabilities to extract AWS IAM credentials from the Instance Metadata Service version 2 (IMDSv2). This skill details how to bypass the token requirement of IMDSv2 by chaining HTTP verbs (PUT then GET) if the SSRF vulnerability allows full control over the request headers…

ShulkwiSEC/bb-huge · 84 tokens

ssrf-aws-metadata-abuse

Exploit Server-Side Request Forgery (SSRF) vulnerabilities in applications hosted on AWS to access the highly sensitive Instance Metadata Service (IMDS). This allows an attacker to steal valid IAM roles and temporary security credentials, leading to catastrophic cloud account compromise.

akashrpatil/awesome-offensive-security-skills · 62 tokens