Uniswap / smart-order-router

GNU General Public License v3.0
384 stars 388 forks source link

chore(deps): revert update npm dependencies #624

Closed mr-uniswap closed 1 week ago

mr-uniswap commented 1 week ago

Reverts Uniswap/smart-order-router#622

socket-security[bot] commented 1 week ago

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

Package New capabilities Transitives Size Publisher
npm/@eth-optimism/sdk@3.2.2 Transitive: network +73 102 MB optibot
npm/@nomiclabs/hardhat-ethers@2.0.6 None 0 75.5 kB fvictorio
npm/@typechain/ethers-v5@7.0.1 Transitive: network +27 2.36 MB ethereum-ts-bot
npm/@uniswap/router-sdk@1.9.2 environment Transitive: network +27 2.95 MB uniswap-labs-service-account
npm/@uniswap/sdk-core@5.3.0 environment +14 1.32 MB uniswap-labs-service-account
npm/@uniswap/universal-router-sdk@2.2.0 environment +1 1.35 MB uniswap-labs-service-account
npm/@uniswap/v2-sdk@4.3.2 environment +17 1.1 MB uniswap-labs-service-account
npm/@uniswap/v3-sdk@3.13.0 environment Transitive: network +33 4.87 MB uniswap-labs-service-account
npm/jest-environment-hardhat@1.1.8 environment +1 106 kB zzmp

🚮 Removed packages: npm/@eth-optimism/sdk@3.3.2, npm/@nomiclabs/hardhat-ethers@2.2.3, npm/@typechain/ethers-v5@7.2.0, npm/@uniswap/router-sdk@1.9.3, npm/@uniswap/sdk-core@5.3.1, npm/@uniswap/universal-router-sdk@2.2.2, npm/@uniswap/v2-sdk@4.4.1, npm/@uniswap/v3-sdk@3.13.1, npm/jest-environment-hardhat@1.1.9

View full report↗︎

socket-security[bot] commented 1 week ago

🚨 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
CVE npm/braces@3.0.2 ⚠︎
CVE npm/json5@2.2.1 ⚠︎
CVE npm/json5@1.0.1 ⚠︎
Critical CVE npm/@babel/traverse@7.18.2 ⚠︎
CVE npm/moment@2.29.3 ⚠︎
CVE npm/undici@5.12.0 ⚠︎
Network access npm/undici@5.12.0 ⚠︎
Install scripts npm/@eth-optimism/contracts-bedrock@0.17.1
  • Install script: preinstall
  • Source: npx only-allow pnpm
⚠︎

View full report↗︎

Next steps

What is a CVE?

Contains a high severity Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

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/braces@3.0.2
  • @SocketSecurity ignore npm/json5@2.2.1
  • @SocketSecurity ignore npm/json5@1.0.1
  • @SocketSecurity ignore npm/@babel/traverse@7.18.2
  • @SocketSecurity ignore npm/moment@2.29.3
  • @SocketSecurity ignore npm/undici@5.12.0
  • @SocketSecurity ignore npm/@eth-optimism/contracts-bedrock@0.17.1
graphite-app[bot] commented 1 week ago

Graphite Automations

"Request reviewers once CI passes on smart-order-router repo" took an action on this PR • (06/28/24)

4 reviewers were added and 1 assignee was added to this PR based on 's automation.