Skip to content

fix(deps): bump minimatch to address GHSA-c859-jr93-m5j4 and GHSA-hqmv-qgp3-jx75 - #521

Merged
Siddhant-K-code merged 1 commit into
mainfrom
siddhant-k-code-bump-minimatch-npm-audit
Dec 2, 2026
Merged

Siddhant-K-code merged 1 commit into
mainfrom
siddhant-k-code-bump-minimatch-npm-audit

Conversation

@Siddhant-K-code

Copy link
Copy Markdown
Member

Summary

The audit CI job fails on main and every PR because npm audit reports 8 moderate vulnerabilities, all from minimatch 11.0.7 (via eslint and @typescript-eslint/*):

  • GHSA-c859-jr93-m5j4: minimatch.escape() output matches more or less than the literal input (affects >= 7.4.0, <= 11.0.7)
  • GHSA-hqmv-qgp3-jx75: global pattern cache retains large expansions, enabling memory exhaustion (affects >= 11.0.3, <= 11.0.7)

This PR bumps minimatch from 11.0.7 to 11.0.10 in package-lock.json via npm update minimatch.

This also unblocks the build-and-test-js-sdk job in openfga/sdk-generator, which runs npm audit against js-sdk main.

Impact

  • Lockfile-only change; no change to package.json or SDK source.
  • minimatch is a dev-only transitive dependency (via eslint and @typescript-eslint/*), so it is not shipped to SDK consumers and there is no runtime change.
  • 11.0.10 satisfies the existing "minimatch": "^11.0.1" override, and its dependency ranges (@isaacs/nonrecursive-glob-match, brace-expansion) and engines are unchanged.

Verification

  • npm ci && npm audit → found 0 vulnerabilities
  • npm run build, npm run lint (0 errors), and npm test (260/260) pass locally.

@Siddhant-K-code
Siddhant-K-code requested a review from a team as a code owner December 2, 2026 15:54
Copilot AI adaptive review requested due to automatic review settings December 2, 2026 15:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Warning

Walkthrough skipped

File diffs could not be summarized.

Suggested reviewers: soulpancake

Change: Other

Merge Risk: Minimal · up to 6d8c2 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Title check Inconclusive The change summary is unavailable and a repository-based assessment could not be completed. Rerun pre-merge checks when repository evidence is available, or run a full review to generate a change summary.
Passed Passed checks: 3 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3db9bc54-f2b9-4062-9979-843d9e30ff13
Commits

Reviewing files that changed from the base of the PR and between 8830a6c and 6d8c2f0.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.86%. Comparing base (8830a6c) to head (6d8c2f0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
+ Coverage   90.60%   90.86%   +0.26%     
==========================================
  Files          25       25              
  Lines        6535     6535              
  Branches      348      348              
==========================================
+ Hits         5921     5938      +17     
+ Misses        596      586      -10     
+ Partials       18       11       -7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Siddhant-K-code
Siddhant-K-code enabled auto-merge (squash) December 2, 2026 16:13
@Siddhant-K-code
Siddhant-K-code merged commit 95be346 into main Dec 2, 2026
25 checks passed
@Siddhant-K-code
Siddhant-K-code deleted the siddhant-k-code-bump-minimatch-npm-audit branch December 2, 2026 16:17
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.

4 participants