Skip to content

release(runway): cherry-pick chore: audit brace-expansion cp-13.25.0#41294

Merged
chloeYue merged 2 commits into
release/13.25.0from
runway-cherry-pick-13.25.0-1774600269
Mar 27, 2026
Merged

release(runway): cherry-pick chore: audit brace-expansion cp-13.25.0#41294
chloeYue merged 2 commits into
release/13.25.0from
runway-cherry-pick-13.25.0-1774600269

Conversation

@runway-github

@runway-github runway-github Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Description

Upgrades brace-expansion from 5.0.3 to 5.0.5 in the lockfile to
resolve a moderate-severity ReDoS advisory [GHSA-f886-m6hf-6m8v]. Also
picks up incidental patch bumps to brace-expansion v1 and v2.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the
    app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described
    in the ticket it closes and includes the necessary testing evidence such
    as recordings and or screenshots.

Note

Low Risk
Lockfile-only dependency bumps; main risk is unexpected tooling/build
behavior changes from the updated transitive package versions.

Overview
Updates yarn.lock to bump brace-expansion across supported ranges
(^1.1.7, ^2.0.1, ^5.0.2) to newer patch versions (notably 5.0.3
5.0.5), refreshing the associated resolved tarballs and checksums to
pick up the security advisory fix.

Written by Cursor
Bugbot
for commit
08903ce. This will update automatically
on new commits. Configure
here.

[46a98a4](https://github.com/MetaMask/metamask-extension/commit/46a98a4837258b34e9d25c5c3629cbeae8095b8a)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**
Upgrades `brace-expansion` from `5.0.3` to `5.0.5` in the lockfile to
resolve a moderate-severity ReDoS advisory [GHSA-f886-m6hf-6m8v]. Also
picks up incidental patch bumps to `brace-expansion` v1 and v2.

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/41284?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Lockfile-only dependency bumps; main risk is unexpected tooling/build
behavior changes from the updated transitive package versions.
> 
> **Overview**
> Updates `yarn.lock` to bump `brace-expansion` across supported ranges
(`^1.1.7`, `^2.0.1`, `^5.0.2`) to newer patch versions (notably `5.0.3`
→ `5.0.5`), refreshing the associated resolved tarballs and checksums to
pick up the security advisory fix.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
08903ce. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@github-actions

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-bots Bot team (for MetaMask Bot, Runway Bot, etc.) label Mar 27, 2026
chloeYue
chloeYue previously approved these changes Mar 27, 2026

@chloeYue chloeYue left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud

Copy link
Copy Markdown

@metamaskbotv2

metamaskbotv2 Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor
Builds ready [5d26246]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account422267746184504746
total422267746184504746
Confirm Txconfirm_tx609560906102561026102
total609560906102561026102
Bridge User Actionsbridge_load_page26619534460329344
bridge_load_asset_picker24623026211247262
bridge_search_token7667617704770770
total1243121012702512651270
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Chrome Browserify Startup Standard HomeuiStartup14421167173811114931636
load1194959144910012301384
domContentLoaded118595514419812211354
domInteractive3116133232888
firstPaint2846514333152481230
backgroundConnect2041902429210220
firstReactRender20124552130
initialActions104113
loadScripts99677312609510321156
setupStore1373861723
numNetworkReqs393193173184
Chrome Browserify Startup Power User HomeuiStartup4385193410880161253026783
load12661103189114412791556
domContentLoaded12461097184413712621537
domInteractive38202313631123
firstPaint246781489212269420
backgroundConnect17173108009146326104186
firstReactRender28184973143
initialActions106113
loadScripts1035896160512510561292
setupStore1665691733
numNetworkReqs1328526742135237
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192172212220221
srpButtonToSrpForm93939419394
confirmSrpToPwForm22212202222
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16141711617
doneButtonToHomeScreen54453655910559559
openAccountMenuToAccountListLoaded3014291631098431013109
total3900382140259440054025
Onboarding New WalletcreateWalletToSocialScreen2192192201220220
srpButtonToPwForm1161151171117117
createPwToRecoveryScreen888088
skipBackupToMetricsScreen37353823838
agreeButtonToOnboardingSuccess15141611616
doneButtonToAssetList5084995177511517
total9018929096903909
Asset DetailsassetClickToPriceChart78531011990101
total78531011990101
Solana Asset DetailsassetClickToPriceChart644388188288
total644388188288
Import Srp HomeloginToHomeScreen2285221423375223312337
openAccountMenuAfterLogin65626726767
homeAfterImportWithNewWallet1110258231897322842318
total36162656462885545604628
Send TransactionsopenSendPageFromHome34274673846
selectTokenToSendFormLoaded32283733337
reviewTransactionToConfirmationPage88085489419894894
total94791897022970970
SwapopenSwapPageFromHome1246120047141200
fetchAndDisplaySwapQuotes269326912696226942696
total2817275728944628332894
🌐 Dapp Page Load Benchmarks

Current Commit: 5d26246 | Date: 3/27/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±37ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 85ms (±9ms) 🟢 | historical mean value: 84ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.00s 1.33s 1.06s 1.33s
domContentLoaded 722ms 37ms 699ms 1.02s 744ms 1.02s
firstPaint 85ms 9ms 68ms 152ms 92ms 152ms
firstContentfulPaint 85ms 9ms 68ms 152ms 92ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 20 Bytes (0%)

@chloeYue

Copy link
Copy Markdown
Contributor

Force merge this one as node-forge audit issue will be fixed by another PR

@chloeYue chloeYue merged commit 5497c97 into release/13.25.0 Mar 27, 2026
192 of 197 checks passed
@chloeYue chloeYue deleted the runway-cherry-pick-13.25.0-1774600269 branch March 27, 2026 09:35
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

team-bots Bot team (for MetaMask Bot, Runway Bot, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants