chore: add override for minimatch to address GHSA-3ppc-4f35-3m26 - #295
Conversation
📝 WalkthroughWalkthroughA new pnpm dependency override was added to package.json, specifying that minimatch must be resolved to version >=10.2.1. The existing lodash-es override was reformatted with a trailing comma to accommodate the new entry. This ensures the minimatch package meets the specified version constraint across the project's dependency tree. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #295 +/- ##
=======================================
Coverage 82.36% 82.36%
=======================================
Files 111 111
Lines 6792 6792
Branches 1876 1817 -59
=======================================
Hits 5594 5594
Misses 1198 1198 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Around line 69-70: Update the override entry for minimatch to use a bounded
semver range: replace the existing string ">=10.2.1" for the "minimatch"
override in package.json with "^10.2.1" so only 10.x releases are allowed
(locate the "minimatch": ">=10.2.1" override and change it to "minimatch":
"^10.2.1").
Resolve 4 moderate pnpm audit vulnerabilities in hono (transitive via packages/mcp > @modelcontextprotocol/sdk > hono), all fixed in 4.12.21: - GHSA-xrhx-7g5j-rcj5 (CVE-2026-47674, CVSS 5.3): ip-restriction middleware bypasses static deny rules for non-canonical IPv6. - GHSA-3hrh-pfw6-9m5x (CVE-2026-47675, CVSS 4.3): cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection. - GHSA-f577-qrjj-4474 (CVE-2026-47673, CVSS 4.8): jwt/jwk middleware accepts any Authorization scheme, not only Bearer. - GHSA-2gcr-mfcq-wcc3 (CVE-2026-47676, CVSS 5.3): app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths. Bump the existing pnpm.overrides floor for hono >=4.12.18 -> >=4.12.21 following the established convention in this repo (see #387, #368, #307, #295, #292). pnpm install resolves hono to 4.12.23. After this change `pnpm audit` reports no known vulnerabilities. `pnpm typecheck`, `pnpm test` (2242 tests), and `pnpm prettier:check` all pass.
Summary by CodeRabbit