fix(build): patch @isaacs/brace-expansion critical vulnerability #404
+3
−3
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.
Description
Patched critical npm security vulnerability in
@isaacs/brace-expansion(GHSA-7h2j-956f-4vf2) that was blocking CI pipelines. Upgraded transitive dependency from 5.0.0 to 5.0.1, resolving the Uncontrolled Resource Consumption (CWE-400) issue and unblocking security audit checks.Related Issue(s)
Fixes #403
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
N/A - This is a dependency security fix, not an AI artifact contribution.
Testing
npm audit --audit-level=moderateto confirm 0 vulnerabilities after the fixnpm ls @isaacs/brace-expansionto verify version upgraded to 5.0.1[email protected]→[email protected]→[email protected]→@isaacs/[email protected]Checklist
Required Checks
AI Artifact Contributions
N/A - Not an AI artifact contribution.
Required Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run lint:md-linksnpm run lint:psSecurity Considerations
Additional Notes
This fix addresses the critical vulnerability GHSA-7h2j-956f-4vf2 that was causing CI pipeline failures due to
npm audit --audit-level=moderatesecurity checks. The vulnerability (CWE-400: Uncontrolled Resource Consumption) existed in@isaacs/[email protected]and was resolved by upgrading to 5.0.1 vianpm audit fix.🔒 - Generated by Copilot