Repository navigation
chore(security): resolve pnpm audit vulnerabilities (2 moderate) - #610
Merged
Merged
Conversation
- glob: raise the override floor to >=14.0.2 (GHSA-3g3m-2fjr-6pw4); resolves to 14.0.3. The advisory covers every release from 9.0.0 through 14.0.1, so no 13.x fix exists - minimatch: raise the override floor to >=11.0.1 (GHSA-g3hv-75wg-m249); resolves to 11.0.4. Every release below 11.0.1 is affected. glob 14 declares minimatch ^11.0.0 Both packages are reached only through the dev-only license-checker-rseidelsohn > read-installed-packages > read-package-json path. license-checker-rseidelsohn 5.0.1 still resolves glob 13.0.6 and minimatch 10.2.6, so upgrading it does not remove the need for the overrides. path-scurry moves 2.0.2 -> 3.0.0 and @isaacs/nonrecursive-glob-match 1.0.3 is added as dependencies of the new glob and minimatch.
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #610 +/- ##
=======================================
Coverage 90.58% 90.58%
=======================================
Files 218 218
Lines 12718 12718
Branches 3573 3573
=======================================
Hits 11520 11520
Misses 1195 1195
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
tkislan
marked this pull request as ready for review
November 4, 2026 13:14
dinohamzic
approved these changes
Nov 4, 2026
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.
pnpm auditonmainreports two advisories published on 2026-10-30. They fail the "Audit - All" job (.github/workflows/ci.yml:335,pnpm audit). "Audit - Production" (ci.yml:312,pnpm audit --prod) passes, because both packages are dev-only. This PR fixes both.license-checker-rseidelsohn > read-installed-packages > read-package-json > glob… > read-package-json > glob > minimatchPrecedent
Transitive advisories here are fixed by raising an open-ended floor in the root
pnpm.overrides, editing an existing entry in place rather than adding a scoped one (#333, #387, #434, #438, #547, #601). Both packages already have such floors:globfrom #153 andminimatchfrom #295 and #333. Both earlier floors already pushed read-package-json'sglob ^10.2.2, and glob's own minimatch range, up a major. Fix versions are checked against renovate's 24hminimumReleaseAge. Registry metadata (libc:/deprecated:) that a regenerated lockfile adds to unchanged entries is removed, as in #588, #598 and #601.glob
>=11.1.0to>=14.0.2, the first patched release. It resolves to 14.0.3. The advisory covers every release from 9.0.0 through 14.0.1, so no 13.x fix exists and the fix has to cross a major. glob 14's breaking changes (thedebugoption,GlobWalker#walk()return type,ignorerooting, Windows UNC roots) don't touch the only consumer,read-package-json. It callsglob(pattern, { cwd, nocase, mark }), which glob 14 still exports for CommonJS. glob 14.0.2 and 14.0.3 were released on 2026-10-27 and 2026-10-28, more than 24h ago.license-checker-rseidelsohn5.0.1 (latest, a major) replacesread-installed-packages. It still resolves glob 13.0.6 and minimatch 10.2.6, so the overrides would still be needed.minimatch
>=10.2.3to>=11.0.1, the first patched release. It resolves to 11.0.4. Every release below 11.0.1 is affected. glob 14 declaresminimatch ^11.0.0, so the two floors move together. glob is minimatch's only consumer in the tree, so minimatch 11's removed APIs (makeRe(),AST) affect nothing. 11.0.4 was released on 2026-11-02.Lockfile
Only these entries change: glob 13.0.6 → 14.0.3, minimatch 10.2.6 → 11.0.4, path-scurry 2.0.2 → 3.0.0 (glob 14's range), the new
@isaacs/nonrecursive-glob-match1.0.3 (minimatch 11's new dependency), and read-package-json's reference to glob. glob 14 has nobin, and nothing in the repo runs aglobcommand. Nopackages/*/package.jsondeclares glob or minimatch, so published@deepnote/*packages are unaffected.Decided with the user
license-checker-rseidelsohnto 5.0.1 (which doesn't fix the audit), or leaving "Audit - All" failing. The user chose raising both floors.Verification
pnpm auditandpnpm audit --prod: no known vulnerabilities.pnpm why -r glob minimatchshows only glob 14.0.3 and minimatch 11.0.4.pnpm run license-check(the only path that loads glob): passes, and its JSON output matchesmain's.pnpm build,typecheck,lintAndFormat,spell-checkandtest(190 files, 3630 tests): pass.pnpm install --frozen-lockfile: passes. A secondpnpm install --lockfile-only --config.minimum-release-age=1440changes nothing.Not fixed
Nothing. Both audits are clean.
Summary by CodeRabbit