Skip to content

SEC: disable production source maps (no public .js.map)#132

Merged
mvalancy merged 1 commit into
devfrom
fix/no-prod-sourcemaps
Jun 19, 2026
Merged

SEC: disable production source maps (no public .js.map)#132
mvalancy merged 1 commit into
devfrom
fix/no-prod-sourcemaps

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Live red-team caught public .js.map on prod (leaks source). vite build sourcemap:true → false; dev unaffected.

🤖 Generated with Claude Code

The live red-team probe caught /assets/index-*.js.map served 200 on production —
public source maps leak the original source. vite build had sourcemap:true; set it
to false. Dev (Vite dev server with its own maps) is unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mvalancy mvalancy merged commit 35b4b52 into dev Jun 19, 2026
@mvalancy mvalancy deleted the fix/no-prod-sourcemaps branch June 19, 2026 03:04
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant