# Sh kb ssrf

> Sh kb ssrf is an open-source agent skill for security. Guides an agent in hunting server-side request forgery bugs in web code. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/dmdhrumilmistry/indra/tree/main/plugins/indra/skills/sh-kb-ssrf
- **Repository:** https://github.com/dmdhrumilmistry/indra
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** sh-kb-ssrf
- **Collection:** https://github.com/dmdhrumilmistry/indra
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This is a hunter's knowledge base for finding Server-Side Request Forgery, where a server makes outbound requests to destinations an attacker controls. It maps the features that usually fetch remote resources, such as webhooks, URL previews, importers, PDF and HTML renderers, SSO discovery URLs and image proxies, and lists the sources of user-supplied URLs, including stored URLs fetched later by background workers.

The skill walks the agent through a detection recipe: grep for HTTP client calls across Python, JavaScript, Java, Go, PHP, Ruby and .NET, trace whether the destination host derives from user input, look for allowlists or IP range checks, and examine redirect handling. It also covers payload families such as cloud metadata endpoints, internal scans, IP encoding tricks, DNS rebinding and URL-parser confusion, along with false-positive filters and severity guidance.

The material is written for security review and includes defender-oriented detection signals from egress logs, DNS logs, WAF logs and cloud audit trails, plus mitigation notes. No scripts are bundled; the one external command referenced is a grep-style search tool that the agent would need to have available.

## When your agent uses it

> Knowledge base for finding Server-Side Request Forgery - when the server makes outbound requests to attacker-controlled destinations. Use when hunting SSRF or reviewing URL/host inputs that reach HTTP/network clients, renderers, or importers. CWE-918, OWASP A10:2021-SSRF.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-kb-ssrf)
- [License: MIT](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-kb-ssrf)

## Features

- **Source and sink mapping:** Lists where user-supplied URLs enter an application and which HTTP, network and parser calls consume them across common languages.
- **Detection workflow:** Gives a step-by-step check of whether user input reaches the request host and whether guards are in place.
- **Redirect handling checks:** Explains which clients follow redirects by default and why a guard on the first URL alone can be bypassed.
- **Bypass payload catalog:** Covers cloud metadata targets, IP encoding variants, IPv6 forms, DNS rebinding and parser differential tricks.
- **Severity and false-positive rules:** Sets severity by reachable target and describes when a guarded or client-side fetch should not be flagged.
- **Defender detection signals:** Lists log sources and behavioral alerts that reveal SSRF attempts or metadata credential misuse.

## Good for

- Review a webhook test feature for server-side request forgery
- Check an image or URL preview endpoint for internal network access
- Audit an importer that fetches files from user-provided links
- Assess whether a URL allowlist can be bypassed through redirects
- Map which application features fetch remote URLs before a security review

## Install

### Claude Code

This skill ships in the `indra` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra
```

Or copy only this skill to `~/.claude/skills/sh-kb-ssrf`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-kb-ssrf &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ssrf" ~/.claude/skills/sh-kb-ssrf &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sh-kb-ssrf` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sh-kb-ssrf` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-kb-ssrf &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ssrf" ~/.agents/skills/sh-kb-ssrf &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sh-kb-ssrf` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sh-kb-ssrf` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-kb-ssrf &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ssrf" ~/.cursor/skills/sh-kb-ssrf &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sh-kb-ssrf` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-kb-ssrf
```

Or copy the folder to `~/.gemini/skills/sh-kb-ssrf` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sh-kb-ssrf`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-kb-ssrf &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ssrf" ~/.copilot/skills/sh-kb-ssrf &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sh-kb-ssrf` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git
```

Then copy `indra/plugins/indra/skills/sh-kb-ssrf` into your agent's skills folder as `sh-kb-ssrf`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Sh kb ssrf need to run?

It is a Markdown knowledge base with one file and no bundled scripts. The detection recipe refers to a grep-style search command, so the agent needs that tool available to run the search step.

### Does Sh kb ssrf change any files in my project?

Nothing in the skill instructs the agent to modify code. It guides review and hunting for SSRF issues and includes mitigation advice.

### When does the agent use Sh kb ssrf?

According to its description, it applies when hunting for SSRF or reviewing URL and host inputs that reach HTTP clients, renderers or importers.

### How do I install Sh kb ssrf in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-kb-ssrf to use it in all your projects, or to .claude/skills/sh-kb-ssrf in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

### Does Sh kb ssrf run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sh kb ssrf?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Sh kb ssrf?

The closest alternatives to Sh kb ssrf are Server side, Sh kb csrf, Sh kb open redirect, Sh kb xss and Sh kb sqli.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Server side](https://ai-powered.com/skills/server-side): Server side is an open-source agent skill for security.
- [Sh kb csrf](https://ai-powered.com/skills/sh-kb-csrf): Sh kb csrf is an open-source agent skill for security.
- [Sh kb open redirect](https://ai-powered.com/skills/sh-kb-open-redirect): Sh kb open redirect is an open-source agent skill for security.
- [Sh kb xss](https://ai-powered.com/skills/sh-kb-xss): Sh kb xss is an open-source agent skill for security.
- [Sh kb sqli](https://ai-powered.com/skills/sh-kb-sqli): Sh kb sqli is an open-source agent skill for security.
- [Sh kb deserialization](https://ai-powered.com/skills/sh-kb-deserialization): Sh kb deserialization is an open-source agent skill for security.
- [Sh kb injection](https://ai-powered.com/skills/sh-kb-injection): Sh kb injection is an open-source agent skill for security.
- [Sh kb auth](https://ai-powered.com/skills/sh-kb-auth): Sh kb auth is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sh-kb-ssrf
