Infrastructure & CI
Source maps published with the production buildinfra.production-source-maps
Public source maps hand anyone your original, readable source — component logic, API routes the client calls, comments, sometimes internal URLs and keys that were "only in the frontend".
- In force Rule infra.production-source-maps
- 3 clauses
At a glance
| Severity | medium |
|---|---|
| Certainty | Observed — the code as written is the problem |
| Looks at | your source code |
| When it runs | Runs on every scan |
How to fix it
Turn browser source maps off for production (or upload them privately to your error tracker with `hidden` source maps).
Check your own app
Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.
If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line infra.production-source-maps -- <why>.
Your code stays
on your machine
Only findings are uploaded, and only to your own dashboard.
ScanlyFix
Security, privacy pages, SEO and AI visibility checked in one scan, with fixes your AI editor can apply.
Home