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 chokidar from 2.1.8 to 3.0.0 #10

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

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented May 23, 2024

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


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • libs/remixd/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 169/1000
Why? Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: Proof of Concept, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.00045, Social Trends: No, Days since published: 9, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 5.99, Likelihood: 2.81, Score Version: V5
Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: chokidar The new version differs by 113 commits.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.

Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncontrolled resource consumption

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@electron/rebuild@3.2.13 environment, filesystem, network, shell +2 189 kB electron-cfa
npm/@ethereumjs/common@2.6.5 None +5 7.14 MB holgerd77
npm/@ethersproject/abi@5.7.0 None 0 498 kB ricmoo
npm/@ethersproject/abstract-provider@5.7.0 None 0 61 kB ricmoo
npm/@ethersproject/abstract-signer@5.7.0 None 0 82.2 kB ricmoo
npm/@ethersproject/address@5.7.0 None 0 33.1 kB ricmoo
npm/@ethersproject/base64@5.7.0 None 0 11.3 kB ricmoo
npm/@ethersproject/basex@5.7.0 None 0 30.1 kB ricmoo
npm/@ethersproject/bignumber@5.7.0 None 0 143 kB ricmoo
npm/@ethersproject/bytes@5.7.0 None 0 80.9 kB ricmoo
npm/@ethersproject/constants@5.7.0 None 0 18.7 kB ricmoo
npm/@ethersproject/hash@5.7.0 None 0 257 kB ricmoo
npm/@ethersproject/hdnode@5.7.0 None 0 80.7 kB ricmoo
npm/@ethersproject/json-wallets@5.7.0 None +1 2.56 MB ricmoo
npm/@ethersproject/keccak256@5.7.0 None 0 6.09 kB ricmoo
npm/@ethersproject/logger@5.7.0 None 0 69.5 kB ricmoo
npm/@ethersproject/networks@5.7.1 None 0 47.5 kB ricmoo
npm/@ethersproject/pbkdf2@5.7.0 None 0 17.4 kB ricmoo
npm/@ethersproject/properties@5.7.0 None 0 31 kB ricmoo
npm/@ethersproject/random@5.7.0 None 0 17.3 kB ricmoo
npm/@ethersproject/rlp@5.7.0 None 0 29.6 kB ricmoo
npm/@ethersproject/sha2@5.7.0 None 0 21.7 kB ricmoo
npm/@ethersproject/signing-key@5.7.0 None 0 244 kB ricmoo
npm/@ethersproject/strings@5.7.0 None 0 119 kB ricmoo
npm/@ethersproject/transactions@5.7.0 None 0 89.6 kB ricmoo
npm/@ethersproject/web@5.7.1 network 0 128 kB ricmoo
npm/@ethersproject/wordlists@5.7.0 None 0 390 kB ricmoo
npm/@noble/curves@1.1.0 None 0 1.3 MB paulmillr
npm/@noble/hashes@1.3.1 None 0 743 kB paulmillr
npm/@openzeppelin/contracts-upgradeable@5.0.2 None 0 1.22 MB amxx
npm/@openzeppelin/contracts@5.0.2 None 0 1.7 MB frangio
npm/@openzeppelin/upgrades-core@1.30.1 filesystem Transitive: environment +41 12.8 MB ericglau
npm/@openzeppelin/wizard@0.4.0 None +4 1.92 MB ericglau
npm/@remix-project/remix-url-resolver@0.0.65 environment Transitive: filesystem, network +5 2.06 MB aniket-engg
npm/@remix-project/remix-ws-templates@1.0.27 Transitive: network +17 16.9 MB aniket-engg
npm/@remix-project/remixd@0.6.30 Transitive: environment, filesystem, network, shell +68 4.02 MB aniket-engg
npm/@remixproject/engine-electron@0.3.41 None +2 109 kB bunsenstraat
npm/@remixproject/engine@0.3.41 None +1 127 kB bunsenstraat
npm/@remixproject/plugin-api@0.3.38 None +1 93.5 kB bunsenstraat
npm/@remixproject/plugin-electron@0.3.41 None +1 41.7 kB bunsenstraat
npm/@remixproject/plugin@0.3.41 network +1 75.9 kB bunsenstraat
npm/@sindresorhus/is@4.6.0 None 0 57.5 kB sindresorhus
npm/@types/bn.js@5.1.3 None +1 3.8 MB types
npm/@types/byline@4.2.35 None +1 3.79 MB types
npm/@types/cacheable-request@6.0.3 None +4 3.82 MB types
npm/@types/express@4.17.21 None +9 3.89 MB types
npm/@types/mime@1.3.5 None 0 3.78 kB types
npm/@vscode/ripgrep@1.15.6 environment, filesystem, network, shell +2 79 kB vscode-bot
npm/@xmldom/xmldom@0.8.10 None 0 182 kB karfau
npm/add@2.0.6 None 0 8.06 kB benng
npm/agent-base@6.0.2 None 0 34.6 kB tootallnate
npm/ansi-styles@4.3.0 None +2 50.9 kB sindresorhus
npm/arraybuffer.prototype.slice@1.0.1 None +2 38.8 kB ljharb
npm/axios@1.6.1 network 0 1.8 MB jasonsaayman
npm/body-parser@1.20.2 network Transitive: filesystem +4 437 kB dougwilson
npm/byline@5.0.0 None 0 10 kB jahewson
npm/call-bind@1.0.5 None 0 21.1 kB ljharb
npm/camelcase@6.3.0 None 0 11.7 kB sindresorhus
npm/content-type@1.0.5 None 0 10.5 kB dougwilson
npm/cross-env@7.0.3 environment 0 29.1 kB kentcdodds
npm/cross-spawn@7.0.3 environment, filesystem, shell 0 21.2 kB satazor
npm/defer-to-connect@2.0.1 None 0 5.44 kB szmarczak
npm/define-data-property@1.1.1 None +2 46.3 kB ljharb
npm/define-properties@1.2.0 None +2 48.3 kB ljharb
npm/define-properties@1.2.1 None 0 12.9 kB ljharb
npm/depd@2.0.0 environment, eval 0 27.1 kB dougwilson
npm/electron-builder@23.6.0 Transitive: environment, eval, filesystem, network, shell +50 148 MB onegoldfishh
npm/electron-devtools-installer@3.2.0 filesystem, network +1 110 kB marshallofsound
npm/electron@25.9.5 environment, filesystem, shell Transitive: network +13 8.78 MB electron-nightly
npm/es-abstract@1.22.1 None +31 3.65 MB ljharb
npm/es5-ext@0.10.63 eval +4 580 kB medikoo
npm/ethereum-cryptography@2.1.2 None +3 574 kB paulmillr
npm/express@4.19.2 environment, filesystem, network +13 363 kB wesleytodd
npm/follow-redirects@1.15.6 network 0 29.4 kB rubenverborgh
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/function.prototype.name@1.1.5 None 0 17 kB ljharb
npm/functions-have-names@1.2.3 None 0 16.7 kB ljharb
npm/get-intrinsic@1.2.1 eval +3 74.4 kB ljharb
npm/get-intrinsic@1.2.2 eval +1 50.7 kB ljharb
npm/glob@7.2.3 filesystem Transitive: environment +4 78.8 kB isaacs
npm/got@11.8.6 filesystem, network +10 4.21 MB sindresorhus
npm/graceful-fs@4.2.11 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/he@1.2.0 None 0 124 kB mathias
npm/http-server@14.1.1 environment, filesystem, network Transitive: shell +22 3.31 MB thornjad
npm/is-array-buffer@3.0.2 None 0 11.9 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
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-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/is-typed-array@1.1.12 None 0 17.6 kB ljharb
npm/isomorphic-git@1.24.2 network +6 3.2 MB wmhilton
npm/lazy-val@1.0.5 None 0 2.58 kB develar
npm/log-symbols@4.1.0 None +1 8.12 kB sindresorhus
npm/minimatch@3.1.2 None +3 57.8 kB isaacs
npm/minimist@1.2.8 None 0 54.5 kB ljharb
npm/minipass@5.0.0 None 0 69.5 kB isaacs
npm/minizlib@2.1.2 None 0 17.3 kB isaacs
npm/mkdirp@1.0.4 environment, filesystem 0 19.1 kB isaacs
npm/nightwatch@2.3.9 environment, filesystem, network, shell Transitive: eval +143 16.3 MB beatfactor
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert
npm/object-inspect@1.12.3 None 0 94.8 kB ljharb
npm/picomatch@2.3.1 None 0 90 kB mrmlnc
npm/rc@1.2.8 environment, filesystem +3 40.8 kB dominictarr
npm/readable-stream@3.6.2 environment +1 138 kB matteo.collina
npm/regexp.prototype.flags@1.5.0 None 0 38.5 kB ljharb
npm/safe-array-concat@1.0.0 None +1 14.7 kB ljharb
npm/set-function-name@2.0.1 None +1 19.5 kB ljharb
npm/string-width@4.2.3 None +2 58.4 kB sindresorhus
npm/string.prototype.trim@1.2.7 None 0 31.7 kB ljharb
npm/string.prototype.trimend@1.0.6 None 0 21.2 kB ljharb
npm/string.prototype.trimstart@1.0.6 None 0 21.4 kB ljharb
npm/strip-ansi@6.0.1 None +1 9.64 kB sindresorhus
npm/tree-kill@1.2.2 shell 0 7.82 kB wmhilton
npm/type-detect@4.0.8 None 0 42.1 kB chaijs
npm/which-typed-array@1.1.11 None +4 79.5 kB ljharb
npm/yargs-parser@20.2.4 environment, filesystem 0 120 kB oss-bot

🚮 Removed packages: npm/@babel/core@7.0.0-beta.56, npm/@ethereum-waffle/chai@3.4.4, npm/@remix-project/remix-astwalker@0.0.78, npm/@remix-project/remix-simulator@0.2.48, npm/@remix-project/remix-solidity@0.5.34, npm/@types/chai@4.3.16, npm/babel-eslint@7.2.3, npm/babel-plugin-transform-object-assign@6.22.0, npm/babel-preset-es2015@6.24.1, npm/ts-node@8.10.2, npm/typescript@3.9.10, npm/typescript@4.9.5

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
Telemetry npm/nightwatch@2.3.9
  • Note: The code is a module for collecting and sending analytics data to Google Analytics. It has potential security risks and issues related to input validation, file handling, and server communication. Further validation, sanitization, and error handling are recommended to mitigate these risks.
Install scripts npm/fsevents@1.2.13
  • Install script: install
  • Source: node install.js
Install scripts npm/@vscode/ripgrep@1.15.6
  • Install script: postinstall
  • Source: node ./lib/postinstall.js
Install scripts npm/electron@25.9.5
Install scripts npm/es5-ext@0.10.63
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}"

View full report↗︎

Next steps

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.

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/nightwatch@2.3.9
  • @SocketSecurity ignore npm/fsevents@1.2.13
  • @SocketSecurity ignore npm/@vscode/ripgrep@1.15.6
  • @SocketSecurity ignore npm/electron@25.9.5
  • @SocketSecurity ignore npm/es5-ext@0.10.63

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.

0 participants