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 mandarin from 4.2.0 to 5.0.2 #464

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

Conversation

titanism
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):

  • template/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
medium severity Uncontrolled Resource Consumption
SNYK-JS-GRPCGRPCJS-7242922
  551  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] Transitive: environment +9 130 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.53 MB nicolo-ribaudo
npm/@babel/[email protected] environment +7 407 kB nicolo-ribaudo
npm/@babel/[email protected] environment +1 1.02 MB nicolo-ribaudo
npm/@nodelib/[email protected] filesystem 0 129 kB mrmlnc
npm/@types/[email protected] None 0 6.77 kB types
npm/@types/[email protected] None 0 5.23 kB types
npm/[email protected] None +1 101 kB sindresorhus
npm/[email protected] None 0 99.8 kB fanatid
npm/[email protected] None +8 41.6 kB sindresorhus
npm/[email protected] None 0 80.7 kB egoist
npm/[email protected] None 0 10.4 kB sindresorhus
npm/[email protected] None 0 1.51 MB caniuse-lite
npm/[email protected] environment, filesystem +3 276 kB paulmillr
npm/[email protected] environment, filesystem, shell +6 174 kB thomasrockhu
npm/[email protected] environment, eval, filesystem 0 685 kB zloirock
npm/[email protected] environment 0 29.1 kB kentcdodds
npm/[email protected] environment +1 47.9 kB qix
npm/[email protected] None 0 5.47 kB niftylettuce
npm/[email protected] filesystem Transitive: environment +11 27.6 MB amilajack
npm/[email protected] Transitive: filesystem +1 15.3 kB seansleblanc
npm/[email protected] filesystem Transitive: unsafe +21 3.84 MB eslintbot
npm/[email protected] None 0 23.5 kB ljharb
npm/[email protected] None 0 39.9 kB dgreensp
npm/[email protected] None 0 6.94 kB wooorm
npm/[email protected] None 0 12.1 kB sindresorhus
npm/[email protected] filesystem +1 11.7 kB sindresorhus
npm/[email protected] None 0 8.09 kB sjs
npm/[email protected] filesystem +2 152 kB ryanzim
npm/[email protected] None 0 4.72 kB stefanpenner
npm/[email protected] eval +3 75.9 kB ljharb
npm/[email protected] None 0 4.71 kB sindresorhus
npm/[email protected] Transitive: filesystem +1 20.2 kB sindresorhus
npm/[email protected] None 0 3.71 kB jonschlinkert
npm/[email protected] None 0 3.31 kB shinnn
npm/[email protected] None 0 7.61 kB phated
npm/[email protected] filesystem Transitive: environment +7 133 kB isaacs
npm/[email protected] environment, filesystem 0 5.86 kB sindresorhus
npm/[email protected] network +5 39.9 kB floatdrop
npm/[email protected] environment, filesystem 0 28.6 kB isaacs
npm/[email protected] None 0 41.7 kB indutny
npm/[email protected] None 0 24.5 kB typicode
npm/[email protected] None 0 6.8 kB feross
npm/[email protected] None 0 37.8 kB kael
npm/[email protected] Transitive: filesystem, unsafe +2 13.4 kB sindresorhus
npm/[email protected] None 0 3.96 kB isaacs
npm/[email protected] None 0 9.3 kB isaacs
npm/[email protected] None +1 8.43 kB sindresorhus
npm/[email protected] None 0 21.1 kB ljharb
npm/[email protected] None +2 27.2 kB jonschlinkert
npm/[email protected] None 0 9.22 kB segment
npm/[email protected] None 0 6.22 kB mk-pmb
npm/[email protected] None 0 5.09 kB jonschlinkert
npm/[email protected] None 0 6.22 kB jonschlinkert
npm/[email protected] None 0 11.3 kB phated
npm/[email protected] None 0 6.58 kB zeke
npm/[email protected] unsafe +2 27.7 kB niftylettuce
npm/[email protected] None 0 7.96 kB jonschlinkert
npm/[email protected] None 0 3.89 kB juliangruber
npm/[email protected] None 0 6.93 kB doowb
npm/[email protected] None 0 25.3 kB coreyfarrell
npm/[email protected] eval Transitive: environment, filesystem +2 722 kB vitaly
npm/[email protected] None 0 242 kB jordanbtucker
npm/[email protected] None 0 22.8 kB doowb
npm/[email protected] environment, filesystem Transitive: shell +29 800 kB okonet
npm/[email protected] None 0 1.41 MB bnjmnt4n
npm/[email protected] None 0 2.46 kB sindresorhus
npm/[email protected] filesystem 0 10 kB sindresorhus
npm/[email protected] None 0 8.43 kB wooorm
npm/[email protected] None +1 18.5 kB wooorm
npm/[email protected] None +10 169 kB wooorm
npm/[email protected] Transitive: filesystem +25 343 kB sindresorhus
npm/[email protected] None 0 8.9 kB zensh
npm/[email protected] None +8 724 kB wooorm
npm/[email protected] None 0 3.58 kB sindresorhus
npm/[email protected] None 0 1.55 kB cwmma
npm/[email protected] None 0 32.4 kB substack
npm/[email protected] None +1 16 kB wooorm
npm/[email protected] None +1 13 kB wooorm
npm/[email protected] None 0 9.22 kB jonschlinkert
npm/[email protected] environment, filesystem Transitive: network +2 40.6 kB kevva
npm/[email protected] environment 0 8.13 kB sindresorhus
npm/[email protected] environment, filesystem, unsafe Transitive: shell +49 1.46 MB coreyfarrell
npm/[email protected] None 0 5.49 kB sindresorhus
npm/[email protected] None 0 26.5 kB ljharb
npm/[email protected] None 0 4.05 kB isaacs
npm/[email protected] None +1 10.6 kB sindresorhus
npm/[email protected] None +1 11.8 kB sindresorhus
npm/[email protected] None +3 176 kB cwmma
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] None 0 86.7 kB mrmlnc
npm/[email protected] Transitive: filesystem +3 22.5 kB sindresorhus
npm/[email protected] None 0 4.9 kB wooorm
npm/[email protected] None 0 6.36 kB cwmma
npm/[email protected] environment, filesystem +2 31.5 kB dominictarr
npm/[email protected] environment 0 122 kB matteo.collina
npm/[email protected] None +1 14.3 kB jonschlinkert
npm/[email protected] None 0 313 kB dmitrysoshnikov
npm/[email protected] None 0 301 kB mysticatea
npm/[email protected] None +14 205 kB wooorm
npm/[email protected] None +1 28.3 kB wooorm
npm/[email protected] None 0 5.6 kB wooorm
npm/[email protected] Transitive: filesystem +82 730 kB niftylettuce
npm/[email protected] None 0 9.09 kB jonschlinkert
npm/[email protected] filesystem, unsafe 0 5.82 kB sindresorhus
npm/[email protected] None 0 4.34 kB sindresorhus
npm/[email protected] filesystem +4 173 kB ljharb

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@fortawesome/[email protected], npm/@grpc/[email protected], npm/@hapi/[email protected], npm/@jridgewell/[email protected], npm/@koa/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@ladjs/[email protected], npm/@nodelib/[email protected], npm/@primer/[email protected], npm/@protobufjs/[email protected], npm/@sidoshi/[email protected], npm/@sinonjs/[email protected], npm/@sinonjs/[email protected], npm/@slack/[email protected], npm/@tkrotoff/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[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], 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 NoteSource
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node ./postinstall.js
Potential typo squat npm/[email protected]
Install scripts npm/@fortawesome/[email protected]
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
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 -e "try{require('./_postinstall')}catch(e){}" || exit 0
Potential typo squat npm/[email protected]

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 a typosquat?

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

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