Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(keyring-controller): ethereumjs-wallet@^1.0.1 -> @ethereumjs/wallet@^2.0.4 #4190

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Apr 18, 2024

Explanation

Removes dependency on legacy and deprecated ethereumjs-wallet.

References

Related

Blocked by

Changelog

@metamask/keyring-controller

  • CHANGED: Update from ethereumjs-wallet@^1.0.1 to @ethereumjs/wallet@^2.0.4

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

Copy link

socket-security bot commented Apr 18, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@ethereumjs/[email protected] Transitive: network +3 1.11 MB holgerd77

View full report↗︎

Copy link

socket-security bot commented Apr 18, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Network access npm/@ethereumjs/[email protected] 🚫

View full report↗︎

Next steps

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@legobeat legobeat added dependencies Pull requests that update a dependency file team-security labels Apr 18, 2024
@legobeat legobeat force-pushed the deps-ethereumjs-wallet-2 branch from 4d962ac to 346de6a Compare April 18, 2024 23:37
@legobeat
Copy link
Contributor Author

@SocketSecurity ignore npm/@ethereumjs/[email protected]

network access ok

@legobeat legobeat force-pushed the deps-ethereumjs-wallet-2 branch 2 times, most recently from 3736bba to 39a92d8 Compare April 25, 2024 18:51
@legobeat legobeat force-pushed the deps-ethereumjs-wallet-2 branch 3 times, most recently from 2599375 to 0d8cd21 Compare June 10, 2024 17:23
@legobeat legobeat force-pushed the deps-ethereumjs-wallet-2 branch from 0d8cd21 to 4c668bf Compare December 23, 2024 23:38
@legobeat legobeat changed the title deps(keyring-controller): ethereumjs-wallet@^1.0.1 -> @ethereumjs/wallet@^2.0.3 deps(keyring-controller): ethereumjs-wallet@^1.0.1 -> @ethereumjs/wallet@^2.0.4 Dec 23, 2024
@legobeat legobeat marked this pull request as ready for review December 23, 2024 23:41
@legobeat legobeat requested review from a team as code owners December 23, 2024 23:41
…let@^2.0.4

- fix: wallet privatekey import fix

- fix: catch and throw error previously handled by ethereumjs-wallet
@legobeat
Copy link
Contributor Author

@MetaMask/accounts-engineers @MetaMask/wallet-framework-engineers: I believe DO-NOT-MERGE label can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file DO-NOT-MERGE team-security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant