competition-ssrf-metadata-pivot
できること
このツールは、「サーバーサイド・リクエスト・フォージェリ」(SSRF)という攻撃が、ネットワーク内の機密情報や認証情報へのアクセスにどのように使われうるかを理解するのに役立ちます。悪意あるリクエストがたどりうる経路を追跡します。
使う場面
- ✓サーバーに送られたリクエストが、内部の他のシステムへのアクセスに使われた可能性を疑うとき。
- ✓サーバーを通じて認証情報や機密情報が盗まれた可能性を調べたいとき。
- ✓サーバーが他の場所へリクエストを送れる性質を悪用した攻撃経路を理解したいとき。
スキルのリンク
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“内部のサーバー情報にアクセスしたかもしれないリクエストを、どのように追跡できますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、元のリクエストを分析し、ネットワーク内のどこへ送られたかを特定して、機密データや認証情報にアクセスできたかどうかを確認します。この経路全体を地図のように可視化して、どうやってアクセスが可能になったのかを示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Competition SSRF Metadata Pivot
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the decisive path runs through server-side request capability, internal service reachability, or metadata-derived credentials.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Separate the SSRF source, forwarding layer, reachable target, and accepted downstream credential edge.
- Record request method, URL construction, header behavior, redirects, DNS or host overrides, and response shaping before mutation.
- Map internal host, metadata endpoint, token extraction, and accepting service as one chain.
- Distinguish read-only reachability from credential-bearing access.
- Reproduce the smallest SSRF-to-accepted-access path.
Workflow
1. Map SSRF Reachability
- Record source primitive: URL parameter, webhook, image fetcher, importer, proxy endpoint, or backend callback.
- Note normalization steps: scheme filtering, host allowlists, redirects, DNS resolution, path rewrite, and header injection.
- Keep target host, protocol, and response behavior tied to the exact SSRF source.
2. Trace Metadata And Credential Pivot
- Show whether metadata endpoints, internal control APIs, or workload identity services are reachable.
- Record token fields, role scope, service account, expiration, and where the token is accepted.
- Distinguish credential extraction success from accepted privilege at a downstream service.
3. Reduce To Decisive SSRF Chain
- Compress to: SSRF source -> internal or metadata target -> credential or sensitive response -> accepted replay or API access.
- State whether the decisive edge is parser bypass, allowlist bypass, redirect abuse, header confusion, or metadata trust.
- If the task becomes mostly cloud identity policy analysis, hand off to the tighter cloud metadata skill.
Read This Reference
- Load
references/ssrf-metadata-pivot.mdfor SSRF checklists, metadata pivots, and evidence packaging.
What To Preserve
- SSRF source point, URL construction rules, reachable hosts, and response deltas
- Extracted token or credential fields, scope, and accepting service
- One minimal SSRF-to-accepted-access replay path
よくある質問
SSRFとは何ですか?
攻撃者がWebサーバーをだまして、通常はサーバーのプライベートネットワーク内にあるため外部からアクセスできない他のサービスやシステムにリクエストを送らせる攻撃の一種です。
「メタデータエンドポイント」とは何ですか?
サーバー(特にAWS、GCP、Azureなどのクラウド上のもの)が、自分自身や実行環境に関する情報を提供するために使う特別なアドレスです。アクセス用の認証情報が含まれることもあります。
「クレデンシャル・ピボッティング」とは何ですか?
侵害されたシステムから入手した認証情報を使って、別のシステムやサービスにアクセスする行為です。「ピボット」は、ある地点から別の地点へ移動することを意味します。
詳細
作者による元の説明
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for SSRF reachability, internal route probing, metadata-service access, credential pivoting, and token-to-accepted-privilege chains. Use when the user asks to trace SSRF sources, internal hosts, metadata endpoints, link-local tokens, service-account credentials, or explain how a server-side fetch edge turns into accepted
人気
- GitHubのスター
- 42k
- ランキング
- #6450
- ライセンス
- MIT
- 更新日
- 2026/9/22
コメント
- …
このリポジトリの他のスキル
competition-ad-certificate-abuse
42kエージェントが、デジタル証明書システムへの攻撃を分析する手助けをします。証明書が悪用されてアクセス権を得られてしまう仕組みを調査します。
competition-agent-cloud
42kエージェントが、AIシステムやクラウドにおけるセキュリティ上の課題を分析する手助けをします。プロンプト、ツール、クラウドがどのように悪用されうるかを調査します。
competition-android-hooking
42kエージェントがAndroidアプリを調査する手助けをします。アプリの内部動作を分析し、改変や悪用の可能性を調べます。
competition-browser-persistence
42kエージェントが、Webサイトがブラウザ内に情報を保存する仕組みを分析する手助けをします。Cookieなどのデータを調べ、セッションの仕組みを理解します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。