security: consolidated low-severity remediation#2
Merged
lua-stefan-kruger merged 1 commit intoJul 25, 2026
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins
@babel/coreto a within-major patched release (^7.29.6, resolves to 7.29.7) viaoverridesin both the root workspace andmcp/lua-platform, and regenerates both lockfiles.Alerts closed
package-lock.jsonmcp/lua-platform/package-lock.jsonBoth are GHSA-4x5r-pxfx-6jf8 / CVE-2026-49356 (LOW): @babel/core arbitrary file read via
sourceMappingURLcomment.@babel/coreis a transitive development-scope dependency (via jest); no runtime or shipped code is affected. Fix stays within major 7.Verification (local, mirrors CI)
npm ci+npm run lint+npm test -- --coverage(248 tests) +check-coverage.mjs— all passnpm ci+npm test(83 tests) +npm run build+check-bundle-size.mjs— all pass@babel/coreresolves to 7.29.7 in both lockfilesSigned 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/coreviasourceMappingURLhandling.Adds npm
overridesin the root workspace andmcp/lua-platformto force transitive@babel/coreto^7.29.6(lockfiles resolve 7.29.7), staying on Babel major 7. Bothpackage-lock.jsonfiles are refreshed so the@babel/*tree and related dev transitive packages (e.g. browserslist tooling) match the override.@babel/coreis 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.