跳到正文
Skillpedia
部署与云(DevOps)42k · #6422

competition-cloud-metadata-path

它能做什么

这个工具可以帮助你了解一个程序(或称“代理”,agent)如何在云环境中获取机密信息和权限。它会梳理这些信息的完整流转路径,从最初的访问一直到获得权限。

适用场景

  • ✓当你想了解程序如何访问云凭证时。
  • ✓想了解程序如何利用云上的信息获得更高权限时。
  • ✓调查与云数据访问相关的安全漏洞时。

技能链接

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“程序如何获取敏感的云信息,并利用它们获得更高权限?”

每周 5 个新技能,1 分钟读完。

工作原理

它会追踪机密数据的流转路径,找出数据在哪里被访问、如何被用来获取权限。目标是找到最短、最直接的路径,用来证明一个安全漏洞。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Competition Cloud Metadata Path

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 edge is not just reaching metadata, but proving how metadata-derived identity becomes accepted privilege.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify which metadata surface is active: instance metadata, workload identity, node identity, task role, or platform-specific token endpoint.
  2. Record the exact reachability path: local process, pod, container, proxy, SSRF surface, or host route.
  3. Separate metadata reachability from credential issuance and from downstream privilege acceptance.
  4. Keep token format, role identity, scope, and accepting API in compact evidence blocks.
  5. Reproduce the smallest metadata-to-accepted-privilege path that proves the challenge edge.

Workflow

1. Map Metadata Reachability

  • Record the metadata endpoint, required headers, hop limits, session tokens, workload selectors, or path prefixes.
  • Note whether access comes from direct local calls, pod networking, SSRF, sidecar, or host-level routing.
  • Keep the reaching surface and the metadata endpoint in one chain.

2. Prove Credential Or Identity Issuance

  • Show how the metadata response becomes a token, temporary credential, signed identity doc, or platform-specific workload identity.
  • Record expiration, role name, subject, audience, issuer, or cloud account mapping that matters downstream.
  • Distinguish raw metadata from usable credential material.

3. Reduce To The Decisive Trust Path

  • Compress the result to the smallest sequence: reaching surface -> metadata call -> credential issued -> accepted cloud or cluster action.
  • State clearly whether the weakness lives in reachability, metadata config, role trust, downstream policy, or workload binding.
  • If the challenge narrows to RBAC or cluster mutation after credential issuance, switch back to the tighter control-plane skill.

Read This Reference

  • Load references/cloud-metadata-path.md for the reachability checklist, token checklist, and evidence packaging.
  • If the hard part is first proving a server-side fetch primitive, SSRF reachability, or internal endpoint traversal before metadata itself, prefer $competition-ssrf-metadata-pivot.

What To Preserve

  • Metadata endpoints, required headers, reachability path, issued tokens or creds, and accepted APIs
  • Role names, audiences, issuers, account bindings, and privilege-bearing actions
  • The smallest replayable metadata-to-privilege chain
常见问题

云中的“元数据”(metadata)是什么?

元数据是关于云环境的信息,例如虚拟机或正在运行的程序的详细信息,可以被用来获取凭证或权限。

“权限”(privilege)是什么意思?

权限是程序或用户访问、修改系统资源的级别。权限越高,能力越强。

什么时候应该使用这个工具?

只有在另一个工具(`$ctf-sandbox-orchestrator`)已经配置好,并为调查打好基础之后,才应该使用它。它适用于分析云元数据访问的更具体场景。

详情

作者的原始描述

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for cloud metadata services, instance identity, workload identity, link-local credential paths, role assumption, and metadata-to-privilege trust edges. Use when the user asks to inspect metadata-service access, instance credentials, pod or workload identity, link-local token paths, SSRF-to-metadata escalation, or explain

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6422
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能