Skip to content

fix(deps): resolve @isaacs/brace-expansion DoS vulnerability (GHSA-7h2j-956f-4vf2) #COMW-127#30

Merged
lukaszjaskowski merged 1 commit into
masterfrom
fix/bump-brace-expansion-package
Feb 4, 2026
Merged

fix(deps): resolve @isaacs/brace-expansion DoS vulnerability (GHSA-7h2j-956f-4vf2) #COMW-127#30
lukaszjaskowski merged 1 commit into
masterfrom
fix/bump-brace-expansion-package

Conversation

@lukaszjaskowski
Copy link
Copy Markdown
Contributor

Motivation

Address GHSA-7h2j-956f-4vf2: @isaacs/brace-expansion <= 5.0.0 is vulnerable to DoS via unbounded brace range expansion. Malicious patterns can cause exponential CPU/memory use and crash the Node.js process. The vulnerable package is used transitively in the dev/build toolchain (jest, metro, fsevents, node-gyp).

Intended outcome

  • Mitigate the DoS vulnerability in the SDK repo's dev/build environment.
  • Ensure yarn install and native module builds use the patched @isaacs/brace-expansion@5.0.1.

Overview of changes

  • Added Yarn resolution "@isaacs/brace-expansion": "5.0.1" in package.json.
  • Updated yarn.lock so @isaacs/brace-expansion resolves to 5.0.1 instead of 5.0.0.

Quality assurance

Completed by Cursor:

  • yarn install — completed successfully
  • yarn test — passed
  • yarn typecheck — passed
  • yarn prepare (bob build) — passed (commonjs, module, typescript)
  • Metro bundler — started successfully

Risk: Low. Change is a patch-level upgrade within the existing semver range (^5.0.0). No SDK release required; the fix only affects the repo's dev/build toolchain.

@lukaszjaskowski lukaszjaskowski requested review from a team, macbem and quezak as code owners February 4, 2026 06:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

Messages
📖

Jira issue(s) related to this PR:

Generated by 🚫 dangerJS against 18efc49

@lukaszjaskowski lukaszjaskowski merged commit 425ea4c into master Feb 4, 2026
2 checks passed
@lukaszjaskowski lukaszjaskowski deleted the fix/bump-brace-expansion-package branch February 4, 2026 11:38
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.

3 participants