Repository navigation
Patch Dependabot alerts: Next 15.5.27, sharp, braces backport - #25
Merged
Merged
Conversation
Upgrade next/eslint-config-next to 15.5.27 for RCE and cache-poisoning fixes, sharp to 0.35.5, vitest to 4.1.11, and pin transitive overrides (brace-expansion, js-yaml, source-map-js, postcss-selector-parser). Vendor braces 3.0.4 from micromatch/braces#82 until upstream publishes a release past 3.0.3 for GHSA-vfj7-8cjw-p6xm. Co-authored-by: Tony <ashlessscythe@users.noreply.github.com>
Regenerate the lockfile so CI's plain `npm ci` stays in sync and picomatch nesting resolves cleanly. Co-authored-by: Tony <ashlessscythe@users.noreply.github.com>
The deps stage only copied package manifests, so `npm ci` could not resolve the local braces file: override. Copy vendor into deps and runner images. Co-authored-by: Tony <ashlessscythe@users.noreply.github.com>
ashlessscythe
marked this pull request as ready for review
October 8, 2026 15:02
ashlessscythe
added a commit
that referenced
this pull request
Oct 8, 2026
) * Patch Dependabot/npm audit: Next 15.5.27, sharp 0.35.5, braces backport. Upgrade next/eslint-config-next to 15.5.27 for RCE and cache-poisoning fixes, sharp to 0.35.5, vitest to 4.1.11, and pin transitive overrides (brace-expansion, js-yaml, source-map-js, postcss-selector-parser). Vendor braces 3.0.4 from micromatch/braces#82 until upstream publishes a release past 3.0.3 for GHSA-vfj7-8cjw-p6xm. * Sync package-lock for npm ci without legacy-peer-deps. Regenerate the lockfile so CI's plain `npm ci` stays in sync and picomatch nesting resolves cleanly. * Include vendor braces tarball in Docker npm ci stages. The deps stage only copied package manifests, so `npm ci` could not resolve the local braces file: override. Copy vendor into deps and runner images. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Tony <ashlessscythe@users.noreply.github.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.
Summary
Clears open Dependabot /
npm auditfindings while keeping the app on Next.js 15.Patched
15.5.23→15.5.27— Windows/image RCE and SSG/ISR cache-poisoning advisories0.35.3→0.35.5— libheif / librsvg advisories4.1.10→4.1.11—@vitest/mockerpath traversalbrace-expansion^5.0.12,js-yaml^4.3.2,source-map-js^1.2.2,postcss-selector-parser^7.1.6braces (GHSA-vfj7-8cjw-p6xm)
Upstream still has no published release past
3.0.3. This PR vendors a3.0.4backport of micromatch/braces#82 asvendor/braces-3.0.4.tgzand forces it via dependency + override.Dockerfilecopiesvendor/into the deps/runner stages sonpm ciresolves the local tarball.Remove the vendor pin once npm publishes an official patched release.
Verification
npm audit # found 0 vulnerabilitiesnpm run lintnpm run typechecknpm run test:unit(275 passed)npm run buildnpm ci(lockfile in sync)