NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
https://hardhat.org
MIT License
163 stars 36 forks source link

Use newest Slang 0.14.0 #554

Closed Xanewok closed 2 months ago

socket-security[bot] commented 2 months ago

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

Package New capabilities Transitives Size Publisher
npm/@nomicfoundation/slang@0.14.0 filesystem, shell +9 38.5 MB nomic-foundation-publisher
npm/@openzeppelin/contracts@4.5.0 None 0 1.47 MB frangio
npm/@types/node@16.18.12 None 0 3.43 MB types
npm/hardhat@2.9.1 environment, filesystem, network, shell Transitive: eval, unsafe +290 79 MB alcuadrado
npm/ts-node@10.7.0 environment, filesystem, unsafe +14 1.71 MB cspotcode
npm/typescript@4.6.2 None 0 64.7 MB typescript-bot

🚮 Removed packages: npm/@nomicfoundation/slang@0.13.1, npm/module-alias@2.2.2, npm/nyc@15.1.0, npm/prettier-plugin-solidity@1.1.2, npm/prettier@2.5.1, npm/rimraf@3.0.2, npm/semver@7.5.4, npm/serialize-error@8.1.0, npm/sinon@12.0.1

View full report↗︎

socket-security[bot] commented 2 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/core-js-pure@3.28.0

View full report↗︎

Next steps

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

Xanewok commented 2 months ago

I'm not sure why Socket flags these as new/removed? This only changes the slang dependency in the lockfile. Shouldn't it be performing the analysis with the equivalent of npm ci/frozen lockfile?

Xanewok commented 2 months ago

@SocketSecurity ignore npm/core-js-pure@3.28.0

This is a postinstall that displays the original core-js "please sponsor me" message.