Skip to content
Skillpedia
Deploy & cloud (DevOps)42k · #4709

competition-cloud-metadata-path

Helps your agent investigate accessing information in cloud environments. It analyzes data access paths and how to gain permissions.

What it does

This tool helps understand how a computer program (or 'agent') can access secret information and privileges in cloud environments. It maps the exact path this information travels, from initial access to gaining permissions.

When to use it

  • ✓When you want to know how a program accesses cloud credentials.
  • ✓To understand how a program gains privileges using cloud information.
  • ✓When investigating security flaws related to cloud data access.

Example of what to ask your AI

“How can a program get access to sensitive cloud information and use it to gain privileges?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

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

Ready-to-paste message

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It traces the path secret data takes, identifying where it's accessed and how it's used to gain permissions. The goal is to find the shortest, most direct path to prove a security vulnerability.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add zhaoxuya520/reverse-skill --skill competition-cloud-metadata-path

Or download just the file:

curl -L https://raw.githubusercontent.com/zhaoxuya520/reverse-skill/main/CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

What is 'metadata' in the cloud?

Metadata is information about a cloud environment, like details about the virtual machine or the running program, which can be used to obtain credentials or permissions.

What does 'privilege' mean?

Privilege is the level of permission a program or user has to access or modify resources in a system. More privilege means more power.

When should I use this tool?

Use this tool only after another tool (`$ctf-sandbox-orchestrator`) is already set up and has established the investigation's groundwork. It's for more specific cases of analyzing cloud metadata access.

Details

Original description by the author

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

Popularity

GitHub stars
42k
Ranking position
#4709
License
MIT
Updated
9/22/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills