storybookjs / react-native

📓 Storybook for React Native!
https://storybook.js.org
MIT License
995 stars 142 forks source link

feat/server v7 #530

Closed dannyhw closed 6 months ago

dannyhw commented 6 months ago

Issue:

What I did

starting to get the server working

socket-security[bot] commented 6 months ago

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

Packages Version New capabilities Transitives Size Publisher
@types/ws 7.4.7 None +0 18.9 kB types
@storybook/core-server 7.6.0-alpha.7 network, filesystem, environment +60 40.2 MB shilman
expo 50.0.0-preview.6 environment +5 1.97 MB brentvatne
@storybook/addon-actions 7.6.0-alpha.6...7.6.0-alpha.7 eval, environment +2/-30 390 kB shilman
@storybook/api 7.6.0-alpha.6...7.6.0-alpha.7 None +21/-21 3.74 MB shilman
@storybook/preview-web 7.6.0-alpha.6...7.6.0-alpha.7 None +10/-10 2.15 MB shilman
@storybook/addons 7.6.0-alpha.6...7.6.0-alpha.7 None +8/-8 2.04 MB shilman
@storybook/channel-websocket 7.6.0-alpha.6...7.6.0-alpha.7 None +9/-9 358 kB shilman
@storybook/core-client 7.6.0-alpha.6...7.6.0-alpha.7 None +10/-10 2.15 MB shilman
@storybook/addon-links 7.6.0-alpha.6...7.6.0-alpha.7 eval, environment +0/-16 327 kB shilman
@storybook/core-common 7.6.0-alpha.6...7.6.0-alpha.7 None +15/-15 1.43 MB shilman
@storybook/manager 7.6.0-alpha.6...7.6.0-alpha.7 None +0/-0 2.56 MB shilman
@storybook/manager-api 7.6.0-alpha.6...7.6.0-alpha.7 None +42/-42 7.8 MB shilman
@storybook/client-logger 7.6.0-alpha.6...7.6.0-alpha.7 None +0/-0 7.73 kB shilman
@storybook/react 7.6.0-alpha.6...7.6.0-alpha.7 None +30/-30 4.5 MB shilman
@storybook/core-events 7.6.0-alpha.6...7.6.0-alpha.7 None +0/-0 68.2 kB shilman
@storybook/builder-webpack5 7.6.0-alpha.6...7.6.0-alpha.7 None +18/-18 3.54 MB shilman
@storybook/docs-tools 7.6.0-alpha.6...7.6.0-alpha.7 None +21/-21 4 MB shilman
@storybook/preview-api 7.6.0-alpha.6...7.6.0-alpha.7 None +12/-12 1.64 MB shilman
@storybook/types 7.6.0-alpha.6...7.6.0-alpha.7 None +9/-6 518 kB shilman
@storybook/channels 7.6.0-alpha.6...7.6.0-alpha.7 None +6/-6 270 kB shilman
@react-native-async-storage/async-storage 1.18.2...1.21.0 None +0/-0 430 kB krizzu
@storybook/addon-essentials 7.6.0-alpha.6...7.6.0-alpha.7 None +54/-54 14.9 MB shilman
react-native-safe-area-context 4.6.3...4.7.4 None +0/-0 239 kB janicduplessis
@react-native-community/datetimepicker 7.2.0...7.6.1 None +0/-0 218 kB vonovak
@storybook/addon-controls 7.6.0-alpha.6...7.6.0-alpha.7 None +26/-26 13.3 MB shilman

🚮 Removed packages: react-native@0.72.3

socket-security[bot] commented 6 months ago

🚨 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
Shell access @aw-web-design/x-default-browser 1.4.126
Shell access @storybook/telemetry 7.6.0-alpha.7
Uses eval @storybook/addon-actions 7.6.0-alpha.7
Uses eval @storybook/addon-links 7.6.0-alpha.7

Next steps

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 foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore @storybook/addon-actions@7.6.0-alpha.7
  • @SocketSecurity ignore @storybook/addon-links@7.6.0-alpha.7
  • @SocketSecurity ignore @aw-web-design/x-default-browser@1.4.126
  • @SocketSecurity ignore @storybook/telemetry@7.6.0-alpha.7