competition-ssrf-metadata-pivot
它能做什么
这个工具可以帮助你理解,服务端请求伪造(Server-Side Request Forgery,SSRF)攻击如何被用来访问网络内部的敏感信息或凭证。它会追踪恶意请求可能经过的路径。
适用场景
- ✓当你怀疑发送到某台服务器的请求被用来访问其他内部系统时。
- ✓当你要调查凭证或敏感信息是否可能通过某台服务器被窃取时。
- ✓当你想了解攻击路径时,这些攻击会利用服务器向其他位置发起请求的能力。
技能链接
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 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?
SSRF 是一种攻击方式,攻击者诱骗网页服务器向其他服务或系统发起请求。这些服务或系统通常位于服务器的私有网络中,正常情况下外部是无法访问的。
什么是“元数据端点”(metadata endpoints)?
这是一些特殊地址,服务器(尤其是 AWS、GCP、Azure 等云平台上的服务器)通过它们提供关于自身以及所处运行环境的信息,其中包括访问凭证。
“凭证横向移动”(credential pivoting)是什么意思?
指利用从已被入侵的系统中获得的凭证,去访问其他系统或服务的行为,就像以一个支点为轴转移到另一个位置一样,从一处移动到另一处。
详情
作者的原始描述
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帮你的智能体分析网站如何在浏览器中存储信息。它会研究 Cookie 等数据,以理解会话是如何运作的。