Secure codingeasy100 pts0 solves
Secrets in History
A developer noticed a hard-coded API key and removed it in the latest commit — "problem solved". You received the repository as a tarball.
Learning objectives
Learn that deleting a secret from the current code does not remove it from version-control history; practise git log -p.
Instructions
Extract inventory-app.tar.gz and inspect the git history. The flag is the API key that used to be committed.
Prerequisites: Basic git commands.
Flag format:
cspk{...}Files: inventory-app.tar.gz (13.3 KB) (download after registering)
Useful tools: Gitleaks TruffleHog
References
Write-up
The full write-up and learning takeaways unlock after you solve this challenge — spoilers stay hidden until then.
