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

devDeps: add depcheck, lint:dependencies packages script #112

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

legobeat
Copy link
Contributor

Was previously also part of #98

@socket-security
Copy link

socket-security bot commented Aug 31, 2023

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

Packages Version New capabilities Transitives Size Publisher
depcheck 1.4.5 filesystem +34 8.85 MB rumpl

🚮 Removed packages: fast-deep-equal@2.0.1

@socket-security
Copy link

socket-security bot commented Aug 31, 2023

👍 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: global-prefix@1.0.2, resolve-dir@1.0.1, expand-tilde@2.0.2, cosmiconfig@7.1.0, is-windows@1.0.2, homedir-polyfill@1.0.3, @types/minimatch@3.0.5, semver-compare@1.0.0, please-upgrade-node@3.2.0, detect-file@1.0.0, deps-regex@0.1.4, source-map-js@1.0.2, @types/parse-json@4.0.0, parse-passwd@1.0.0, multimatch@5.0.0, require-package-name@2.0.1, global-modules@1.0.0, findup-sync@5.0.0, array-differ@3.0.0, readdirp@3.6.0, callsite@1.0.0, arrify@2.0.1, depcheck@1.4.5

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 package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

@legobeat

This comment was marked as resolved.

@legobeat legobeat marked this pull request as ready for review August 31, 2023 23:12
@legobeat legobeat requested a review from a team as a code owner August 31, 2023 23:12
@legobeat legobeat added the dependencies Pull requests that update a dependency file label Aug 31, 2023
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@legobeat legobeat merged commit 96115d4 into MetaMask:main Oct 7, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants