Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

chore(deps): replace superstruct imports with @metamask/superstruct #328

Closed
wants to merge 19 commits into from

Merge branch 'main' into replace-superstruct-with-fork

d7e849b
Select commit
Loading
Failed to load commit list.
Closed

chore(deps): replace superstruct imports with @metamask/superstruct #328

Merge branch 'main' into replace-superstruct-with-fork
d7e849b
Select commit
Loading
Failed to load commit list.
Socket Security / Socket Security: Pull Request Alerts failed Jul 15, 2024 in 12s

Pull Request #328 Alerts: Complete with warnings

Report Status Message
PR #328 Alerts ⚠️ Found 7 project alerts

Pull request alerts notify when new issues are detected between the diff of the pull request and it's target branch.

Details

🚨 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
New author npm/istanbul-lib-report@3.0.1 🚫
New author npm/extension-port-stream@3.0.0 🚫
New author npm/diff@5.2.0 🚫
New author npm/superstruct@1.0.4 🚫
New author npm/micromatch@4.0.7 🚫
New author npm/node-gyp@10.2.0 🚫
Unstable ownership npm/node-gyp@10.2.0 🚫

View full report↗︎

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the amount of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

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/istanbul-lib-report@3.0.1
  • @SocketSecurity ignore npm/extension-port-stream@3.0.0
  • @SocketSecurity ignore npm/diff@5.2.0
  • @SocketSecurity ignore npm/superstruct@1.0.4
  • @SocketSecurity ignore npm/micromatch@4.0.7
  • @SocketSecurity ignore npm/node-gyp@10.2.0