Practice Pack

Module 08 — Hidden Credentials & Secret Disclosure

A practice pack of isolated mini-labs on ONE theme: secrets that leak through artifacts the build never meant to publish. Two tracks.

NAKED labs are minimal — one leak, one exploit, no decoys. Drill the mechanic. METHODOLOGY labs are realistic — you must hunt, tell the live secret from rotated decoys, and PROVE it by using it.

A recovered string is not a finding until you show what it unlocks. Route everything through Burp and grep responses for high-entropy, key-shaped strings (rk_live_, glpat-, APP_KEY, SECRET).

Naked labs

NAKEDExposed .git
A single leaked /.git/config exposes an internal remote URL with an embedded CI token.
NAKEDExposed .env
A single .env file is served from the web root, leaking DB credentials and an APP_KEY.
NAKEDJS source map
A served bundle points at a .map file that expands to internal source paths and a key.
NAKEDHardcoded key in JS
The web bundle ships a hardcoded API key in plain sight.
NAKEDActuator env dump
A framework env/debug endpoint dumps live configuration, including a credential.

Methodology labs

METHODOLOGYRecover & Use a secret
No single artifact hands you access. Recon several leaks, separate the LIVE key from rotated decoys, then USE it against a gated admin endpoint. Reaching that endpoint is the win.
More hands-on practice → https://labs.hackxpert.com/