Repository navigation
Open
Fix weekly dependency audit: override vulnerable transitive deps, ignore unpatched braces advisory#12
Conversation
Co-authored-by: spearwolf <12805+spearwolf@users.noreply.github.com>
Co-authored-by: spearwolf <12805+spearwolf@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'Report high-severity advisories'
Fix weekly dependency audit: override vulnerable transitive deps, ignore unpatched braces advisory
Oct 12, 2026
spearwolf
marked this pull request as ready for review
October 12, 2026 09:46
spearwolf
approved these changes
Oct 12, 2026
There was a problem hiding this comment.
🟢 Approval recommended
The overrides resolve the patched advisories, while the narrowly scoped exception is justified and clearly documented.
0 open findings
What changed in this PR
Updates dependency-audit configuration to resolve patched advisories and temporarily suppress an unpatched, dev-only advisory.
Changes:
- Overrides vulnerable transitive dependencies with patched versions.
- Ignores the unpatched
bracesadvisory with documented scope and removal criteria. - Regenerates the lockfile and records the maintenance change.
| File | Description |
|---|---|
pnpm-workspace.yaml |
Adds secure overrides and the documented advisory exception. |
pnpm-lock.yaml |
Resolves overridden dependencies to patched releases. |
CHANGELOG.md |
Records the audit remediation and temporary exception. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The weekly "Report high-severity advisories" job (
pnpm audit --audit-level=high) failed on four high-severity advisories in the dev dependency tree. Three have patched releases. The fourth,braces, does not.Overrides (
pnpm-workspace.yaml, lockfile regenerated)brace-expansion: ^5.0.11clears two advisories, reached viarimraf→glob→minimatch.source-map-js: ^1.2.2clears one advisory, reached via vitest and vite.Ignored advisory
braces(GHSA-vfj7-8cjw-p6xm,<=3.0.3, patched in>=3.0.4) is reached only vialeasot→globby→fast-glob→micromatch. The registry's newest release is 3.0.3, so there is nothing to upgrade to.auditConfig.ignoreGhsas, with a comment saying why.leasotonly runs inpnpm make:todo, on the repo's own source paths.braces≥ 3.0.4 is published.Changelog
CHANGELOG.mdentry added.Two moderate advisories are still reported. They don't fail the job, because
--audit-level=highgates the exit code.