Skip to content

Resolve brace-expansion DoS vulnerability - #792

Merged
github-actions[bot] merged 2 commits into
masterfrom
fix/brace-expansion-dos-vulnerability-11245713315696630418
Jul 30, 2026
Merged

Resolve brace-expansion DoS vulnerability#792
github-actions[bot] merged 2 commits into
masterfrom
fix/brace-expansion-dos-vulnerability-11245713315696630418

Conversation

@Jadhielv

@Jadhielv Jadhielv commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Resolves the Dependabot vulnerability alert for brace-expansion (DoS via exponential-time expansion of consecutive non-expanding {} groups #175 / CVE-2026-13149) by upgrading to the secure brace-expansion versions 1.1.18 and 2.1.4 in kctest-frontend/package.json overrides.


PR created automatically by Jules for task 11245713315696630418 started by @Jadhielv

Summary by CodeRabbit

  • Chores
    • Updated internal configuration to improve consistency across supported environments.
    • No changes to the application’s user-facing features, functionality, or workflows.

Upgraded transitive dependency brace-expansion to secure versions in kctest-frontend/ package.json overrides:
- Set global brace-expansion and nested minimatch overrides to ^1.1.18 to fix the vulnerability for 1.x consumers.
- Set brace-expansion to ^2.1.4 for editorconfig and js-beautify (which use minimatch@9.x) to satisfy requirements and resolve vulnerabilities in 2.x consumers.

Co-authored-by: Jadhielv <24376900+Jadhielv@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2a77aee1-2962-45da-95b1-bd2c4250cfec

📥 Commits

Reviewing files that changed from the base of the PR and between 4c59c0b and 3393572.

⛔ Files ignored due to path filters (1)
  • kctest-frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • kctest-frontend/package.json

📝 Walkthrough

Walkthrough

The frontend package overrides now pin brace-expansion globally and within minimatch, editorconfig, and js-beautify dependency paths.

Changes

Dependency override updates

Layer / File(s) Summary
Brace expansion resolution overrides
kctest-frontend/package.json
Global and nested brace-expansion overrides are added for minimatch, editorconfig, and js-beautify.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: github-actions

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description states the fix, but it omits the required template sections and type checkbox selection. Add the template headings, check the appropriate Type box, and place the summary under 'Describe the changes here'.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: pinning brace-expansion to address the DoS vulnerability.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/brace-expansion-dos-vulnerability-11245713315696630418

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Upgraded transitive dependency brace-expansion to secure versions in kctest-frontend/ package.json overrides:
- Set global brace-expansion and nested minimatch overrides to ^1.1.18 to fix the vulnerability for 1.x consumers.
- Set brace-expansion to ^2.1.4 for editorconfig and js-beautify (which use minimatch@9.x) to satisfy requirements and resolve vulnerabilities in 2.x consumers.

Co-authored-by: Jadhielv <24376900+Jadhielv@users.noreply.github.com>
@github-actions
github-actions Bot merged commit 423c5c1 into master Jul 30, 2026
6 of 7 checks passed
@github-actions
github-actions Bot deleted the fix/brace-expansion-dos-vulnerability-11245713315696630418 branch July 30, 2026 16:20
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