You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build(audit): scope a GUI build-tool exception for GHSA-fc5q-39xc-vjpf - #8895
The 2.100.5 Release (run 44246804472, source c320932c19) failed in package-npm because prepublishOnly → audit:high reports GHSA-fc5q-39xc-vjpf (picomatch <= 4.0.7, ReDoS, high) in gui/. Nothing was published; npm latest and the latest GitHub release remain 2.100.4.
No patched picomatch exists (npm latest is 4.0.7; the advisory lists no first patched version), so an override cannot fix it.
picomatch reaches the GUI only through vite's build tooling (vite > tinyglobby > fdir/picomatch, all GUI devDependencies). bun audit --audit-level=high --production in gui/ is clean, so neither gui/dist nor the published package ships it.
This PR ignores exactly that GHSA in the GUI audit only. The root audit and every other advisory stay gated. tests/ci-workflows/audit-exceptions.test.ts pins the exception's scope; remove both once a patched picomatch is published.
The project owner chose this exception over waiting for an upstream fix. It changes a dependency-audit gate, so it needs explicit security review under MAINTAINERS.md.
Verification
bun run audit:high: "No vulnerabilities found (checked 127 packages, 1 ignored)" for gui; root clean.
cd gui && bun audit --audit-level=high --production: no vulnerabilities (19 packages).
bun scripts/test.ts on audit-exceptions, ci-workflows, ci-gui-typecheck-gate, structure-ssot and both test-layout guards: 236 passed, 0 failed.
bun run typecheck, bun run structure:check and bun run privacy:scan pass.
Checklist
Scope stays focused and avoids unrelated cleanup.
Docs or release notes were updated when needed.
Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults. This is a dependency-audit exception and requires explicit security review before merge.
Summary by CodeRabbit
Chores
The high-severity audit now excludes one advisory from the GUI-specific audit; the root audit remains unchanged.
The high-severity audit remains part of the pre-publish checks.
Tests
Added coverage to verify the audit commands and pre-publish check use the expected configuration.
The prepublish audit blocks the 2.100.5 release on picomatch <= 4.0.7 (ReDoS),
which has no patched release. picomatch reaches the GUI only through vite's build
tooling; `bun audit --production` in gui/ is clean, so neither gui/dist nor the
published package ships it. Ignore exactly that advisory in the GUI audit only,
keep the root audit unchanged, and guard the exception's scope with a test.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
No actionable comments were generated in the recent review.
Walkthrough
The GUI high-severity audit now ignores advisory GHSA-fc5q-39xc-vjpf; the root audit remains unchanged. A test checks both audit commands and the prepublishOnly reference. The test is assigned to the ci-workflows shard.
Changes: GUI audit exception
Layer / File(s)
Summary
Audit exception and regression test package.json, tests/ci-workflows/audit-exceptions.test.ts, scripts/test-layout/layout.json, tests/fixtures/test-layout-expected.json
The GUI audit command ignores advisory GHSA-fc5q-39xc-vjpf. The test checks the root audit command, the GUI audit’s single advisory ignore, and the prepublishOnly reference. Both test-layout mappings assign the test to ci-workflows.
This change scopes a single build-tool advisory exception to the GUI audit so releases can proceed. Other advisories and the root audit stay gated. A test pins the exception's scope. No merge-blocking risk is evident, but the PR description says the exception needs explicit security review under MAINTAINERS.md.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: a GUI-scoped audit exception for GHSA-fc5q-39xc-vjpf. The raw summary shows the audit:high script now ignores that advisory only for the GUI Bun audit, and the root au…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: a GUI-scoped audit exception for GHSA-fc5q-39xc-vjpf. The raw summary shows the audit:high script now ignores that advisory only for the GUI Bun audit, and the root audit is unchanged. The title is specific, concise, and free of file lists or vague terms, so it matches the changeset.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between c320932 and cb0f9fd.
Files selected for processing: 4
package.json
scripts/test-layout/layout.json
tests/ci-workflows/audit-exceptions.test.ts
tests/fixtures/test-layout-expected.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Maintainer integration into dev (MAINTAINERS.md): exact head cb0f9fdd7bf1f25da58b40b3df1061ba18ab3a34 on base c320932c19. All 37 PR CI checks passed on this head. Explicit security review (dependency-audit gate change) by an independent Terra (gpt-6.1-terra) reviewer at this exact head: no blocking findings, approve — exception limited to GHSA-fc5q-39xc-vjpf in the GUI audit, root audit unchanged, guard test fails when the scope widens, GUI production audit clean, npm pack dry-run contains no picomatch. Project owner chose this exception over waiting for an upstream patch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
choreMaintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature).
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
c320932c19) failed inpackage-npmbecauseprepublishOnly→audit:highreports GHSA-fc5q-39xc-vjpf (picomatch <= 4.0.7, ReDoS, high) ingui/. Nothing was published; npmlatestand the latest GitHub release remain 2.100.4.latestis 4.0.7; the advisory lists no first patched version), so an override cannot fix it.vite > tinyglobby > fdir/picomatch, all GUI devDependencies).bun audit --audit-level=high --productioningui/is clean, so neithergui/distnor the published package ships it.tests/ci-workflows/audit-exceptions.test.tspins the exception's scope; remove both once a patched picomatch is published.Verification
bun run audit:high: "No vulnerabilities found (checked 127 packages, 1 ignored)" for gui; root clean.cd gui && bun audit --audit-level=high --production: no vulnerabilities (19 packages).bun scripts/test.tson audit-exceptions, ci-workflows, ci-gui-typecheck-gate, structure-ssot and both test-layout guards: 236 passed, 0 failed.bun run typecheck,bun run structure:checkandbun run privacy:scanpass.Checklist
Summary by CodeRabbit