Skip to content

fix(ci): scope npm audit gate to production dependencies - #137

Merged
indigo423 merged 1 commit into
mainfrom
fix/scope-audit-gate-prod-deps
Jul 28, 2026
Merged

fix(ci): scope npm audit gate to production dependencies#137
indigo423 merged 1 commit into
mainfrom
fix/scope-audit-gate-prod-deps

Conversation

@indigo423

Copy link
Copy Markdown
Collaborator

Closes #136

GHSA-mh99-v99m-4gvg (brace-expansion <=5.0.7, high, DoS) blocks the npm audit --audit-level=high step in make verify on all open Dependabot PRs (#132#135) and would block the next push to main.

The advisory is unfixable in the dev tree today: the only patched version (5.0.8) breaks minimatch@3 (TypeError: expand is not a function — verified locally), and eslint 9 plus eslint-config-next's plugin chain (all published versions) require minimatch@3 → brace-expansion ^1, which has no backport.

Production dependencies are unaffected: npm audit --omit=dev --audit-level=high → 0 vulnerabilities.

This scopes the audit target and the verify audit step to --omit=dev, with a Makefile comment referencing the advisory. Revert once upstream ships releases off minimatch@3.

Verification: make verify passes locally (lint + typecheck + tests + scoped audit + build, exit 0).

🤖 Generated with Claude Code

GHSA-mh99-v99m-4gvg (brace-expansion <=5.0.7, high, DoS) is pulled in
via minimatch@3 by eslint 9 and eslint-config-next's plugin chain. The
only patched version (5.0.8) breaks minimatch@3 consumers and no 1.x
backport exists, so the dev tree cannot be cleaned until upstream moves
off minimatch@3. Production dependencies audit clean (0 findings).

Scope the audit gate to --omit=dev so dev-only advisories stop blocking
every PR; revert once upstream ships patched releases.

Closes #136

Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: Ronny Trommer <ronny@no42.org>
@indigo423
indigo423 merged commit b68a2a3 into main Jul 28, 2026
4 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.

CI verify gate blocked by unfixable dev-only advisory GHSA-mh99-v99m-4gvg (brace-expansion)

1 participant