Repository navigation
fix(deps): execute npm audit fix (brace-expansion) - #1920
Merged
Merged
Conversation
MikeMcC399
marked this pull request as ready for review
October 1, 2026 05:43
AtofStryker
approved these changes
Oct 1, 2026
|
🎉 This PR is included in version 7.4.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Situation
npm auditreports multiple vulnerabilities in the root of the repo for the transient dependencybrace-expansionChange
The vulnerabilities will not be fixed by Renovate or by attempting to update direct dependencies.
Execute
npm audit fixand rebuild action.Note
Low Risk
Dependency-only security hardening for glob/brace parsing; legitimate patterns should behave the same, with pathological input truncated instead of crashing or hanging.
Overview
Addresses high-severity
brace-expansionadvisories (stack exhaustion and quadratic CPU use on malicious patterns) by runningnpm audit fix, which bumpsbrace-expansionin the lockfile (e.g. 1.1.18 → 1.1.21, nested 5.0.9 → 5.0.12 under ESLint).The rebuilt
dist/index.jscarries the patched expansion logic: new capsEXPANSION_MAX_DEPTHandEXPANSION_MAX_REWRITES, optionalmaxDepth/maxRewritesonexpandTop, depth checks inexpand, a bounded{a},b}rewrite loop,parseCommaPartsrewritten iteratively (no recursive tail on chained brace groups), andpushAllinstead of spread/applypushes to avoid stack blowups.Reviewed by Cursor Bugbot for commit 67fbd8b. Bugbot is set up for automated code reviews on this repo. Configure here.