Skip to content

fix(deps): ignore unpatched braces advisory GHSA-vfj7-8cjw-p6xm in pnpm audit - #14

Merged
KM-it-ops merged 1 commit into
mainfrom
fix/audit-ignore-braces-ghsa
Oct 10, 2026
Merged

KM-it-ops merged 1 commit into
mainfrom
fix/audit-ignore-braces-ghsa

Conversation

@KM-it-ops

Copy link
Copy Markdown
Owner

Why

The audit CI job fails on main and every PR because of GHSA-vfj7-8cjw-p6xm, published 2026-09-18. It's a high-severity bug in braces <=3.0.3: a deeply nested pattern can crash the process with a stack-exhaustion DoS.

  • No patched release exists. 3.0.3 is the newest version, and the upstream fixes (fix: prevent stack exhaustion from deeply nested brace patterns micromatch/braces#87 and others) haven't been merged.
  • Upgrading doesn't clear it. The newest micromatch, fast-glob and eslint-plugin-boundaries all still require braces.
  • Exposure is dev tooling only (lint-staged, eslint-config-next, eslint-plugin-boundaries). The glob patterns those tools read come from our repo config, not from untrusted input.

Change

Adds pnpm.auditConfig.ignoreGhsas: ["GHSA-vfj7-8cjw-p6xm"]. Only this one advisory is skipped, so every other high or critical finding still fails CI. The lockfile is unchanged.

Proof (local, pnpm 9.15.0)

with exception:     Severity: 11 moderate | 1 high (1 ignored)   exit=0
without exception:  Severity: 11 moderate | 1 high               exit=1

Unblocks PR #13 after a rebase. A tracking issue covers removing the exception once braces ships a fix.

🤖 Generated with Claude Code

…pm audit

braces <=3.0.3 has a high-severity stack-exhaustion DoS advisory with no
patched release (3.0.3 is latest; upstream fixes micromatch/braces#87 are
unmerged). It reaches us only through dev tooling (lint-staged, eslint via
micromatch/fast-glob), whose glob patterns come from repo config, not
untrusted input. Newest micromatch, fast-glob and eslint-plugin-boundaries
still require braces, so no upgrade clears it.

Ignore this one GHSA only; all other high/critical findings still fail CI.
Remove once braces publishes a fix.
@vercel

vercel Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sniffoutpro-web Ready Ready Preview Oct 10, 2026 10:44pm UTC

@KM-it-ops
KM-it-ops merged commit 1889d51 into main Oct 10, 2026
10 checks passed
@KM-it-ops
KM-it-ops deleted the fix/audit-ignore-braces-ghsa branch October 10, 2026 23:23

This branch was successfully deployed

1 active deployment
Preview — dc892bc5 Deployed Oct 10, 2026 by vercel[bot]
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