[PR #2158] [MERGED] fix(deps): override minimatch to 11.0.4 (GHSA-g3hv-75wg-m249) #2154

Closed
opened 2026-11-07 22:42:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2158
Author: @SpicyMarinara
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/deps-minimatch-override


📝 Commits (1)

  • 326e716 fix(deps): override minimatch to 11.0.4 (GHSA-g3hv-75wg-m249)

📊 Changes

2 files changed (+16 additions, -5 deletions)

View changed files

📝 package-lock.json (+13 -5)
📝 package.json (+3 -0)

📄 Description

Pull request

Linked issue

Closes #2157

Why this change

Dependabot alert 3 (GHSA-g3hv-75wg-m249, medium): minimatch below 11.0.1 can be made to use excessive CPU and memory by an attacker-controlled glob pattern. The repo resolved minimatch 10.2.6 through ESLint, @eslint/config-array and typescript-eslint. These are development-only, and their patterns come from our own lint config, so nothing reachable was exposed. The alert still needs a fixed version, and no parent package has moved to the 11 major yet.

What changed

  • package.json: an overrides entry pins minimatch to 11.0.4, the version Marinara-Engine adopted for the same advisory (c10139ae80). The newer 11.0.5 is only two days old.
  • package-lock.json: one copy of minimatch 11.0.4 now serves all three consumers. They call Minimatch#match and the minimatch function, which the 11 major keeps.
  • No package source, build output, artifact or catalog changes.

Package and security impact

  • Affected package IDs: none (repository tooling only)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Run by the agent:

  • npm ls minimatch shows minimatch@11.0.4 for ESLint (overridden), @eslint/config-array and @typescript-eslint/typescript-estree (deduped).
  • npm run check: format passes; lint reports 0 errors and the same 815 warnings as staging, so ESLint still picks up the same files.
  • npm audit --package-lock-only --audit-level=low no longer lists minimatch. It still fails on one known, separate advisory: zod below 4.6.6 (GHSA-mrhx-c7xc-m3w5, high) on the zod 3 dev dependency. Package sources import zod, so moving to zod 4 is a breaking change for those packages and isn't part of this PR.
  • Dependabot alert 3 is raised against the default branch, so it closes once this reaches main.

Documentation impact

  • No documentation changes needed

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/2158 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/7/2026 **Status:** ✅ Merged **Merged:** 11/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/deps-minimatch-override` --- ### 📝 Commits (1) - [`326e716`](https://github.com/Pasta-Devs/Marinara-Agents/commit/326e7165c3630dbbc211f70495fd7c8ee890bb6d) fix(deps): override minimatch to 11.0.4 (GHSA-g3hv-75wg-m249) ### 📊 Changes **2 files changed** (+16 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+13 -5) 📝 `package.json` (+3 -0) </details> ### 📄 Description # Pull request ## Linked issue Closes #2157 ## Why this change Dependabot alert 3 (GHSA-g3hv-75wg-m249, medium): `minimatch` below 11.0.1 can be made to use excessive CPU and memory by an attacker-controlled glob pattern. The repo resolved `minimatch` 10.2.6 through ESLint, `@eslint/config-array` and typescript-eslint. These are development-only, and their patterns come from our own lint config, so nothing reachable was exposed. The alert still needs a fixed version, and no parent package has moved to the 11 major yet. ## What changed - `package.json`: an `overrides` entry pins `minimatch` to 11.0.4, the version Marinara-Engine adopted for the same advisory (c10139ae80). The newer 11.0.5 is only two days old. - `package-lock.json`: one copy of `minimatch` 11.0.4 now serves all three consumers. They call `Minimatch#match` and the `minimatch` function, which the 11 major keeps. - No package source, build output, artifact or catalog changes. ## Package and security impact - Affected package IDs: none (repository tooling only) - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Run by the agent: - `npm ls minimatch` shows `minimatch@11.0.4` for ESLint (overridden), `@eslint/config-array` and `@typescript-eslint/typescript-estree` (deduped). - `npm run check`: format passes; lint reports 0 errors and the same 815 warnings as staging, so ESLint still picks up the same files. - `npm audit --package-lock-only --audit-level=low` no longer lists `minimatch`. It still fails on one known, separate advisory: `zod` below 4.6.6 (GHSA-mrhx-c7xc-m3w5, high) on the zod 3 dev dependency. Package sources import zod, so moving to zod 4 is a breaking change for those packages and isn't part of this PR. - Dependabot alert 3 is raised against the default branch, so it closes once this reaches `main`. ## Documentation impact - [x] No documentation changes needed 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 22:42:53 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#2154
No description provided.