Skip to content

[Snyk] Fix for 4 vulnerabilities#207

Open
naiba4 wants to merge 1 commit intodevfrom
snyk-fix-1d005125b89860c0add02fb3e99cf77d
Open

[Snyk] Fix for 4 vulnerabilities#207
naiba4 wants to merge 1 commit intodevfrom
snyk-fix-1d005125b89860c0add02fb3e99cf77d

Conversation

@naiba4
Copy link
Owner

@naiba4 naiba4 commented Jan 20, 2026

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • package.json

Note 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 run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Improper Verification of Cryptographic Signature
SNYK-JS-ELLIPTIC-8187303
  229  
medium severity Improper Handling of Unicode Encoding
SNYK-JS-TAR-15038581
  210  
medium severity Use of a Cryptographic Primitive with a Risky Implementation
SNYK-JS-ELLIPTIC-14908844
  146  
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
  133  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

🦉 Uncontrolled Resource Consumption ('Resource Exhaustion')

@changeset-bot
Copy link

changeset-bot bot commented Jan 20, 2026

⚠️ No Changeset found

Latest commit: 43ec7e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security
Copy link

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedweb3-core@​1.6.0100100858270

View full report

@socket-security
Copy link

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Block Medium
Network access: npm web3-core-method in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ?npm/web3-core-method@1.6.0

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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@socket.dev.

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

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-core-method@1.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Dynamic code execution: npm web3-core-requestmanager

Eval Type: Function

Location: Package overview

From: ?npm/web3-core@1.6.0npm/web3-core-requestmanager@1.6.0

ℹ Read more on: This package | This alert | What is dynamic code execution?

Next steps: 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@socket.dev.

Suggestion: Avoid packages that use dynamic code execution like eval(), since this could potentially execute any code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-core-requestmanager@1.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm web3-core in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ?npm/web3-core@4.7.1

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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@socket.dev.

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

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-core@4.7.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm web3-providers-http in module http

Module: http

Location: Package overview

From: ?npm/web3-core@1.6.0npm/web3-providers-http@1.6.0

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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@socket.dev.

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

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-providers-http@1.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm web3-providers-http in module https

Module: https

Location: Package overview

From: ?npm/web3-core@1.6.0npm/web3-providers-http@1.6.0

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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@socket.dev.

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

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-providers-http@1.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm web3 in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ?npm/web3@4.0.1

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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@socket.dev.

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

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3@4.0.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Embedded URLs or IPs: npm react-scripts

URLs: https://cra.link/templates, README.md, README.old.md, https://reactjs.org/blog/2018/10/01/create-react-app-v2.html, http://goo.gl/forms/Bi6CZjk1EqsdelXk1, 0.0.0.0, https://cra.link/advanced-config, https://github.com/facebook/create-react-app/issues/293, https://github.com/facebook/create-react-app/issues/1065, https://github.com/facebook/create-react-app/issues/387., https://facebook.github.io/create-react-app/docs/updating-to-new-releases

Location: Package overview

From: ?npm/react-scripts@5.0.1

ℹ Read more on: This package | This alert | What are URL strings?

Next steps: 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@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/react-scripts@5.0.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Low CVE: npm web3-core-method is vulnerable to prototype pollution

CVE: GHSA-2j4c-9qqq-896r web3-core-method is vulnerable to prototype pollution (LOW)

Affected versions: <= 1.10.3

Patched version: No patched versions

From: ?npm/web3-core-method@1.6.0

ℹ Read more on: This package | This alert | What is a mild CVE?

Next steps: 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@socket.dev.

Suggestion: Remove or replace dependencies that include known low severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-core-method@1.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Low CVE: npm web3-core-subscriptions has a Prototype Pollution vulnerability

CVE: GHSA-hhf6-3xpg-pggx web3-core-subscriptions has a Prototype Pollution vulnerability (LOW)

Affected versions: <= 2.0.0-alpha.1

Patched version: No patched versions

From: ?npm/web3-core-subscriptions@1.6.0

ℹ Read more on: This package | This alert | What is a mild CVE?

Next steps: 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@socket.dev.

Suggestion: Remove or replace dependencies that include known low severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-core-subscriptions@1.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Embedded URLs or IPs: npm web3-core

URLs: https://github.dev/NomicFoundation/hardhat/blob/62bea2600785595ba36f2105564076cf5cdf0fd8/packages/hardhat-core/src/internal/core/providers/backwards-compatibility.ts#L19

Location: Package overview

From: ?npm/web3-core@4.7.1

ℹ Read more on: This package | This alert | What are URL strings?

Next steps: 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@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-core@4.7.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Embedded URLs or IPs: npm web3-eth-contract

URLs: https://127.0.0.1:4545, http://127.0.0.1:8545, https://github.com/web3/web3.js/issues/6923

Location: Package overview

From: ?npm/web3-eth-contract@4.7.2

ℹ Read more on: This package | This alert | What are URL strings?

Next steps: 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@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3-eth-contract@4.7.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Embedded URLs or IPs: npm web3

URLs: ws://some.local-or-remote.node:8546, https://www.alchemyapi.io/supernode, https://eth-mainnet.alchemyapi.io/v2/your-api-key, ws://remotenode.com:8546, https://links.ethers.org/v5-errors-, e.name:, https://github.com/goerli/testnet, https://goerli.etherscan.io/block/7382818, https://ethstats.net/, https://etherscan.io/block/15537393, https://github.com/ethereum/go-ethereum/pull/23730, https://sepolia.etherscan.io/block/1450408, https://eips.ethereum.org/EIPS/eip-1153, https://eips.ethereum.org/EIPS/eip-1559, https://eips.ethereum.org/EIPS/eip-2315, https://eips.ethereum.org/EIPS/eip-2537, https://eips.ethereum.org/EIPS/eip-2565, https://eips.ethereum.org/EIPS/eip-2718, https://eips.ethereum.org/EIPS/eip-2929, https://eips.ethereum.org/EIPS/eip-2930, https://eips.ethereum.org/EIPS/eip-3198, https://eips.ethereum.org/EIPS/eip-3529, https://eips.ethereum.org/EIPS/eip-3540, https://eips.ethereum.org/EIPS/eip-3541, https://eips.ethereum.org/EIPS/eip-3607, https://eips.ethereum.org/EIPS/eip-3651, https://eips.ethereum.org/EIPS/eip-3670, https://eips.ethereum.org/EIPS/eip-3675, https://eips.ethereum.org/EIPS/eip-3855, https://eips.ethereum.org/EIPS/eip-3860, https://eips.ethereum.org/EIPS/eip-4345, https://eips.ethereum.org/EIPS/eip-4399, https://eips.ethereum.org/EIPS/eip-5133, https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md, https://eips.ethereum.org/EIPS/eip-2070, https://eips.ethereum.org/EIPS/eip-609, https://eips.ethereum.org/EIPS/eip-1013, https://eips.ethereum.org/EIPS/eip-779, https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md, https://eips.ethereum.org/EIPS/eip-606, https://eips.ethereum.org/EIPS/eip-1679, https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md, https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/merge.md, https://eips.ethereum.org/EIPS/eip-2384, https://eips.ethereum.org/EIPS/eip-1716, https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md, https://eips.ethereum.org/EIPS/eip-607, https://eips.ethereum.org/EIPS/eip-608, this._socketConnection.OPEN:return

Location: Package overview

From: ?npm/web3@4.0.1

ℹ Read more on: This package | This alert | What are URL strings?

Next steps: 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@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/web3@4.0.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

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