The Real Fullstack

The Secret That Escaped

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

Engenheiro sênior8 minSimulador de linha do tempo
gitgithubaws-iamvault

Este desafio ainda não foi traduzido para Português (Brasil). Você está lendo a versão em inglês.

Missão: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 aprendizagem ▾

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.

Missão: 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 aprendizagem

  • Treat leaked secrets as compromised: revoke, don't hide.
  • Rotate without unnecessary downtime when you can afford it.
  • Change priorities when abuse is active.
SimulaçãoSimulado
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
Executar simulação

Execute a simulação para ver a saída.

Simplificação

Each step is atomic; real rotations involve several systems and verification of every consumer. Modelo educacional — os números ilustram comportamento, não são benchmarks.

Conceitos

Desafios relacionados

Referências