The Real Fullstack

The Secret That Escaped

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

Ingénieur senior8 minSimulateur de chronologie
gitgithubaws-iamvault

Ce défi n'est pas encore traduit en Français. Vous lisez la version anglaise.

Mission: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.Contexte · Objectifs d'apprentissage ▾

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.

Mission: 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.

Objectifs d'apprentissage

  • Treat leaked secrets as compromised: revoke, don't hide.
  • Rotate without unnecessary downtime when you can afford it.
  • Change priorities when abuse is active.
SimulationSimulé
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
Lancer la simulation

Lancez la simulation pour voir la sortie.

Simplification

Each step is atomic; real rotations involve several systems and verification of every consumer. Modèle pédagogique — les chiffres illustrent un comportement, ce ne sont pas des benchmarks.

Concepts

Défis liés

Références