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

Add more flexible query script #542

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

Add more flexible query script #542

wants to merge 1 commit into from

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Apr 16, 2024

This replaces the query script with a CLI.

@Mrtenz Mrtenz requested a review from a team as a code owner April 16, 2024 18:38
Copy link

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

Package New capabilities Transitives Size Publisher
npm/bl@4.1.0 None 0 64.4 kB matteo.collina
npm/buffer@5.7.1 None 0 82.5 kB feross
npm/cli-cursor@3.1.0 None 0 4.37 kB sindresorhus
npm/clone@1.0.4 None 0 11.1 kB pvorb
npm/defaults@1.0.4 None 0 3.84 kB sindresorhus
npm/is-interactive@1.0.0 None 0 4.62 kB sindresorhus
npm/is-unicode-supported@0.1.0 None 0 3.54 kB sindresorhus
npm/log-symbols@4.1.0 None 0 4.58 kB sindresorhus
npm/ora@5.4.1 None 0 23.2 kB sindresorhus
npm/restore-cursor@3.1.0 None 0 2.82 kB sindresorhus
npm/wcwidth@1.0.1 None 0 14.2 kB timoxley

🚮 Removed packages: npm/buffer@6.0.3

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 Note
New author npm/defaults@1.0.4

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.

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/defaults@1.0.4

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.

1 participant