The debug log that exposed a token
A simulated CI job leaks a dummy token into its output and artifact. Investigate and stop the exposure while preserving the report.

The scenario
A local CI simulation is producing a useful report, but debug output is exposing a deliberately fake token. Repair the configuration; do not use real credentials.
Mission objectives
- Inspect the simulated job output and generated artifact.
- Stop the dummy token appearing in either output or artifact.
- Keep the report generation working.
Get the lab
Download and inspect the installer before running it. It checks the archive's SHA-256 digest and refuses to overwrite an existing lab directory.
curl -fsSLO https://devops.download/labs/devsecops-01-ci-secret-exposure.sh less devsecops-01-ci-secret-exposure.sh
bash devsecops-01-ci-secret-exposure.sh
cd labs/devsecops-01-ci-secret-exposure
./setup.shWhen you've made your changes, run ./verify.sh. Remove lab resources with ./teardown.sh.
Need a nudge?
Hint #1
Compare the debug setting in .lab-state with what the job writes to its log and report.
Hint #2
The token is a fixed dummy value; this exercise does not connect to GitHub or any cloud service.
Hint #3 · Deep Dive Runbook on opsbreakfix.com
Solved it?
Read the Official Root Cause Analysis & Certification Roadmap on opsbreakfix.com
Continue to opsbreakfix.com ↗