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

Build: Upgrade testing package in scripts #23007

Merged
merged 1 commit into from
Jun 9, 2023
Merged

Conversation

ndelangen
Copy link
Member

No description provided.

@ndelangen ndelangen self-assigned this Jun 9, 2023
@socket-security
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.

Issue Package Version Note Source
Uses eval @testing-library/react 14.0.0 scripts/package.json

Next steps

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 @testing-library/react@14.0.0

@socket-security
Copy link

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives1 Size Publisher
@testing-library/react 🆕 14.0.0 eval, environment +2 8.27 MB testing-library-bot
@testing-library/user-event 🆕 14.4.3 None +1 3.37 MB testing-library-bot
@testing-library/dom 🆕 9.3.0 None +0 2.95 MB testing-library-bot

🚮 Removed packages: zx@7.2.2

Footnotes

  1. https://docs.socket.dev

Base automatically changed from norbert/upgrade-nanoid to next June 9, 2023 13:49
@ndelangen ndelangen changed the title Build: upgrade testing package in scripts Build: Upgrade testing package in scripts Jun 9, 2023
@ndelangen ndelangen merged commit 2068bed into next Jun 9, 2023
@ndelangen ndelangen deleted the norbert/upgrades-testing branch June 9, 2023 14:15
@shilman shilman added build Internal-facing build tooling & test updates and removed dependencies labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Internal-facing build tooling & test updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants