[agent] chore(deps): bump minimatch transitive dependencies to safe versions#701
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
Conversation
Adds npm overrides to force safe versions of minimatch for packages that were locked to vulnerable transitive versions: - mocha pinned minimatch to exactly 3.0.4 (vulnerable: < 3.1.4) → override to 3.1.5 - depcheck required ^7.4.6 but was locked to 7.4.6 (vulnerable: < 7.4.8) → override to 7.4.9 - @typescript-eslint/typescript-estree required ^9.0.4, locked at 9.0.5 (vulnerable: < 9.0.7) → override to 9.0.9 - glob@10 required ^9.0.4, locked at 9.0.5 → override to 9.0.9 - ignore-walk, @npmcli/package-json, cacache had minimatch 10.2.0 locked (vulnerable: < 10.2.3) → override to 10.2.5 Resolves Dependabot alerts: #169, #168, #166, #165, #163, #162, #158, #154, #153, #152 GHSA-23c5-xmqv-rm74 (CVE-2026-27904) GHSA-7r86-cg39-jmmj (CVE-2026-27903) GHSA-3ppc-4f35-3m26 (CVE-2026-26996) Co-authored-by: Copilot <223556219+Copilot@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
Addresses 10 Dependabot alerts (alerts #152–#169) for vulnerable
minimatchtransitive dependencies across three CVEs:Approach
All affected packages are transitive dependencies — no direct
package.jsondependency declaredminimatchat a vulnerable version. Since the maintainers have shipped patched releases within the existing semver ranges, npmoverrideswere added to the rootpackage.jsonto force each vulnerable consumer to resolve a safe version.Why overrides were needed
mocha@8.4.0minimatchto exact3.0.4(no range); cannot self-update"mocha": {"minimatch": "3.1.5"}depcheck^7.4.6but lockfile was stale at7.4.6(< 7.4.8)"depcheck": {"minimatch": "7.4.9"}@typescript-eslint/typescript-estree^9.0.4, locked at9.0.5(< 9.0.7){"minimatch": "9.0.9"}glob@10^9.0.4, locked at9.0.5(< 9.0.7)"glob@10": {"minimatch": "9.0.9"}ignore-walk,@npmcli/package-json,cacacheminimatch 10.2.0(< 10.2.3) viaglob@13{"minimatch": "10.2.5"}Versions after fix
node_modules/minimatchnode_modules/mocha/node_modules/minimatchnode_modules/depcheck/node_modules/minimatchnode_modules/@typescript-eslint/rule-tester/node_modules/minimatchpackages/monorepo-tools/node_modules/minimatchnode_modules/@npmcli/package-json/node_modules/minimatchnode_modules/cacache/node_modules/minimatchnode_modules/ignore-walk/node_modules/minimatchDependabot alerts resolved