Skip to content

[Snyk] Security upgrade mandarin from 4.2.0 to 5.0.2 #464

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

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/code-frame@7.12.13 Transitive: environment +9 130 kB nicolo-ribaudo
npm/@babel/parser@7.12.15 None 0 1.53 MB nicolo-ribaudo
npm/@babel/traverse@7.12.13 environment +7 407 kB nicolo-ribaudo
npm/@babel/types@7.12.13 environment +1 1.02 MB nicolo-ribaudo
npm/@nodelib/fs.stat@2.0.4 filesystem 0 129 kB mrmlnc
npm/@types/mdast@3.0.3 None 0 6.77 kB types
npm/@types/unist@2.0.3 None 0 5.23 kB types
npm/ansi-escapes@4.3.1 None +1 101 kB sindresorhus
npm/bn.js@5.1.3 None 0 99.8 kB fanatid
npm/boxen@1.3.0 None +8 41.6 kB sindresorhus
npm/cac@6.7.1 None 0 80.7 kB egoist
npm/camelcase@6.2.0 None 0 10.4 kB sindresorhus
npm/caniuse-lite@1.0.30001185 None 0 1.51 MB caniuse-lite
npm/chokidar@3.5.1 environment, filesystem +3 276 kB paulmillr
npm/codecov@3.8.1 environment, filesystem, shell +6 174 kB thomasrockhu
npm/core-js@3.8.3 environment, eval, filesystem 0 685 kB zloirock
npm/cross-env@7.0.3 environment 0 29.1 kB kentcdodds
npm/debug@4.3.1 environment +1 47.9 kB qix
npm/eslint-config-xo-lass@1.0.5 None 0 5.47 kB niftylettuce
npm/eslint-plugin-compat@3.9.0 filesystem Transitive: environment +11 27.6 MB amilajack
npm/eslint-plugin-no-smart-quotes@1.1.0 Transitive: filesystem +1 15.3 kB seansleblanc
npm/eslint@7.19.0 filesystem Transitive: unsafe +21 3.84 MB eslintbot
npm/extend@3.0.2 None 0 23.5 kB ljharb
npm/fast-diff@1.2.0 None 0 39.9 kB dgreensp
npm/fault@1.0.4 None 0 6.94 kB wooorm
npm/figures@3.2.0 None 0 12.1 kB sindresorhus
npm/find-cache-dir@3.3.1 filesystem +1 11.7 kB sindresorhus
npm/format@0.2.2 None 0 8.09 kB sjs
npm/fs-extra@9.1.0 filesystem +2 152 kB ryanzim
npm/get-caller-file@2.0.5 None 0 4.72 kB stefanpenner
npm/get-intrinsic@1.1.1 eval +3 75.9 kB ljharb
npm/get-stdin@8.0.0 None 0 4.71 kB sindresorhus
npm/get-stream@5.2.0 Transitive: filesystem +1 20.2 kB sindresorhus
npm/get-value@2.0.6 None 0 3.71 kB jonschlinkert
npm/github-username-regex@1.0.0 None 0 3.31 kB shinnn
npm/glob-parent@5.1.1 None 0 7.61 kB phated
npm/glob@7.1.6 filesystem Transitive: environment +7 133 kB isaacs
npm/global-dirs@0.1.1 environment, filesystem 0 5.86 kB sindresorhus
npm/got@6.7.1 network +5 39.9 kB floatdrop
npm/graceful-fs@4.2.6 environment, filesystem 0 28.6 kB isaacs
npm/hash.js@1.1.7 None 0 41.7 kB indutny
npm/husky@5.0.9 None 0 24.5 kB typicode
npm/ieee754@1.2.1 None 0 6.8 kB feross
npm/ignore@4.0.6 None 0 37.8 kB kael
npm/import-fresh@3.3.0 Transitive: filesystem, unsafe +2 13.4 kB sindresorhus
npm/inherits@2.0.4 None 0 3.96 kB isaacs
npm/ini@1.3.8 None 0 9.3 kB isaacs
npm/is-binary-path@2.1.0 None +1 8.43 kB sindresorhus
npm/is-callable@1.2.3 None 0 21.1 kB ljharb
npm/is-descriptor@1.0.2 None +2 27.2 kB jonschlinkert
npm/is-email@1.0.0 None 0 9.22 kB segment
npm/is-error@2.2.2 None 0 6.22 kB mk-pmb
npm/is-extendable@0.1.1 None 0 5.09 kB jonschlinkert
npm/is-extglob@2.1.1 None 0 6.22 kB jonschlinkert
npm/is-glob@4.0.1 None 0 11.3 kB phated
npm/is-url@1.2.4 None 0 6.58 kB zeke
npm/is-valid-npm-name@0.0.5 unsafe +2 27.7 kB niftylettuce
npm/is-windows@1.0.2 None 0 7.96 kB jonschlinkert
npm/isarray@1.0.0 None 0 3.89 kB juliangruber
npm/isobject@3.0.1 None 0 6.93 kB doowb
npm/istanbul-lib-coverage@3.0.0 None 0 25.3 kB coreyfarrell
npm/js-yaml@3.14.0 eval Transitive: environment, filesystem +2 722 kB vitaly
npm/json5@2.2.0 None 0 242 kB jordanbtucker
npm/kind-of@6.0.3 None 0 22.8 kB doowb
npm/lint-staged@10.5.4 environment, filesystem Transitive: shell +29 800 kB okonet
npm/lodash@4.17.20 None 0 1.41 MB bnjmnt4n
npm/lowercase-keys@1.0.1 None 0 2.46 kB sindresorhus
npm/make-dir@3.1.0 filesystem 0 10 kB sindresorhus
npm/mdast-comment-marker@1.1.2 None 0 8.43 kB wooorm
npm/mdast-util-heading-range@2.1.5 None +1 18.5 kB wooorm
npm/mdast-util-to-markdown@0.6.5 None +10 169 kB wooorm
npm/meow@8.1.2 Transitive: filesystem +25 343 kB sindresorhus
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/micromark@2.11.4 None +8 724 kB wooorm
npm/mimic-response@1.0.1 None 0 3.58 kB sindresorhus
npm/minimalistic-assert@1.0.1 None 0 1.55 kB cwmma
npm/minimist@1.2.5 None 0 32.4 kB substack
npm/nlcst-is-literal@1.2.2 None +1 16 kB wooorm
npm/nlcst-normalize@2.1.5 None +1 13 kB wooorm
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert
npm/npm-conf@1.1.3 environment, filesystem Transitive: network +2 40.6 kB kevva
npm/npm-run-path@4.0.1 environment 0 8.13 kB sindresorhus
npm/nyc@15.1.0 environment, filesystem, unsafe Transitive: shell +49 1.46 MB coreyfarrell
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/once@1.4.0 None 0 4.05 kB isaacs
npm/onetime@5.1.2 None +1 10.6 kB sindresorhus
npm/p-limit@2.3.0 None +1 11.8 kB sindresorhus
npm/parse-asn1@5.1.6 None +3 176 kB cwmma
npm/path-key@3.1.1 None 0 4.55 kB sindresorhus
npm/picomatch@2.2.2 None 0 86.7 kB mrmlnc
npm/pkg-dir@4.2.0 Transitive: filesystem +3 22.5 kB sindresorhus
npm/quotation@1.1.3 None 0 4.9 kB wooorm
npm/randombytes@2.1.0 None 0 6.36 kB cwmma
npm/rc@1.2.8 environment, filesystem +2 31.5 kB dominictarr
npm/readable-stream@3.6.0 environment 0 122 kB matteo.collina
npm/regex-not@1.0.2 None +1 14.3 kB jonschlinkert
npm/regexp-tree@0.1.23 None 0 313 kB dmitrysoshnikov
npm/regexpp@3.1.0 None 0 301 kB mysticatea
npm/remark-cli@9.0.0 None +14 205 kB wooorm
npm/remark-lint-list-item-indent@2.0.1 None +1 28.3 kB wooorm
npm/remark-lint-no-duplicate-definitions@2.0.1 None 0 5.6 kB wooorm
npm/remark-preset-github@4.0.1 Transitive: filesystem +82 730 kB niftylettuce
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/resolve-from@5.0.0 filesystem, unsafe 0 5.82 kB sindresorhus
npm/resolve-global@1.0.0 None 0 4.34 kB sindresorhus
npm/resolve@1.20.0 filesystem +4 173 kB ljharb

🚮 Removed packages: npm/@babel/cli@7.17.6, npm/@babel/code-frame@7.16.7, npm/@babel/compat-data@7.17.7, npm/@babel/core@7.17.9, npm/@babel/helper-compilation-targets@7.17.7, npm/@babel/helper-create-class-features-plugin@7.17.9, npm/@babel/helper-function-name@7.17.9, npm/@babel/helper-member-expression-to-functions@7.17.7, npm/@babel/helper-module-imports@7.16.7, npm/@babel/helper-module-transforms@7.17.7, npm/@babel/helper-plugin-utils@7.16.7, npm/@babel/highlight@7.17.9, npm/@babel/parser@7.17.9, npm/@babel/plugin-proposal-unicode-property-regex@7.16.7, npm/@babel/plugin-transform-dotall-regex@7.16.7, npm/@babel/polyfill@7.12.1, npm/@babel/preset-env@7.16.11, npm/@babel/runtime@7.17.9, npm/@babel/traverse@7.17.9, npm/@babel/types@7.17.0, npm/@fortawesome/fontawesome-free@5.15.4, npm/@grpc/proto-loader@0.6.9, npm/@hapi/boom@9.1.4, npm/@jridgewell/trace-mapping@0.3.9, npm/@koa/router@10.1.1, npm/@ladjs/api@6.0.3, npm/@ladjs/assets@1.4.2, npm/@ladjs/env@3.0.0, npm/@ladjs/graceful@1.1.5, npm/@ladjs/gulp-envify@2.0.1, npm/@ladjs/i18n@7.2.6, npm/@ladjs/mongoose-error-messages@1.0.0, npm/@ladjs/mongoose@2.1.1, npm/@ladjs/passport@2.1.0, npm/@ladjs/pick-original@1.0.0, npm/@ladjs/policies@5.0.0, npm/@ladjs/proxy@2.1.0, npm/@ladjs/redis@1.0.7, npm/@ladjs/shared-config@4.0.0, npm/@ladjs/store-ip-address@0.0.7, npm/@ladjs/web@10.0.3, npm/@nodelib/fs.stat@2.0.5, npm/@primer/css@15.2.0, npm/@protobufjs/aspromise@1.1.2, npm/@sidoshi/random-string@1.0.0, npm/@sinonjs/commons@1.8.3, npm/@sinonjs/fake-timers@6.0.1, npm/@slack/web-api@6.7.1, npm/@tkrotoff/bootstrap-floating-label@0.7.0, npm/@types/babel-types@7.0.11, npm/@types/bson@4.0.5, npm/@types/json-schema@7.0.11, npm/@types/long@4.0.2, npm/@types/mdast@3.0.10, npm/@types/minimatch@3.0.5, npm/@types/node@17.0.29, npm/@types/unist@2.0.6, npm/acorn-jsx@5.3.2, npm/acorn-node@1.8.2, npm/acorn@8.7.1, npm/ansi-escapes@4.3.2, npm/ansi-wrap@0.1.0, npm/arr-map@2.0.2, npm/array-each@1.0.1, npm/array-join-conjunction@1.0.0, npm/assert-plus@1.0.0, npm/async-done@1.3.2, npm/autoprefixer@9.8.8, npm/axe@8.1.2, npm/babel-runtime@6.26.0, npm/babelify@10.0.0, npm/basic-auth@2.0.1, npm/bin-wrapper@4.1.0, npm/bitter-font@0.0.1, npm/bn.js@5.2.0, npm/boolbase@1.0.0, npm/boolean@3.2.0, npm/bootstrap@4.6.0, npm/bree@6.5.0, npm/browser-pack@6.1.0, npm/browserify@17.0.0, npm/browserslist@4.20.3, npm/bson-objectid@1.3.1, npm/bson@1.1.6, npm/buffer@5.2.1, npm/bundle-collapser@1.4.0, npm/bytes@3.1.2, npm/cabin@9.1.2, npm/cached-path-relative@1.1.0, npm/caniuse-lite@1.0.30001332, npm/capitalize@2.0.4, npm/captain-hook@0.0.3, npm/caseless@0.12.0, npm/character-parser@2.2.0, npm/cheerio@1.0.0-rc.10, npm/chokidar@3.5.3, npm/cli-boxes@2.2.1, npm/clipboard@2.0.10, npm/codecov@3.8.3, npm/combine-source-map@0.8.0, npm/combined-stream@1.0.8, npm/common-tags@1.8.2, npm/compressible@2.0.18, npm/concat-stream@1.6.2, npm/config-chain@1.1.13, npm/console-control-strings@1.1.0, npm/consolidate@0.16.0, npm/content-disposition@0.5.4, npm/convert-source-map@1.8.0, npm/cookiejar@2.1.3, npm/copy-to@2.0.1, npm/core-js-compat@3.22.2, npm/core-js@2.6.12, npm/crypto-random-string@3.3.1, npm/css-color-names@0.0.4, npm/cssnano@4.1.11, npm/custom-fonts-in-emails@4.0.2, npm/d@1.0.1, npm/dashify@2.0.0, npm/dayjs-with-plugins@0.0.4, npm/dayjs@1.11.1, npm/debug@4.3.4, npm/deep-equal@1.0.1, npm/deep-is@0.1.4, npm/denque@1.5.1, npm/depd@1.1.2, npm/dom-serializer@1.4.1, npm/domhandler@4.3.1, npm/domutils@2.8.0, npm/duplexer2@0.1.4, npm/duplexify@4.1.2, npm/ecdsa-sig-formatter@1.0.11, npm/email-templates@8.1.0, npm/encodeurl@1.0.2, npm/es-abstract@1.19.5, npm/es5-ext@0.10.61, npm/es6-iterator@2.0.3, npm/es6-symbol@3.1.3, npm/es6-weak-map@2.0.3, npm/escape-html@1.0.3, npm/eslint-config-xo-lass@1.0.6, npm/eslint-formatter-pretty@4.1.0, npm/eslint-plugin-compat@3.13.0, npm/eslint-plugin-import@2.26.0, npm/eslint-plugin-no-smart-quotes@1.3.0, npm/eslint-plugin-prettier@3.4.1, npm/eslint-template-visitor@2.3.2, npm/eslint@7.32.0, npm/espurify@2.1.1, npm/expand-tilde@2.0.2

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/core-js@3.8.3
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/ejs@2.7.4
  • Install script: postinstall
  • Source: node ./postinstall.js
  • orphan: npm/ejs@2.7.4
Potential typo squat npm/eslint-config-xo-lass@1.0.5
Install scripts npm/@fortawesome/fontawesome-free@5.15.4
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/core-js@3.22.2
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Protestware/Troll package npm/es5-ext@0.10.61
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/es5-ext@0.10.61
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Potential typo squat npm/eslint-config-xo-lass@1.0.6

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js@3.8.3
  • @SocketSecurity ignore npm/ejs@2.7.4
  • @SocketSecurity ignore npm/eslint-config-xo-lass@1.0.5
  • @SocketSecurity ignore npm/@fortawesome/fontawesome-free@5.15.4
  • @SocketSecurity ignore npm/core-js@2.6.12
  • @SocketSecurity ignore npm/core-js@3.22.2
  • @SocketSecurity ignore npm/es5-ext@0.10.61
  • @SocketSecurity ignore npm/eslint-config-xo-lass@1.0.6

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