The Real Fullstack

The Secret That Escaped

The commit was force-pushed away within ten minutes. Is the key safe now?

シニアエンジニア8 分タイムラインシミュレーター
gitgithubaws-iamvault

この課題はまだ日本語に翻訳されていません。英語版を表示しています。

ミッション:Order the incident response — first for a key with no sign of abuse yet, then when the audit log already shows an attacker using it.背景 · 学習目標 ▾

A Tallow Cloud engineer committed a .env file with a production cloud access key to a public repository. Bots scan public pushes within minutes. The key is used by three production services.

ミッション: Order the incident response — first for a key with no sign of abuse yet, then when the audit log already shows an attacker using it.

学習目標

  • Treat leaked secrets as compromised: revoke, don't hide.
  • Rotate without unnecessary downtime when you can afford it.
  • Change priorities when abuse is active.
シミュレーションシミュレーション値
incident response
11. purgeHistory ✕ purging first leaves a working key in every clone and mirror
22. revoke ✕ revoking before rotating breaks production
33. rotateDependents
44. auditUsage
55. addScanning
66. postmortem
シミュレーションを実行

シミュレーションを実行すると出力が表示されます。

簡略化

Each step is atomic; real rotations involve several systems and verification of every consumer. 教育用モデルです。数値は挙動を示すためのもので、ベンチマークではありません。

コンセプト

関連する課題

参考資料