The Real Fullstack

The Secret That Escaped

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

Senior Engineer8 minTimeline simulator
gitgithubaws-iamvault
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.Context · Learning objectives ▾

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.

Learning objectives

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

Run the simulation to see output.

Simplification

Each step is atomic; real rotations involve several systems and verification of every consumer. Educational model — numbers illustrate behaviour, they are not benchmarks.

Concepts

Related challenges

References