The Real Fullstack

The Secret That Escaped

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

Ingeniero sénior8 minSimulador de línea de tiempo
gitgithubaws-iamvault

Este reto aún no está traducido al Español. Estás leyendo la versión en inglés.

Misión: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.Contexto · Objetivos de aprendizaje ▾

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.

Misión: 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.

Objetivos de aprendizaje

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

Ejecuta la simulación para ver la salida.

Simplificación

Each step is atomic; real rotations involve several systems and verification of every consumer. Modelo educativo: los números ilustran un comportamiento, no son benchmarks.

Conceptos

Retos relacionados

Referencias