# Free source map checker

> Short answer: check whether production JavaScript references reachable source maps and explain how to disable public maps or upload them privately. This guide explains what to verify and what the public scan cannot prove, without logging in, changing records, or treating an inconclusive response as a pass.

## What the public source map checker check covers

The checker looks for source-map references in public JavaScript and checks whether the linked map is reachable. It does not download or publish the map contents as part of its report.

This free checker is an entry point into a broader read-only scan. Its output is evidence about a specific public response or browser asset, not a guarantee that the application, provider account, or private backend is safe.

A source map may reveal original file names, source structure, and sometimes embedded source content. Its presence is not a credential leak by itself, but it can expose details your team intended to keep out of the public build.

## Understand the evidence before changing code

Some teams need maps for error monitoring. In that case, upload them through the monitoring provider's private build integration and prevent the deployment host from serving the same files publicly.

Run the check against a production URL you own or are authorized to test. The browser-visible configuration is already public; never paste a secret value into the checker, a support ticket, or an AI prompt.

## Apply the narrow, safe change

Disable production maps using the framework's build setting or exclude map files from the public artifact. Do not rely on minification to protect private values that were already compiled into JavaScript.

Vite production build setting:

```ts
export default defineConfig({
  build: { sourcemap: false },
});
```

Results distinguish a confirmed response from a blocked or ambiguous one. A timeout, authentication wall, empty dataset, or host-level denial may prevent a conclusion; the tool should not turn missing evidence into a green result.

## Verify the production result

Rebuild and inspect both the JavaScript reference and the known map URL on the production host. Confirm your error monitoring still resolves stack traces through its private copy.

If the checker finds an issue, use the linked repair guide to change the correct deployment setting. Keep least privilege, review the diff, and avoid disabling access controls just to make the status change.

## Keep the issue from returning

Add an artifact test that fails if public .map files are emitted. Revisit the setting when changing frameworks because defaults and upload plugins can differ.

Re-run the checker after deployment and compare the new response with the original finding. If a CDN or build cache is involved, verify the actual public asset rather than assuming a successful deploy invalidated every copy.

## Limits and next steps

The checker cannot determine whether source code is confidential or whether a map contains a secret. Review the actual build pipeline and rotate a credential only if one is present.

The check is designed to avoid reading private application records. Where a provider offers a count-only or metadata response, the tool reads only that signal; it does not need row contents to explain the boundary.

A passing result covers only the advertised check and its observable surface. It does not replace dependency review, authenticated authorization tests, incident response, or a security assessment of code the public scanner cannot see.

## FAQ

**Can a clean public source map checker check prove the app is secure?**

No. It is evidence about the advertised public surface only. A public map can reveal source details; review its content and your policy.

**What should I do first if the finding is real?**

Disable public maps or upload them privately to your monitoring provider.

**Does ProofForge change application data?**

No. The scan is read-only and does not sign in, write records, or use a discovered secret. You make and review any remediation in your own project.

**What should I do after the repair?**

Check JavaScript references and map URLs after a fresh production deploy.

## Key facts

- Source-map availability is determined by the production artifact and host.
- Private monitoring uploads can retain debugging without public map URLs.
- Minification does not remove credentials already included in JavaScript.

## Sources

- [vite.dev](https://vite.dev/config/build-options#build-sourcemap)
- [nextjs.org](https://nextjs.org/docs/app/api-reference/config/next-config-js/productionBrowserSourceMaps)

## Related

- https://proofforge.live/tools
- https://proofforge.live/fix
- https://proofforge.live/check
- https://proofforge.live/methodology

---
Last updated 2026-11-25 · Reviewed by ProofForge. Methodology: https://proofforge.live/methodology. Scan your app: https://proofforge.live/
