competition-container-runtime
できること
このツールは、コンテナ(プログラム)が実際にリアルタイムで行っていることを、元の指示(マニフェスト)に従った本来の動作と比較します。シークレット情報がどこで使われているか、サイドカーやinitコンテナといった追加のプログラムが動作にどう影響するかを理解するのに役立ちます。
使う場面
- ✓実行中のプログラムが想定と異なるとき。
- ✓シークレット(機密情報)がどこで使われているかを知りたいとき。
- ✓追加のプログラムが機能をどう変えているかを理解したいとき。
スキルのリンク
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-container-runtime/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“マニフェストでは'worker.py'のはずなのに、なぜシークレット'db_password'が'app.py'プロセスで使われているのですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
実行中のプログラムを分析し、元の設定と比較します。情報が保存場所からどのようにプログラムに届き、どうアクセスされるかを図にします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Competition Container Runtime
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 challenge is really about what the live container or pod is doing now, not what the checked-in manifest claims it should do.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Split intent from reality: manifest, image, startup, live mount, live route, live process.
- Map host -> proxy -> container or pod -> mounted volume -> consuming process.
- Keep secrets, rendered config, init output, and sidecar output separate from static manifests.
- Prove one minimal live path from mounted or injected state to reachable behavior.
- Reproduce the effect with the smallest runtime-specific chain.
Workflow
1. Map The Live Runtime
- Compare compose or kube manifests against running containers, pods, mounted volumes, env, sidecars, init containers, and entrypoints.
- Identify which process actually consumes the mounted secret, rendered config, or shared volume output.
2. Trace Route And Mount Boundaries
- Map virtual host, reverse proxy, service, container port, filesystem mount, and runtime-generated file paths together.
- Record whether the decisive state is image-baked, env-injected, mounted later, or written by an init/sidecar process.
3. Report The Runtime Deviation
- State the earliest point where live runtime diverges from checked-in intent.
- Keep one compact evidence chain from manifest or compose intent to live consumer behavior.
Read This Reference
- Load
references/container-runtime.mdfor the runtime checklist, mount-chain checklist, and common live-vs-static pitfalls. - If the hard part is kube API permissions, service-account trust, RBAC edges, admission mutations, or controller-created workload drift, prefer
$competition-k8s-control-plane. - If the hard part is Host-header routing, path-prefix rewriting, or route-to-service mapping across nodes, prefer
$competition-runtime-routing. - If the hard part is proving container-to-host crossover, kernel attack-surface preconditions, or stable escape primitives, prefer
$competition-kernel-container-escape. - If the hard part is replaying Linux secrets, socket trust edges, or host-to-host pivots after container foothold, prefer
$competition-linux-credential-pivot.
What To Preserve
- Compose/Kubernetes fragments tied to live mounts or routes
- Container IDs, pod names, mount paths, sidecar outputs, rendered config paths, and consuming processes
- The exact route or file path that becomes reachable only at runtime
よくある質問
プログラムがすべきことと実際にしていることの違いは何ですか?
プログラムは本来「マニフェスト」(元の計画)の指示に従うはずですが、実際に動くときには異なる動作をすることがあります。このツールはその違いを見つけ出します。
「サイドカー」と「initコンテナ」とは何ですか?
メインのプログラムと並んで、または先に動く追加のプログラムです。メインのプログラムの動作を変えたり、情報にアクセスしたりすることがあります。
このツールはシークレットが使われている場所をどのように見つけますか?
シークレット情報の経路をたどり、保存場所(マウントされた場所)から、どのプログラムがそれにアクセスして使っているかまで確認します。
詳細
作者による元の説明
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for live container runtime analysis, mounted secrets, sidecars, namespaces, init containers, entrypoint drift, and route-to-container resolution. Use when the user asks why a live container differs from manifests, where a mounted secret is consumed, how a sidecar or init container changes runtime state, or which route res
人気
- GitHubのスター
- 42k
- ランキング
- #6423
- ライセンス
- 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、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。