Skip to content

Conversation

@runway-github
Copy link
Contributor

@runway-github runway-github bot commented Jun 24, 2025

Description

Using a resolutions to upgrade pbkdf2 package vulnerable versions
for those 2 audit issues:

Screenshot 2025-06-24 at 11 17 46
Screenshot 2025-06-24 at 11 17 49

The patched version is 3.1.3.

Open in GitHub Codespaces

Related issues

N/A

Manual testing steps

N/A

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.

Co-authored-by: MetaMask Bot [email protected] 4e39fcb

Using a `resolutions` to upgrade `pbkdf2` package vulnerable versions
for those 2 audit issues:
- GHSA-v62p-rq8g-8h59
- GHSA-h7cp-r72f-jxh6

![Screenshot 2025-06-24 at 11 17
46](https://github.com/user-attachments/assets/54d671c9-7142-4bdc-a0a6-52f034acd400)
![Screenshot 2025-06-24 at 11 17
49](https://github.com/user-attachments/assets/bcea5195-88a7-4a5b-b635-8895315709d7)

The patched version is `3.1.3`.

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

N/A

N/A

- [x] 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).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] 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.

- [ ] 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.

---------

Co-authored-by: MetaMask Bot <[email protected]>
@runway-github runway-github bot requested review from a team as code owners June 24, 2025 15:37
@github-actions
Copy link
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-runway-bot-deprecated DEPRECATED: please use "team-bots" instead label Jun 24, 2025
@socket-security
Copy link

socket-security bot commented Jun 24, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedtyped-array-buffer@​1.0.2 ⏵ 1.0.36610077 -151100
Updatedis-typed-array@​1.1.13 ⏵ 1.1.15671008954100
Addedto-buffer@​1.2.1901007989100
Updatedpbkdf2@​3.1.2 ⏵ 3.1.391 -8100 +7583 +789100

View full report

@socket-security
Copy link

socket-security bot commented Jun 24, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

View full report

@metamaskbot
Copy link
Collaborator

metamaskbot commented Jun 24, 2025

✨ Files requiring CODEOWNER review ✨

🧩 @MetaMask/extension-devs

  • lavamoat/browserify/beta/policy.json
  • lavamoat/browserify/flask/policy.json
  • lavamoat/browserify/main/policy.json
  • lavamoat/browserify/mmi/policy.json

📜 @MetaMask/policy-reviewers

Tip

Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers.

  • lavamoat/browserify/beta/policy.json
  • lavamoat/browserify/flask/policy.json
  • lavamoat/browserify/main/policy.json
  • lavamoat/browserify/mmi/policy.json

🔗 @MetaMask/supply-chain

  • lavamoat/browserify/beta/policy.json
  • lavamoat/browserify/flask/policy.json
  • lavamoat/browserify/main/policy.json
  • lavamoat/browserify/mmi/policy.json

@Gudahtt
Copy link
Member

Gudahtt commented Jun 24, 2025

@SocketSecurity ignore npm/[email protected]

New author OK, we know who that is.

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@metamaskbot
Copy link
Collaborator

❌ test-e2e-chrome-api-specs failed. View the html report here.

@metamaskbot
Copy link
Collaborator

Builds ready [ded636a]
UI Startup Metrics (1238 ± 68 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1238110714046812871372
load105994212226511101179
domContentLoaded105293512166411021168
domInteractive17143941730
firstPaint67487122142210661136
backgroundConnect84324913
firstReactRender21174762137
getState1573672028
initialActions001001
loadScripts84273099962889956
setupStore85223815
WebpackHomeuiStartup21351721272319322702446
load16641238214115717661896
domContentLoaded16581229213515617581892
domInteractive171165131458
firstPaint1526644258178256
backgroundConnect299432472642
firstReactRender1304337398135334
getState144159211333
initialActions215134
loadScripts16551227213315517551885
setupStore2963196218257
FirefoxBrowserifyHomeuiStartup13481156190013614141625
load11931031156911412591459
domContentLoaded11921031156911412591458
domInteractive973722433101172
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2212248242030
firstReactRender23203432330
getState9421220810
initialActions001001
loadScripts11731017155410812411438
setupStore74687615
WebpackHomeuiStartup16341391241819417301996
load14141196208518015131792
domContentLoaded14131196208418015121791
domInteractive95365835796157
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect22156582339
firstReactRender44355944652
getState95446919
initialActions002111
loadScripts13941179206318014941774
setupStore10524524811
Benchmark value 1238 exceeds gate value 1234 for chrome browserify home mean uiStartup
Benchmark value 16 exceeds gate value 15 for chrome browserify home mean getState
Benchmark value 842 exceeds gate value 830 for chrome browserify home mean loadScripts
Benchmark value 1372 exceeds gate value 1365 for chrome browserify home p95 uiStartup
Benchmark value 956 exceeds gate value 940 for chrome browserify home p95 loadScripts
Benchmark value 59 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 257 exceeds gate value 65 for chrome webpack home p95 setupStore
Benchmark value 1634 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 1414 exceeds gate value 1380 for firefox webpack home mean load
Benchmark value 1414 exceeds gate value 1380 for firefox webpack home mean domContentLoaded
Benchmark value 44 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 1395 exceeds gate value 1360 for firefox webpack home mean loadScripts
Benchmark value 1996 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 1792 exceeds gate value 1660 for firefox webpack home p95 load
Benchmark value 1791 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded
Benchmark value 157 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 52 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 1774 exceeds gate value 1630 for firefox webpack home p95 loadScripts
Sum of mean exceeds: 145ms | Sum of p95 exceeds: 688ms
Sum of all benchmark exceeds: 833ms

@HowardBraham HowardBraham merged commit 94c6dcc into Version-v12.20.1 Jun 24, 2025
272 of 276 checks passed
@HowardBraham HowardBraham deleted the cherry-pick-12-20-1-4e39fcb branch June 24, 2025 16:21
@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

team-runway-bot-deprecated DEPRECATED: please use "team-bots" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants