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 react-devtools from 4.14.0 to 5.3.0 #97

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

Conversation

alejandrosuarez
Copy link
Owner

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 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • packages/taro-plugin-react-devtools/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
  646  
high severity Out-of-bounds Read
SNYK-JS-ELECTRON-5734243
  641  

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:

🦉 Server-Side Request Forgery (SSRF)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.16.7 None +2 30.9 kB nicolo-ribaudo
npm/@babel/compat-data@7.17.10 None 0 50.6 kB nicolo-ribaudo
npm/@babel/core@7.18.2 environment, filesystem, unsafe +13 905 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.18.2 None +1 21.5 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.18.0 None +4 115 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.17.12 None +1 10.4 kB nicolo-ribaudo
npm/@babel/helper-environment-visitor@7.18.2 None 0 3.37 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.17.9 None 0 6.66 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.16.7 None 0 16.3 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.17.12 None 0 4.51 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.18.2 None +2 63.4 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.18.2 None 0 5.16 kB nicolo-ribaudo
npm/@babel/parser@7.18.4 None 0 1.88 MB nicolo-ribaudo
npm/@babel/plugin-proposal-class-properties@7.17.12 None 0 3.32 kB nicolo-ribaudo
npm/@babel/plugin-proposal-nullish-coalescing-operator@7.17.12 None 0 4.39 kB nicolo-ribaudo
npm/@babel/plugin-proposal-object-rest-spread@7.18.0 None +1 102 kB nicolo-ribaudo
npm/@babel/plugin-proposal-optional-catch-binding@7.16.7 None +1 5.79 kB nicolo-ribaudo
npm/@babel/plugin-proposal-optional-chaining@7.17.12 None +1 36.1 kB nicolo-ribaudo
npm/@babel/plugin-proposal-unicode-property-regex@7.17.12 None 0 3.46 kB nicolo-ribaudo
npm/@babel/plugin-syntax-dynamic-import@7.8.3 None 0 2.47 kB nicolo-ribaudo
npm/@babel/plugin-syntax-export-default-from@7.16.7 None 0 2.77 kB nicolo-ribaudo
npm/@babel/plugin-syntax-flow@7.17.12 None 0 3.09 kB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.17.12 None 0 2.72 kB nicolo-ribaudo
npm/@babel/plugin-syntax-nullish-coalescing-operator@7.8.3 None 0 2.63 kB nicolo-ribaudo
npm/@babel/plugin-syntax-optional-chaining@7.8.3 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-transform-arrow-functions@7.17.12 None 0 3.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-to-generator@7.17.12 None +3 16.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoping@7.18.4 None 0 27.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.18.4 None +4 76.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-computed-properties@7.17.12 None 0 7.69 kB nicolo-ribaudo
npm/@babel/plugin-transform-destructuring@7.18.0 None 0 78.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.16.7 None 0 3.11 kB nicolo-ribaudo
npm/@babel/plugin-transform-exponentiation-operator@7.16.7 None +2 11 kB nicolo-ribaudo
npm/@babel/plugin-transform-for-of@7.18.1 None 0 14.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-function-name@7.16.7 None 0 3.66 kB nicolo-ribaudo
npm/@babel/plugin-transform-literals@7.17.12 None 0 3.03 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.18.2 None +3 75.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.17.12 None 0 18.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-display-name@7.16.7 None 0 5.13 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx@7.17.12 None +1 26.8 kB nicolo-ribaudo
npm/@babel/plugin-transform-regenerator@7.18.0 None 0 3.49 kB nicolo-ribaudo
npm/@babel/plugin-transform-runtime@7.18.2 unsafe +5 480 kB nicolo-ribaudo
npm/@babel/plugin-transform-shorthand-properties@7.16.7 None 0 3.94 kB nicolo-ribaudo
npm/@babel/plugin-transform-spread@7.17.12 None +1 10.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-sticky-regex@7.16.7 None 0 3.08 kB nicolo-ribaudo
npm/@babel/plugin-transform-template-literals@7.18.2 None 0 6.22 kB nicolo-ribaudo
npm/@babel/plugin-transform-typescript@7.18.4 None +1 36.8 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.16.7 None 0 2.94 kB nicolo-ribaudo
npm/@babel/runtime@7.18.3 None 0 201 kB nicolo-ribaudo
npm/@babel/template@7.16.7 None 0 21.4 kB nicolo-ribaudo
npm/@babel/traverse@7.18.2 None +8 483 kB nicolo-ribaudo
npm/@babel/types@7.18.4 environment +1 1.07 MB nicolo-ribaudo
npm/@jridgewell/trace-mapping@0.3.13 None +2 181 kB jridgewell
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/@nodelib/fs.walk@1.2.8 Transitive: filesystem +2 86.8 kB mrmlnc
npm/@pmmmwh/react-refresh-webpack-plugin@0.5.5 environment, filesystem +8 370 kB pmmmwh
npm/@tarojs/components@3.5.0-beta.2 None +6 39.3 MB defaultlee
npm/@tarojs/helper@3.5.0-beta.2 environment, filesystem, shell Transitive: unsafe +82 902 MB defaultlee
npm/@tarojs/plugin-framework-react@3.5.0-beta.2 environment 0 101 kB defaultlee
npm/@tarojs/plugin-platform-alipay@3.5.0-beta.2 Transitive: environment, filesystem +7 878 kB defaultlee
npm/@tarojs/plugin-platform-jd@3.5.0-beta.2 Transitive: environment, filesystem +7 747 kB defaultlee
npm/@tarojs/plugin-platform-qq@3.5.0-beta.2 Transitive: environment, filesystem +7 748 kB defaultlee
npm/@tarojs/plugin-platform-swan@3.5.0-beta.2 Transitive: environment, filesystem +7 820 kB defaultlee
npm/@tarojs/plugin-platform-tt@3.5.0-beta.2 Transitive: environment, filesystem +7 762 kB defaultlee
npm/@tarojs/plugin-platform-weapp@3.5.0-beta.2 Transitive: environment, filesystem +7 855 kB defaultlee
npm/@tarojs/react@3.5.0-beta.2 environment 0 25.6 kB defaultlee
npm/@tarojs/router@3.5.0-beta.2 environment +1 352 kB defaultlee
npm/@tarojs/runtime@3.5.0-beta.2 environment Transitive: eval +1 996 kB defaultlee
npm/@tarojs/shared@3.5.0-beta.2 None 0 377 kB defaultlee
npm/@tarojs/taro-h5@3.5.0-beta.2 environment, network +4 1.68 MB defaultlee
npm/@tarojs/taro@3.5.0-beta.2 Transitive: environment +1 1.13 MB defaultlee
npm/@tarojs/webpack5-runner@3.5.0-beta.2 environment, filesystem, unsafe Transitive: eval, network, shell +133 57.2 MB defaultlee
npm/@types/estree@0.0.51 None 0 24 kB types
npm/@types/express-serve-static-core@4.17.28 None +3 1.78 MB types
npm/@types/express@4.17.13 None +6 1.73 MB types
npm/@types/json-schema@7.0.11 None 0 32.2 kB types
npm/@types/react@17.0.45 None +3 1.38 MB types
npm/@types/webpack-env@1.17.0 None 0 16.9 kB types
npm/@typescript-eslint/eslint-plugin@4.33.0 Transitive: environment, filesystem +9 4.54 MB jameshenry
npm/@typescript-eslint/parser@4.33.0 Transitive: environment, filesystem +5 1.34 MB jameshenry
npm/accepts@1.3.8 None +1 44.2 kB dougwilson
npm/acorn-jsx@5.3.2 None 0 24.4 kB rreverser
npm/acorn-walk@8.2.0 None 0 42.8 kB marijn
npm/acorn@8.7.1 None 0 466 kB marijn
npm/ajv-keywords@3.5.2 None 0 72.9 kB esp
npm/arr-flatten@1.1.0 None 0 6.88 kB jonschlinkert
npm/array-includes@3.1.5 None 0 22.9 kB ljharb
npm/assert-plus@1.0.0 environment 0 11.4 kB pfmooney
npm/babel-plugin-dynamic-import-node@2.3.3 None 0 12.4 kB ljharb
npm/babel-preset-taro@3.5.0-beta.2 environment, filesystem Transitive: eval, unsafe +80 2.57 MB defaultlee
npm/babel-runtime@6.26.0 Transitive: environment, eval, filesystem +1 2.31 MB hzoo
npm/braces@3.0.2 None +1 65.6 kB doowb
npm/browserslist@4.20.3 environment, filesystem +3 110 kB ai
npm/call-bind@1.0.2 None +1 39.9 kB ljharb
npm/caniuse-lite@1.0.30001346 None 0 1.54 MB caniuse-lite
npm/chokidar@3.5.3 environment, filesystem +4 264 kB paulmillr
npm/combined-stream@1.0.8 None +1 19.5 kB alexindigo
npm/commander@2.20.3 filesystem, shell 0 62.4 kB abetomo
npm/core-js-compat@3.22.8 None +1 603 kB zloirock
npm/core-js-pure@3.22.8 environment, eval, filesystem 0 867 kB zloirock
npm/core-util-is@1.0.2 None 0 23.2 kB isaacs
npm/css-tree@2.0.4 None +1 1.72 MB lahmatiy
npm/deep-is@0.1.4 None 0 8.11 kB thlorenz
npm/define-properties@1.1.4 None +1 19.7 kB ljharb
npm/electron-to-chromium@1.4.146 None 0 174 kB kilianvalkhof
npm/es-abstract@1.20.1 None +13 1.62 MB ljharb
npm/esbuild@0.14.42 environment, filesystem, network, shell +20 163 MB evanw
npm/eslint-config-taro@3.5.0-beta.2 Transitive: environment, filesystem, shell, unsafe +51 9.91 MB defaultlee
npm/eslint-plugin-import@2.26.0 filesystem, unsafe Transitive: environment +13 1.38 MB ljharb
npm/eslint-plugin-react-hooks@4.5.0 environment 0 118 kB acdlite
npm/eslint-plugin-react@7.30.0 filesystem +7 1.17 MB ljharb
npm/eslint@6.8.0 filesystem, unsafe Transitive: environment, eval, shell +40 8.09 MB eslintbot
npm/extend-shallow@3.0.2 None +2 21.4 kB phated
npm/extend@3.0.2 None 0 23.5 kB ljharb
npm/extsprintf@1.3.0 None 0 22.8 kB dap
npm/fast-deep-equal@3.1.3 None 0 13 kB esp
npm/fast-glob@3.2.11 filesystem 0 88.8 kB mrmlnc
npm/fast-levenshtein@2.0.6 None 0 9.44 kB hiddentao
npm/for-in@1.0.2 None 0 6.28 kB jonschlinkert
npm/get-intrinsic@1.1.1 eval +2 60.4 kB ljharb
npm/get-value@2.0.6 None 0 3.71 kB jonschlinkert
npm/glob-parent@5.1.2 None 0 12.1 kB phated
npm/globby@11.1.0 filesystem +2 30.3 kB sindresorhus
npm/graceful-fs@4.2.10 environment, filesystem 0 32.5 kB isaacs
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-symbols@1.0.3 None 0 20.6 kB ljharb
npm/html-entities@2.3.3 None 0 95.5 kB mdevils
npm/iconv-lite@0.4.24 None 0 336 kB ashtuchkin
npm/ignore@5.2.0 None 0 48.9 kB kael
npm/import-fresh@3.3.0 None 0 4.87 kB sindresorhus
npm/inherits@2.0.4 None 0 3.96 kB isaacs
npm/is-buffer@1.1.6 None 0 5.58 kB feross
npm/is-callable@1.2.4 None 0 20.1 kB ljharb
npm/is-core-module@2.9.0 None +2 54.8 kB ljharb
npm/is-descriptor@1.0.2 None +2 27.2 kB jonschlinkert
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
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.3 None 0 13.6 kB phated
npm/is-path-inside@3.0.3 None 0 4.12 kB sindresorhus
npm/is-regex@1.1.4 None +1 41 kB ljharb
npm/is-string@1.0.7 None +1 30 kB ljharb
npm/is-symbol@1.0.4 None 0 22 kB ljharb
npm/isarray@1.0.0 None 0 3.89 kB juliangruber
npm/jest-worker@27.5.1 environment, shell +4 1.78 MB simenb
npm/js-tokens@4.0.0 None 0 15.1 kB lydell
npm/json-parse-better-errors@1.0.2 None 0 6.7 kB zkat
npm/json5@2.2.1 None 0 229 kB jordanbtucker
npm/kind-of@6.0.3 None 0 22.8 kB doowb
npm/klona@2.0.5 None 0 23 kB lukeed
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/loose-envify@1.4.0 environment 0 5.81 kB zertosh
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/micromatch@4.0.5 None 0 55.9 kB jonschlinkert
npm/mime-db@1.52.0 None 0 206 kB dougwilson
npm/mime-types@2.1.35 None 0 18.3 kB dougwilson
npm/mime@1.6.0 environment, filesystem 0 51.7 kB broofa
npm/minimist@1.2.6 None 0 33.2 kB substack
npm/nanoid@3.3.4 None 0 21.6 kB ai
npm/normalize-package-data@2.5.0 None +1 52.5 kB audrey.e
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert

🚮 Removed packages: npm/@napi-rs/cli@3.0.0-alpha.5, npm/@pmmmwh/react-refresh-webpack-plugin@0.5.15, npm/@svgr/webpack@5.5.0, npm/@tarojs/binding@3.6.23, npm/@tarojs/webpack5-prebundle@3.5.6, npm/@testing-library/jest-dom@5.17.0, npm/@testing-library/react@13.4.0, npm/@testing-library/user-event@13.5.0, npm/ava@5.3.1, npm/babel-loader@8.3.0, npm/babel-plugin-named-asset-import@0.3.8, npm/babel-preset-react-app@10.0.1, npm/bfj@7.1.0, npm/case-sensitive-paths-webpack-plugin@2.4.0, npm/css-loader@6.11.0, npm/dotenv-expand@5.1.0, npm/dotenv@10.0.0, npm/eslint-config-react-app@7.0.1, npm/eslint-webpack-plugin@3.2.0, npm/file-loader@6.2.0, npm/fs-extra@10.1.0, npm/html-webpack-plugin@5.6.0, npm/identity-obj-proxy@3.0.0, npm/jest-watch-typeahead@1.1.0, npm/mini-css-extract-plugin@2.9.0, npm/postcss-flexbugs-fixes@5.0.2, npm/postcss-loader@6.2.1, npm/postcss-normalize@10.0.1, npm/postcss-preset-env@7.8.3, npm/postcss@8.4.38, npm/react-app-polyfill@3.0.0, npm/react-dev-utils@12.0.1, npm/react-dom@18.3.1, npm/react-refresh@0.11.0, npm/react@18.3.1, npm/resolve-url-loader@4.0.0, npm/resolve@2.0.0-next.5, npm/sass-loader@12.6.0, npm/source-map-loader@3.0.2, npm/style-loader@3.3.4, npm/tailwindcss@3.4.4, npm/web-vitals@2.1.4, npm/webpack-manifest-plugin@4.1.1, npm/workbox-webpack-plugin@6.6.1

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/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫
Install scripts npm/core-js@3.22.8
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫

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.

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@2.6.12
  • @SocketSecurity ignore npm/core-js@3.22.8

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