Skip to content

Fix minimatch denial of service advisory (GHSA-g3hv-75wg-m249) - #13

Merged
thymeed merged 1 commit into
masterfrom
fix/minimatch-dos-override
Nov 13, 2026
Merged

thymeed merged 1 commit into
masterfrom
fix/minimatch-dos-override

Conversation

@thymeed

@thymeed thymeed commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Resolves Dependabot alert #17.

Change

  • Add an overrides entry in package.json that sets minimatch to 11.0.1 for app-builder-lib and its @electron/universal subtree.
  • Pin dir-compare inside that subtree to minimatch 3.1.5, which it needs.
  • Update package-lock.json.

minimatch is a development-only dependency pulled in by electron-builder. The latest electron-builder (26.18.0) still depends on the vulnerable range (>= 7.0.0, < 11.0.1), so a version bump alone does not fix it. ESLint and its related packages keep minimatch 3.1.5, which is outside the affected range.

Verification

Run locally before pushing:

  • npm audit no longer reports minimatch.
  • npm run ci passes (lint, format check, 170 tests, packaging check).
  • electron-builder --dir completes and produces the unpacked app.

npm audit still reports electron and fast-uri. Those are unrelated and not changed here.

Scope the override to app-builder-lib and its @electron/universal subtree so ESLint and dir-compare keep minimatch 3.x.
@thymeed
thymeed merged commit edab2a3 into master Nov 13, 2026
3 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