Skip to content

Allow the picomatch ReDoS advisory in the audit gate until 2026-12-17 - #225

Merged
rouges78 merged 2 commits into
mainfrom
chore/audit-picomatch-exception
Nov 17, 2026
Merged

rouges78 merged 2 commits into
mainfrom
chore/audit-picomatch-exception

Conversation

@rouges78

Copy link
Copy Markdown
Owner

What

Adds a dated, motivated exception for GHSA-fc5q-39xc-vjpf (picomatch, CVE-2026-112366, high) to scripts/audit-gate.js. It expires on 2026-12-17.

Why

The npm audit + SBOM check is red on main and on every PR rebased onto it, which blocks all merges.

  • The advisory covers picomatch <= 4.0.7, and 4.0.7 is the latest version on the registry: there is no patched release. npm audit only offers downgrading vitest to 3.1.4.
  • The issue is a ReDoS on globs like +(*): availability only.
  • picomatch reaches this project only through dev tooling: vite and vitest (4.0.4, also via tinyglobby and fdir) and tailwindcss (2.3.2, via chokidar, anymatch, readdirp, micromatch). The gate reports it as dev-only.
  • Those tools compile globs written in our own configs, not input from the network, a game or a translated file. No app source imports picomatch or micromatch (grep over app/ components/ lib/ hooks/ scripts/ src-tauri/src, 2026-11-17).

Verification

node scripts/audit-gate.js --level=high locally: failed before with 1 blocking advisory, passes now with 1 active exception.

Follow-up

Remove the entry as soon as a fixed picomatch ships (4.0.8 or a 2.3.x backport) and npm audit fix clears it. The gate itself flags the exception as stale when the advisory disappears, and turns red again after the expiry date.

🤖 Generated with Claude Code

rouges78 and others added 2 commits November 17, 2026 21:15
GHSA-fc5q-39xc-vjpf (CVE-2026-112366) covers every picomatch release up
to 4.0.7, the latest on the registry, so there is nothing to update to
and the npm audit gate is red on main and on every rebased PR.

picomatch reaches us only through dev tooling (vite, vitest, tailwindcss)
and compiles globs written in our own configs, never third-party input.
The exception is dated and carries its reasoning, as the gate requires.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@rouges78
rouges78 merged commit 2488488 into main Nov 17, 2026
7 checks passed
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.

1 participant