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: [email protected]>~0.72.14 #29

Draft
wants to merge 43 commits into
base: main
Choose a base branch
from

Conversation

legobeat
Copy link

@legobeat legobeat commented May 23, 2024

@legobeat legobeat requested review from leotm and a team May 23, 2024 21:01
Copy link

socket-security bot commented May 24, 2024

Report too large to display inline

View full report↗︎

Copy link

socket-security bot commented May 24, 2024

🚨 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
Deprecated npm/@babel/[email protected]
  • Reason: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
⚠︎
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
Network access npm/@azure/[email protected] 🚫
New author npm/[email protected] 🚫
Shell access npm/@react-native-community/[email protected] 🚫
AI warning npm/@react-native-community/[email protected]
  • Notes: The code is generally intended for shortcut creation but poses a security risk due to its method of executing a VBScript file that could be manipulated or misused. External command execution increases the risk. No immediate signs of malicious intent, but the approach has inherent risks and could potentially be leveraged for harmful purposes if input is not properly sanitized or secured.
  • Confidence: 1.00
  • Severity: 0.60
⚠︎
Shell access npm/@react-native-community/[email protected] 🚫
Shell access npm/@opentelemetry/[email protected] 🚫
Shell access npm/@opentelemetry/[email protected] 🚫
Network access npm/[email protected] 🚫

Ignoring: npm/@react-native/[email protected]

View full report↗︎

Next steps

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

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 an AI-detected potential code anomaly?

AI has identified unusual behaviors that may pose a security risk.

An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

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

@legobeat legobeat marked this pull request as ready for review May 28, 2024 18:42
@legobeat
Copy link
Author

@SocketSecurity ignore npm/[email protected]

shell access, install scripts ok

@legobeat
Copy link
Author

@SocketSecurity ignore npm/[email protected]
@SocketSecurity ignore npm/@appium/[email protected]

network access ok

@legobeat
Copy link
Author

@SocketSecurity ignore npm/[email protected]
@SocketSecurity ignore npm/[email protected]

shell access ok

@legobeat
Copy link
Author

@SocketSecurity ignore npm/@react-native/[email protected]
@SocketSecurity ignore npm/[email protected]

new authors ok

@legobeat legobeat mentioned this pull request May 28, 2024
2 tasks
@legobeat legobeat requested review from sethkfman, cortisiko and a team and removed request for a team, sethkfman and cortisiko May 28, 2024 20:13
@legobeat legobeat force-pushed the devdeps-react-native-0.72 branch 2 times, most recently from a3b7413 to 5fc06a4 Compare May 29, 2024 06:03
@leotm
Copy link
Member

leotm commented May 29, 2024

Comment on lines +25 to 26
distribution: zulu
java-version: 11
Copy link
Member

Choose a reason for hiding this comment

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

best we stick to zulu@11 for RN 0.72
then introduce JDK 17 in RN 0.73
like upstream

legobeat and others added 27 commits September 11, 2024 02:05
This reverts commit fcf380e.
    $ /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -workspace WebviewExample.xcworkspace -list

    User defaults from command line:
        IDEPackageSupportUseBuiltinSCM = YES
    There are no schemes in workspace "WebviewExample".
Could not find method implementation()...
Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
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.

3 participants