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] Fix for 1 vulnerabilities #836

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

Conversation

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

Snyk changed the following file(s):

  • examples/with-firebase-hosting/package.json

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

google-cla bot commented Jun 11, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/parser@7.12.11 None 0 1.52 MB nicolo-ribaudo
npm/@babel/plugin-proposal-object-rest-spread@7.14.7 Transitive: environment, filesystem, shell +13 555 kB nicolo-ribaudo
npm/@babel/plugin-syntax-dynamic-import@7.8.3 None +1 129 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-assertions@7.24.7 None +1 196 kB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.24.7 None +1 197 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.24.7 None +7 540 kB nicolo-ribaudo
npm/@babel/preset-env@7.24.7 environment, filesystem Transitive: shell, unsafe +117 8.56 MB nicolo-ribaudo
npm/@babel/preset-flow@7.14.5 None +4 298 kB nicolo-ribaudo
npm/@babel/preset-react@7.14.5 None +8 637 kB nicolo-ribaudo
npm/@babel/traverse@7.24.7 Transitive: environment +15 1.73 MB nicolo-ribaudo
npm/@edge-runtime/primitives@1.1.0 network, unsafe 0 2.11 MB kikobeats
npm/@typescript-eslint/eslint-plugin@4.29.1 Transitive: environment, filesystem +15 4.62 MB jameshenry
npm/@typescript-eslint/parser@4.29.1 Transitive: environment, filesystem +7 1.13 MB jameshenry
npm/async-sema@3.0.1 None 0 13.2 kB olliv
npm/browserslist@4.20.2 environment, filesystem +4 119 kB ai
npm/chalk@5.0.1 None 0 41.3 kB sindresorhus
npm/content-disposition@0.5.3 None +1 50.8 kB dougwilson
npm/cors@2.8.5 None +1 28.7 kB dougwilson
npm/cross-env@6.0.3 environment Transitive: filesystem, shell +6 78.5 kB kentcdodds
npm/cross-spawn@6.0.5 environment, filesystem, shell +7 117 kB satazor
npm/es5-ext@0.10.53 eval +10 1.17 MB medikoo
npm/eslint-import-resolver-node@0.3.9 Transitive: environment, filesystem +8 295 kB ljharb
npm/eslint-plugin-import@2.22.1 environment, filesystem, unsafe Transitive: eval, network +73 5.26 MB ljharb
npm/eslint-plugin-jest@24.3.5 filesystem Transitive: environment +13 2.26 MB simenb
npm/eslint-plugin-react-hooks@4.5.0 environment 0 118 kB acdlite
npm/eslint-plugin-react@7.23.2 filesystem Transitive: environment, eval +72 5.16 MB ljharb
npm/eslint@7.24.0 filesystem Transitive: environment, eval, unsafe +54 9.42 MB eslintbot
npm/execa@2.0.3 environment, shell +9 106 kB ehmicky
npm/express@4.17.0 environment, filesystem, network Transitive: eval +30 802 kB dougwilson
npm/flat@5.0.2 None 0 26.6 kB timoxley
npm/fs-extra@9.0.0 filesystem 0 129 kB ryanzim
npm/glob@7.1.6 filesystem 0 56.1 kB isaacs
npm/globby@11.1.0 filesystem +1 59.5 kB sindresorhus
npm/gzip-size@5.1.1 filesystem 0 7.48 kB sindresorhus
npm/image-size@0.9.3 filesystem 0 43 kB netroy
npm/isomorphic-unfetch@3.0.0 None 0 2.36 kB developit
npm/jest@27.0.6 None 0 4.68 kB simenb
npm/minimatch@3.0.4 None 0 33.1 kB isaacs
npm/moment@2.30.1 None 0 4.35 MB ichernev
npm/nanoid@3.1.30 None 0 25.8 kB ai
npm/node-fetch@2.6.7 network 0 152 kB endless
npm/node-notifier@8.0.1 environment, filesystem, network, shell +2 5.71 MB mikaelb
npm/pixrem@5.0.0 Transitive: environment, filesystem +2 572 kB robwierzbowski
npm/postcss-nested@4.2.1 Transitive: environment, filesystem +2 558 kB ai
npm/postcss-pseudoelements@5.0.0 Transitive: environment, filesystem +2 558 kB sventschui
npm/prettier@2.5.1 environment, eval, filesystem, unsafe 0 21 MB sosukesuzuki
npm/pretty-bytes@5.3.0 None 0 7.58 kB sindresorhus
npm/pretty-ms@7.0.0 None 0 11.9 kB sindresorhus
npm/prop-types@15.8.1 environment 0 94.5 kB ljharb
npm/random-seed@0.3.0 None 0 107 kB skratchdot
npm/react-dom@0.0.0-experimental-7028ce745-20220907 environment 0 6.54 MB acdlite
npm/react-dom@17.0.2 environment 0 2.99 MB gaearon
npm/react-dom@18.2.0 environment 0 4.5 MB gnoff
npm/react-ssr-prepass@1.0.8 environment 0 156 kB philpl
npm/react@18.2.0 environment 0 316 kB gnoff
npm/relay-runtime@13.0.2 environment 0 1.5 MB relay-bot
npm/request-promise-core@1.1.2 None +1 1.43 MB analog-nico
npm/sass@1.54.0 None 0 4.56 MB sassbot
npm/semver@7.3.7 None +1 103 kB lukekarrys
npm/send@0.17.1 filesystem, network Transitive: environment, eval +11 203 kB dougwilson
npm/shell-quote@1.7.3 None 0 22.2 kB substack
npm/styled-components@5.3.3 environment +3 2.98 MB probablyup
npm/tailwindcss@1.1.3 filesystem Transitive: environment +4 5.08 MB adamwathan
npm/typescript@4.8.2 None 0 68.7 MB typescript-bot
npm/webpack-bundle-analyzer@4.3.0 environment, filesystem, network +2 3.91 MB th0r
npm/webpack@5.74.0 environment, filesystem, network, unsafe +5 5.76 MB sokra

🚮 Removed packages: npm/@types/eslint@8.56.10, npm/@types/uuid@8.3.4, npm/ci-info@3.9.0, npm/commander@2.20.3, npm/cookie@0.5.0, npm/deepmerge@4.2.2, npm/events@3.3.0, npm/is-docker@2.2.1, npm/lru-cache@7.18.3, npm/neo-async@2.6.2, npm/p-limit@2.3.0, npm/react-is@18.3.1, npm/setimmediate@1.0.5, npm/source-map@0.6.1, npm/swr@1.3.0, npm/uuid@8.3.2, npm/ws@7.5.9

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
Protestware/Troll package npm/es5-ext@0.10.53
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/@datadog/pprof@0.3.0
  • Install script: preinstall
  • Source: node scripts/preinstall.js
  • orphan: npm/@datadog/pprof@0.3.0
Telemetry npm/next@12.3.1-canary.1
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information
  • orphan: npm/next@12.3.1-canary.1
Install scripts npm/@datadog/native-appsec@0.8.1
  • Install script: install
  • Source: node bin/appsec-reinstall.js
  • orphan: npm/@datadog/native-appsec@0.8.1
Install scripts npm/es5-ext@0.10.64
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Protestware/Troll package npm/es5-ext@0.10.64
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/nextjs-project@0.0.0
  • Install script: postinstall
  • Source: git config feature.manyFiles true && node scripts/install-native.mjs
  • orphan: npm/nextjs-project@0.0.0
Install scripts npm/core-js-pure@3.37.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"

View full report↗︎

Next steps

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.

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 telemetry?

This package contains telemetry which tracks how it is used.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

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/es5-ext@0.10.53
  • @SocketSecurity ignore npm/@datadog/pprof@0.3.0
  • @SocketSecurity ignore npm/next@12.3.1-canary.1
  • @SocketSecurity ignore npm/@datadog/native-appsec@0.8.1
  • @SocketSecurity ignore npm/es5-ext@0.10.64
  • @SocketSecurity ignore npm/nextjs-project@0.0.0
  • @SocketSecurity ignore npm/core-js-pure@3.37.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants