Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BABELRUNTIME-10044504 - https://snyk.io/vuln/SNYK-JS-BIGINTBUFFER-3364597 - https://snyk.io/vuln/SNYK-JS-CIPHERBASE-12084814 - https://snyk.io/vuln/SNYK-JS-LODASH-15053838 - https://snyk.io/vuln/SNYK-JS-NANOID-8492085 - https://snyk.io/vuln/SNYK-JS-SHAJS-12089400 - https://snyk.io/vuln/SNYK-JS-SOLANAWEB3JS-6647564 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577916 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577917 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577918 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8720086 - https://snyk.io/vuln/SNYK-JS-QS-14724253 - https://snyk.io/vuln/SNYK-JS-SECP256K1-8237220 - https://snyk.io/vuln/SNYK-JS-QS-15268416 - https://snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337 - https://snyk.io/vuln/SNYK-JS-WS-7266574 - https://snyk.io/vuln/SNYK-JS-TMP-11501554 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-14908844 - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8172694 - https://snyk.io/vuln/SNYK-JS-BASEX-10118294 - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073
|
| Status | Scanner | Total (0) | ||||
|---|---|---|---|---|---|---|
| Open Source Security | 0 | 0 | 0 | 0 | See details |
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
Summary of ChangesHello @Dargon789, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request, automatically generated by Snyk, aims to significantly enhance the project's security posture by resolving 23 identified vulnerabilities within its yarn dependencies. The changes involve upgrading several key packages to their secure versions, thereby mitigating various risks. It's important to note that a manual update of the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request from Snyk aims to fix 23 vulnerabilities by upgrading dependencies. However, it introduces several critical issues. Most importantly, it upgrades ethers from version 5 to 6, which is a major update with significant breaking changes. The codebase still uses ethers v5 APIs (e.g., ethers.providers.Web3Provider, ethers.utils) which will cause the application to break. These incompatibilities must be resolved before merging. Additionally, the PR description warns that yarn.lock has not been updated. This is a critical step to ensure consistent dependency resolution and must be done before merging. Lastly, the upgrade of patch-package to v8 likely requires the removal of the postinstall-postinstall dependency. Due to these issues, this PR is not safe to merge as is.
| "dayjs": "1.10.7", | ||
| "eth-rpc-errors": "4.0.3", | ||
| "ethers": "5.8.0", | ||
| "ethers": "6.0.0", |
There was a problem hiding this comment.
Upgrading ethers from v5 to v6 is a major version bump with significant breaking changes. The codebase contains multiple usages of ethers v5 APIs that are now deprecated or removed in v6, which will lead to runtime errors. For example, ethers.providers.Web3Provider is now ethers.BrowserProvider, and the ethers.utils namespace has been removed. The codebase must be refactored to be compatible with ethers v6 before this upgrade can be safely merged.
| "uuid": "9.0.0", | ||
| "viem": "2.23.15", | ||
| "web3-eth-abi": "1.7.0", | ||
| "web3-eth-abi": "4.1.3", |
There was a problem hiding this comment.
Upgrading web3-eth-abi from v1.7.0 to v4.1.3 is a major version jump that includes breaking changes. The usage of this library in src/background/controller/wallet.ts with ((abiCoder as unknown) as AbiCoder).encodeFunctionCall(...) is unconventional and likely to break with this new version. This needs to be verified and updated to use the v4 API correctly, which typically would be abiCoder.encodeFunctionCall(...) as the default export is now an instance.
| "p-queue": "7.3.0", | ||
| "p-retry": "5.1.2", | ||
| "patch-package": "6.4.7", | ||
| "patch-package": "8.0.1", |
Snyk has created this PR to fix 23 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-BABELRUNTIME-10044504
SNYK-JS-BIGINTBUFFER-3364597
SNYK-JS-CIPHERBASE-12084814
SNYK-JS-LODASH-15053838
SNYK-JS-NANOID-8492085
SNYK-JS-SHAJS-12089400
SNYK-JS-SOLANAWEB3JS-6647564
SNYK-JS-ELLIPTIC-8187303
SNYK-JS-ELLIPTIC-7577916
SNYK-JS-ELLIPTIC-7577917
SNYK-JS-ELLIPTIC-7577918
SNYK-JS-ELLIPTIC-8720086
SNYK-JS-QS-14724253
SNYK-JS-SECP256K1-8237220
SNYK-JS-QS-15268416
SNYK-JS-WEB3UTILS-6229337
SNYK-JS-WS-7266574
SNYK-JS-TMP-11501554
SNYK-JS-ELLIPTIC-14908844
SNYK-JS-INFLIGHT-6095116
SNYK-JS-ELLIPTIC-8172694
SNYK-JS-BASEX-10118294
SNYK-JS-BRACEEXPANSION-9789073
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Information Exposure
🦉 Prototype Pollution
🦉 More lessons are available in Snyk Learn