Skip to content

security: consolidated low-severity remediation#2

Merged
lua-stefan-kruger merged 1 commit into
mainfrom
security/low-severity-remediation-babel-729
Jul 25, 2026
Merged

security: consolidated low-severity remediation#2
lua-stefan-kruger merged 1 commit into
mainfrom
security/low-severity-remediation-babel-729

Conversation

@lua-stefan-kruger

@lua-stefan-kruger lua-stefan-kruger commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Pins @babel/core to a within-major patched release (^7.29.6, resolves to 7.29.7) via overrides in both the root workspace and mcp/lua-platform, and regenerates both lockfiles.

Alerts closed

  • Dependabot #5 — package-lock.json
  • Dependabot #4 — mcp/lua-platform/package-lock.json

Both are GHSA-4x5r-pxfx-6jf8 / CVE-2026-49356 (LOW): @babel/core arbitrary file read via sourceMappingURL comment. @babel/core is a transitive development-scope dependency (via jest); no runtime or shipped code is affected. Fix stays within major 7.

Verification (local, mirrors CI)

  • root: npm ci + npm run lint + npm test -- --coverage (248 tests) + check-coverage.mjs — all pass
  • mcp: npm ci + npm test (83 tests) + npm run build + check-bundle-size.mjs — all pass
  • @babel/core resolves to 7.29.7 in both lockfiles

Signed commit via createCommitOnBranch. Left open for admin-merge.


Note

Low Risk
Dev-only transitive dependency bump with no application or runtime code changes; scope is lockfile and override configuration.

Overview
Addresses CVE-2026-49356 (GHSA-4x5r-pxfx-6jf8): arbitrary file read in @babel/core via sourceMappingURL handling.

Adds npm overrides in the root workspace and mcp/lua-platform to force transitive @babel/core to ^7.29.6 (lockfiles resolve 7.29.7), staying on Babel major 7. Both package-lock.json files are refreshed so the @babel/* tree and related dev transitive packages (e.g. browserslist tooling) match the override.

@babel/core is only pulled in through Jest as a dev dependency; shipped/runtime code is unchanged.

Reviewed by Cursor Bugbot for commit 193b909. Bugbot is set up for automated code reviews on this repo. Configure here.

Pin @babel/core to a within-major patched release (^7.29.6; resolves to 7.29.7) via package.json overrides in both the root workspace and mcp/lua-platform, and regenerate both lockfiles.

Closes Dependabot alerts #5 (package-lock.json) and #4 (mcp/lua-platform/package-lock.json):
GHSA-4x5r-pxfx-6jf8 / CVE-2026-49356 — @babel/core arbitrary file read via sourceMappingURL comment.

@babel/core is a transitive development-scope dependency (via jest). No runtime or shipped code changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lua-stefan-kruger
lua-stefan-kruger merged commit b283ce0 into main Jul 25, 2026
8 checks passed
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