Exposed JavaScript source maps let a bug bounty hunter rebuild a company's internal architecture
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published
What happened
A bug bounty hunter testing a logistics company's Next.js single page application found that production JavaScript source maps were publicly accessible by appending .map to a chunk URL. The maps returned the full unminified source, exposing a headless WordPress and WPGraphQL backend, hidden form API routes, and a server-side environment variable schema that names secrets such as SendGrid and AWS keys. The article is truncated before the exploitation stage.
For IT people · Written by AI from 1 source · Report an error
- Sources
- 1
Sources and verification
Sources and editorial review
No named human review has been recorded for this story. See the source evidence below.
No vendor or government source is linked to this story yet. Read the source reports; attribution is not independent verification.
How severity and exploitation labels work · All source reports · Report an error
What to do
- Disable production source map generation in the build pipeline.
- Check whether .js.map files for production bundles are publicly reachable and remove them if so.
- Review whether any server-side secrets referenced in client-accessible code should be rotated.
Written by AI from the sources, checked against them
Source timeline (UTC) · 1 update
Explore this report
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own questionWho and what is in it
Companies