Skip to content

Comments

Patch MetaMask extension to v12.9.0 for GHSA-9cwf-fhxr-4f53#67

Merged
Yaketh (Kushmanmb) merged 5 commits intomasterfrom
copilot/update-key-tree-derivation
Feb 20, 2026
Merged

Patch MetaMask extension to v12.9.0 for GHSA-9cwf-fhxr-4f53#67
Yaketh (Kushmanmb) merged 5 commits intomasterfrom
copilot/update-key-tree-derivation

Conversation

Copy link

Copilot AI commented Feb 20, 2026

MetaMask extension v12.8.1 contains a vulnerable version of @metamask/key-tree (GHSA-9cwf-fhxr-4f53) affecting key derivation. Updated to v12.9.0 which includes the patched library.

Changes

  • Yarn patch for @coinbase/onchaintestkit: Package hardcodes MetaMask v12.8.1. Patch updates constants and CLI script to v12.9.0

    • dist/src/wallets/MetaMask/utils/constants.js
    • dist/src/wallets/MetaMask/utils/constants.d.ts
    • src/cli/prepare-metamask.mjs
  • Resolution pinning: Added @coinbase/onchaintestkit to resolutions with exact version to ensure patch stability across installs

  • Gitignore: Excluded apps/web/e2e/.cache/ to prevent committing downloaded extension artifacts

Technical Notes

The vulnerability exists in the bundled extension, not our direct dependencies. Yarn patches are applied at install time and persist across the team via .yarn/patches/.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/MetaMask/metamask-extension/releases
    • Triggering command: /usr/bin/curl curl -s REDACTED su cjs/�� -p -c cal/bin/bash (http block)
  • www.npmjs.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits February 20, 2026 07:44
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
…ion vulnerability (GHSA-9cwf-fhxr-4f53)

Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
…ch stability

Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Copilot AI changed the title [WIP] Update key tree derivation process for efficiency Patch MetaMask extension to v12.9.0 for GHSA-9cwf-fhxr-4f53 Feb 20, 2026
Copy link
Member

@Kushmanmb Yaketh (Kushmanmb) left a comment

Choose a reason for hiding this comment

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

Kushmanmb

@Kushmanmb Yaketh (Kushmanmb) marked this pull request as ready for review February 20, 2026 08:28
@Kushmanmb Yaketh (Kushmanmb) merged commit 14b6072 into master Feb 20, 2026
10 of 13 checks passed
@Kushmanmb Yaketh (Kushmanmb) deleted the copilot/update-key-tree-derivation branch February 20, 2026 09:21
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.

2 participants