# JavaScript Analysis for Hunters

> Read a web app's own JavaScript to map hidden endpoints and spot leaked secrets, all on in-scope lab hosts.

Canonical: https://codelivly.com/rooms/javascript-analysis-for-hunters
Last updated: 2026-11-15

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 6 |
| Estimated time | 2 h 45 min |
| XP | 1108 |

Modern web apps ship their API map inside the front-end bundle. In this room you read the Harborline booking app's JavaScript to find endpoints and config the site never links. You extract URLs and API paths from a bundle, restore readable source from a leaked source map, and separate a publishable key from a secret that must be reported. A Defender's View shows how a secret reached the build and how the team scans and fixes it, and a guided lab confirms an undocumented endpoint and writes the finding.

## Lessons

1. What is JavaScript Recon & Why It Matters (25 min)
2. Extracting Endpoints from Bundled JavaScript (25 min)
3. Reading Source Maps and Minified Code (25 min)
4. Spotting Leaked Keys and Secrets (25 min)
5. Defender's View: Keeping Secrets Out of Client Code (25 min)
6. Guided Lab: Find an Undocumented Endpoint in a Lab JS Bundle (40 min)

## Related

- [All rooms](https://codelivly.com/rooms)
