hunt-source-leak
Hunts for leaked source code and build artifacts like exposed .env files, .git directories, JavaScript source maps, and Swagger specs to uncover secrets and hidden attack surface.
What it does
Hunt source code and build artifact leakage — JavaScript source maps (.js.map) reconstructing TypeScript/ES6 source, Swagger/OpenAPI JSON endpoint discovery, .env/.git exposure, webpack chunks with hardcoded secrets, robots.txt/security.txt recon, build-info files, asset-manifest.json API route discovery, .DS_Store file listing. Use at the START of every recon session — these findings often unlock the entire attack surface.
Quality judgment
Excellent coverage of source-map, swagger, .git, .env, and build-artifact leakage with runnable commands, a chain table, validation criteria, and a valuable real-world lesson about content-hash rotation. Minor flaws: the PATH loop variable shadows $PATH, and the .DS_Store example never downloads the file before parsing, but these do not materially reduce usefulness.