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

[Snyk] Security upgrade ethers from 5.7.2 to 6.0.0 #586

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

Conversation

tirumerla
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

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

Snyk changed the following file(s):

  • examples/simulate-proposal/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
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
  768  

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:

🦉 Denial of Service (DoS)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@aws-sdk/[email protected] Transitive: environment, filesystem, network, shell +66 4.96 MB aws-sdk-bot
npm/@aws-sdk/[email protected] None +1 132 kB aws-sdk-bot
npm/@babel/[email protected] None 0 130 kB nicolo-ribaudo
npm/@babel/[email protected] environment +2 2.49 MB nicolo-ribaudo
npm/@ethereumjs/[email protected] None +2 2.88 MB holgerd77
npm/@ethereumjs/[email protected] None +1 741 kB holgerd77
npm/@ethereumjs/[email protected] None +4 832 kB holgerd77
npm/@ethersproject/[email protected] None 0 30.1 kB ricmoo
npm/@ethersproject/[email protected] None 0 250 kB ricmoo
npm/@ethersproject/[email protected] None 0 80.7 kB ricmoo
npm/@ethersproject/[email protected] None +1 2.56 MB ricmoo
npm/@ethersproject/[email protected] None 0 17.4 kB ricmoo
npm/@ethersproject/[email protected] network +1 1.21 MB ricmoo
npm/@ethersproject/[email protected] None 0 17.3 kB ricmoo
npm/@ethersproject/[email protected] None 0 21.7 kB ricmoo
npm/@ethersproject/[email protected] None 0 23.2 kB ricmoo
npm/@ethersproject/[email protected] None 0 20.2 kB ricmoo
npm/@ethersproject/[email protected] None 0 55.2 kB ricmoo
npm/@ethersproject/[email protected] None 0 390 kB ricmoo
npm/@noble/[email protected] None 0 1.39 MB paulmillr
npm/@npmcli/[email protected] environment, shell Transitive: filesystem +1 22.7 kB nlf
npm/@npmcli/[email protected] environment, filesystem +2 31.3 kB npm-cli-ops
npm/@nx/[email protected] environment, filesystem, shell, unsafe Transitive: eval +10 1.64 MB nrwl-jason
npm/@octokit/[email protected] None +1 4.45 MB octokitbot
npm/@openzeppelin/[email protected] environment 0 106 kB collins-oz
npm/@openzeppelin/[email protected] environment +2 10.9 MB tirumerla
npm/@openzeppelin/[email protected] environment, filesystem +1 99.6 kB tirumerla
npm/@openzeppelin/[email protected] None 0 86.3 kB collins-oz
npm/@openzeppelin/[email protected] None 0 86.4 kB collins-oz
npm/@openzeppelin/[email protected] environment 0 107 kB tirumerla
npm/@openzeppelin/[email protected] environment 0 151 kB namis
npm/@smithy/[email protected] None 0 235 kB smithy-team
npm/@szmarczak/[email protected] None 0 10.8 kB szmarczak
npm/@types/[email protected] None +1 13.5 kB types
npm/@types/[email protected] None 0 13.8 kB types
npm/@types/[email protected] None +3 29.3 kB types
npm/[email protected] network 0 94.6 kB molsson
npm/[email protected] network 0 1.39 MB aws-amplify-ops
npm/[email protected] None 0 19.8 kB bahamat
npm/[email protected] environment, filesystem, network, shell +3 95.8 MB aws-sdk-bot
npm/[email protected] network 0 2.08 MB jasonsaayman
npm/[email protected] None 0 29 kB arekinath
npm/[email protected] network Transitive: environment, eval, filesystem +6 186 kB dougwilson
npm/[email protected] None 0 414 kB lpinca
npm/[email protected] network +2 33.7 kB jaredwray
npm/[email protected] None +1 2.17 MB vmx
npm/[email protected] None +1 602 kB pldespaigne
npm/[email protected] None 0 5.21 kB cwmma
npm/[email protected] None 0 5.81 kB cwmma
npm/[email protected] network +2 444 kB lquixada
npm/[email protected] None 0 14.2 kB medikoo
npm/[email protected] environment, filesystem 0 80.6 kB trentm
npm/[email protected] environment, filesystem 0 72.1 kB motdotla
npm/[email protected] None +1 73.6 kB aduh95
npm/[email protected] None 0 119 kB indutny
npm/[email protected] eval +3 492 kB medikoo
npm/[email protected] None +1 39.6 kB medikoo
npm/[email protected] None +3 567 kB danfinlay
npm/[email protected] None 0 82.8 kB maiavictor
npm/[email protected] None +1 792 kB joshstevens19
npm/[email protected] None +8 1.06 MB alcuadrado
npm/[email protected] network +7 19.7 MB ricmoo
npm/[email protected] None +1 634 kB silentcicero
npm/[email protected] environment, filesystem, network Transitive: eval +4 289 kB wesleytodd
npm/[email protected] None 0 47 kB octetstream
npm/[email protected] filesystem 0 14.1 kB isaacs
npm/[email protected] filesystem 0 5.67 kB arekinath
npm/[email protected] Transitive: network +6 301 kB sindresorhus
npm/[email protected] None 0 8.22 kB ahmadnassri
npm/[email protected] None 0 24.4 kB gar
npm/[email protected] network 0 48.4 kB arekinath
npm/[email protected] network +1 84.5 kB szmarczak
npm/[email protected] None +2 128 kB simenb
npm/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +104 5.08 MB marchaos

🚮 Removed packages: npm/@aws-sdk/[email protected], npm/@openzeppelin/[email protected], npm/@openzeppelin/[email protected], npm/@smithy/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

🚨 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
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Protestware/Troll package npm/[email protected]
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/warn-maintenance-mode.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

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

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