Claude Code’s Entire Source Code Got Leaked via a Sourcemap in npm, Let’s Talk About It, by (not on Mastodon or Bluesky):
Claude Code’s Entire Source Code Got Leaked via a Sourcemap in npm, Let’s Talk About It, by (not on Mastodon or Bluesky):
Claude Code’s Entire Source Code Got Leaked via a Sourcemap in npm, Let’s Talk About It, by (not on Mastodon or Bluesky):
RE: https://hostux.social/@defcon201/116324484796527679
Quick #story time: I was on a team which accidentally shipped sourcemaps to production!
The production server would serve sourcemaps for local dev, and we built sourcemaps in prod to deobfuscate errors but they weren't provided to the server in the prod environment.
You might see the hazard there. An innocuous change to our #Bazel build structure accidentally pulled in sourcemaps into the server, which it then helpfully served.
This was an app in the #Google monorepo too, so we were revealing all our source code as well as all our dependencies!
Source Maps: Shipping Features Through Standards, by @jonkuperman.com (@bloomberg.com):
https://bloomberg.github.io/js-blog/post/standardizing-source-maps/

Source maps are a vital part of modern web development, but a lack of standard has made it impossible for us to add new features or improve the debugging experience. This is the story of how we standardized source maps and how we continue to ship features through standards.
From Random Chunks to Real Code—Wiring Up Next.js Source Maps in Sentry, by @getsentry:
https://blog.sentry.io/setting-up-next-js-source-maps-sentry/

Source maps are a vital part of modern web development, but a lack of standard has made it impossible for us to add new features or improve the debugging experience. This is the story of how we standardized source maps and how we continue to ship features through standards.
Standardizing Source Maps
https://bloomberg.github.io/js-blog/post/standardizing-source-maps/
#HackerNews #StandardizingSourceMaps #JavaScript #SourceMaps #WebDevelopment #OpenSource #TechNews

Source maps are a vital part of modern web development, but a lack of standard has made it impossible for us to add new features or improve the debugging experience. This is the story of how we standardized source maps and how we continue to ship features through standards.
5 Source Map Best Practices for Frontend Production Deployments, by @eleanorhecks.bsky.social (@designerly.bsky.social):
The Inner Workings of JavaScript Source Maps, by @manojvivek.bsky.social (@polarsignals.com):
https://www.polarsignals.com/blog/posts/2025/11/04/javascript-source-maps-internals
#Development #Explainers
The inner workings of source maps · JavaScript source maps explained with examples https://ilo.im/1686ki
_____
#Programming #Coding #Debugging #SourceMaps #JavaScript #DevTools #Browser #WebDev #Frontend #Backend