Overview
Source maps (.js.map) map minified/bundled JavaScript back to original source code. When exposed in production, they reveal the full unminified codebase — variable names, comments, API endpoints, hardcoded secrets, and internal logic.
Finding Source Maps
Check HTTP Headers
Direct Access
Common Paths
Enumerate with Wordlist
Browser DevTools
- Open DevTools → Sources tab
- If source maps load, original source tree is visible
- Check Network tab for
.maprequests