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

Move to yarn 3 #69

Merged
merged 8 commits into from
Jul 13, 2023
Merged

Move to yarn 3 #69

merged 8 commits into from
Jul 13, 2023

Conversation

ShaunEvening
Copy link
Contributor

@ShaunEvening ShaunEvening commented Jul 12, 2023

📦 Published PR as canary version: 1.3.3--canary.69.6753c6f.0

✨ Test out this PR locally via:

npm install @storybook/[email protected]
# or 
yarn add @storybook/[email protected]

@socket-security
Copy link

socket-security bot commented Jul 12, 2023

@socket-security
Copy link

socket-security bot commented Jul 12, 2023

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Issue Package Version Note Source
Bin script confusion @nicolo-ribaudo/semver-v6 6.3.3
Bin script confusion semver 5.7.2
Bin script confusion semver 6.3.1
Bin script confusion semver 7.0.0
Bin script confusion semver 7.5.4
New author nopt 6.0.0
Shell access node-gyp 9.4.0
Uses eval less 4.1.3

Next steps

What is bin script confusion?

This package has multiple bin scripts with the same name. This can cause non-deterministic behavior when installing or could be a sign of a supply chain attack

Consider removing one of the conflicting packages. Packages should only export bin scripts with their name

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 shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is eval?

Package uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Avoid packages that use eval, since this could potentially execute any code.

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 [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Shaun Lloyd and others added 3 commits July 12, 2023 15:48
@ShaunEvening ShaunEvening marked this pull request as ready for review July 13, 2023 15:01
@ShaunEvening ShaunEvening merged commit 7e6e008 into main Jul 13, 2023
@ShaunEvening ShaunEvening deleted the move-to-yarn-3 branch July 13, 2023 17:07
@TyIsI
Copy link

TyIsI commented Jul 31, 2023

Sorry, to comment here, but I figured I would ask this before opening an issue.

Was prettier intended to be a production dependency?

@ShaunEvening
Copy link
Contributor Author

Hey @TyIsI

Yes it was. For the auto-configuration code mods it runs prettier afterward to protect a users formatting

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants