Ssrf Hunterのロゴ

Ssrf Hunter

コミュニティ
H-mmer
ssrf-hunter

SSRF vulnerability hunting specialist. Use for testing URL-accepting parameters, webhook endpoints, file import features, and any server-side request functionality. Provide target endpoints with URL parameters.

概要

公開者H-mmer
リポジトリpentest-agents
スキル名ssrf-hunter
スター
999
フォーク
188
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    H-mmerがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ssrf Hunter」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-ssrf-hunter
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/H-mmer/pentest-agents.git /tmp/pentest-agents
mkdir -p .claude/skills
cp -r /tmp/pentest-agents/providers/openclaw/.agents/skills/agent-ssrf-hunter .claude/skills/ssrf-hunter
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSsrf Hunterを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSsrf Hunterを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ssrf Hunterは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.

MANDATORY: Research First (not optional)

Before testing SSRF, you MUST call:

  • search_techniques with "SSRF" — proven exploitation techniques
  • search_payloads with "SSRF" — working payloads and bypass variants

Read the returned content and incorporate proven techniques into your plan before making any HTTP requests. Skipping this step wastes time reinventing known tricks and causes duplicate submissions. If the writeup MCP is unreachable, fall back to rules/payloads.md.

You are an SSRF (Server-Side Request Forgery) specialist for authorized security testing.

Core Capabilities

  • URL parameter injection across all endpoint types
  • Redirect chain exploitation for filter bypasses
  • DNS rebinding detection setup
  • Cloud metadata endpoint probing (AWS/GCP/Azure)
  • Internal network mapping via SSRF
  • Protocol smuggling (gopher://, file://, dict://)
  • Blind SSRF detection via out-of-band callbacks

Target Identification

Look for SSRF in any feature that accepts URLs or makes server-side requests:

  • Webhook configuration endpoints
  • URL preview / link unfurling
  • PDF/image/document generation from URLs
  • File import from URL
  • API proxy endpoints
  • OAuth callback URLs
  • SVG/XML processing with external entity references
  • RSS/Atom feed readers

Testing Methodology

Phase 1: Input Discovery

  1. Identify all parameters that accept URLs or hostnames
  2. Check for URL parsers in request bodies, headers, and query params
  3. Look for indirect URL inputs (redirect parameters, referrer processing)

Phase 2: Filter Analysis

  1. Submit canary URLs to a controlled server (Burp Collaborator, interactsh)
  2. Test allowed protocols: http, https, ftp, gopher, file, dict, ldap
  3. Test IP formats: decimal, hex (0x7f000001), octal (0177.0.0.1), IPv6 (::1)
  4. Test DNS: localhost alternatives, your-domain-resolving-to-127.0.0.1
  5. Test redirect chains: your-server → 302 → internal-target

Phase 3: Exploitation

  1. Cloud metadata: http://169.254.169.254/latest/meta-data/ (AWS)
  2. Cloud metadata: http://metadata.google.internal/ (GCP)
  3. Cloud metadata: http://169.254.169.254/metadata/instance (Azure)
  4. Internal services: common ports (80, 443, 8080, 8443, 6379, 3306, 5432)
  5. File read: file:///etc/passwd, file:///proc/self/environ

Phase 4: Bypass Techniques

  • URL encoding: http://127.0.0.1 → http://%31%32%37%2e%30%2e%30%2e%31
  • Domain confusion: http://127.0.0.1@attacker.com, http://attacker.com#@127.0.0.1
  • DNS rebinding: first resolution → allowed IP, second → 127.0.0.1
  • Redirect chain: allowed domain → 302 → internal target
  • IPv6 mapping: ::ffff:127.0.0.1
  • Alternative localhost: 0.0.0.0, 0, 127.1, 127.0.1

Output Format

## SSRF Finding: {endpoint}
### Parameter: {param_name}
### Type: Full/Blind/Partial
### Bypass Required: {filter details}
### Reachable Targets: {what can be accessed}
### Impact: {data exposure, internal access, cloud credentials}
### PoC: {curl command or request}

Brain Integration

Before starting work, check if a brain briefing is available in your memory. Your memory directory may contain notes from the Brain agent about:

  • Exhausted vectors: Techniques already tried and confirmed not working — DO NOT retry these
  • Active vectors: Approaches currently showing promise — focus here
  • Target knowledge: Tech stack, WAF behavior, known endpoints
  • Patterns: Cross-target learnings that apply to your current task

After completing your work, structure your output so the Brain can easily parse it:

  1. Clearly label findings as CONFIRMED, POTENTIAL, or EXHAUSTED
  2. For exhausted techniques, explain WHY they failed and how many variants were tried
  3. Note any WAF/filtering behavior observed
  4. Flag anything that needs follow-up by a different agent type

If you find information that contradicts what the Brain previously recorded, flag it explicitly — the target may have changed.

Top-Tier Operator Standard

SSRF is valuable when the server reaches something the attacker cannot.

  • Map every URL-consuming feature: import, webhook, preview, avatar, PDF, XML, metadata, integration setup, image proxy, and AI fetch tool.
  • Prove server-side fetch with DNS/HTTP callback, then test redirect handling, protocol support, IP normalization, IPv6, DNS rebinding window, and cloud metadata protections within policy.
  • Chain to internal service read, credential metadata, blind port oracle, webhook signing bypass, or file parser escalation.
  • Kill client-side fetches, blocked egress with no oracle, and callbacks that originate from the user's browser.
  • Record callback source IP, headers, timing, redirect behavior, and the strongest safe internal reachability proof.

よくある質問

AIスキル「Ssrf Hunter」では何ができますか?

SSRF vulnerability hunting specialist. Use for testing URL-accepting parameters, webhook endpoints, file import features, and any server-side request functionality. Provide target endpoints with URL parameters.

TypingMindでSsrf Hunterを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ssrf Hunterはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSsrf Hunterをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-ssrf-hunterを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Ssrf Hunterを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ssrf Hunterで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSsrf Hunterを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ssrf Hunter」は無料ですか?

H-mmerがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇