Skip to content

Fix the new blocking dependency advisory GHSA-g3hv-75wg-m249 (minimatch < 11.0.1, moderate: denial of service via globparts amplification; published 2026-10-30T23:09Z, patched only in minimatch 11.0.1, with no 10.x or 3.x backports). Check current... #3403

Closed

Description

@propr-dev

Fix the new blocking dependency advisory GHSA-g3hv-75wg-m249 (minimatch < 11.0.1, moderate: denial of service via globparts amplification; published 2026-10-30T23:09Z, patched only in minimatch 11.0.1, with no 10.x or 3.x backports). Check current upstream main first.

Impact: on main (c549264), npm run audit:runtime and the desktop packaging audit (npm run desktop:audit:packaging) now fail with 'Blocking vulnerabilities: minimatch, repomix'. The Linux desktop preview build (desktop-linux-preview.yml run 41216705299, step 'Audit and install locked dependencies') fails on it, and the next release (0.9.1) would fail the same gate. Runtime paths: packages/core -> [email protected] (declares minimatch ^10.2.6) -> [email protected], and [email protected] -> [email protected]. Dev-only paths (eslint, @electron/asar, nodemon) use minimatch 3.x or 10.x. npm audit suggests downgrading repomix to 0.2.4, which is wrong; do not do that.

Fix without any audit exception, and without weakening the audit gates or their fail-closed behaviour: move every runtime and desktop-packaged path to minimatch >=11.0.1. Prefer a repomix or glob release that already depends on minimatch 11 if one exists; otherwise use a scoped npm override (like the existing braces handling in package.json overrides and docs/dependency-audit-exceptions.md) for the runtime paths only. Then verify minimatch 11 behaviour where it matters: real Repomix context packing (include/exclude, ignore patterns, nested paths, dotfiles) and any direct minimatch or glob usage in packages/core and packages/api, plus the desktop packaging (@electron/asar) path if it is in the packaged audit. Deal with dev-only minimatch 3.x only as far as the audits that gate releases require, and say what remains for dev tooling.

Acceptance: a locked clean install, then npm run audit:runtime and npm run desktop:audit:packaging both pass at the current date; npm ls minimatch --all shows no runtime or packaged minimatch < 11.0.1; affected workspace builds and typechecks, relevant tests (context generation, repomix, globbing, the audit wrapper policy tests) and npm run lint --workspaces --if-present -- --max-warnings 0 pass. Update docs/dependency-audit-exceptions.md with a short remediation note and add an [Unreleased] CHANGELOG security bullet. One focused PR ready for review. Do not auto-merge, tag, publish or deploy.


Submitted by @integry through ProPR.

Activity

  1. propr-dev commented on Oct 31, 2026

    @propr-dev
    ContributorAuthor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3403/claude-opus-5-5-fix-the-new-blocking-depe-20261031-1553-bqm
    • Base Branch: main
    • Worktree: issue-3403-20261031-1553-claude-opus-5-5-bqm

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions