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(deps-dev): bump vitest and @vitest/coverage-v8 #136

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

build(deps-dev): bump vitest and @vitest/coverage-v8

6fb9226
Select commit
Loading
Failed to load commit list.
Open

build(deps-dev): bump vitest and @vitest/coverage-v8 #136

build(deps-dev): bump vitest and @vitest/coverage-v8
6fb9226
Select commit
Loading
Failed to load commit list.
Socket Security / Socket Security: Pull Request Alerts failed Dec 5, 2023 in 1m 35s

Pull Request #136 Alerts: Complete with warnings

Report Status Message
PR #136 Alerts ⚠️ Found 115 project alerts

Pull request alerts notify when new issues are detected between the diff of the pull request and it's target branch.

Details

🚨 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
Chronological version anomaly @babel/helper-string-parser 7.23.4
Chronological version anomaly nanoid 3.3.7
Dynamic require rollup 4.6.1
Environment variable access rollup 4.6.1
Filesystem access rollup 4.6.1
Mixed license rollup 4.6.1
Uses eval rollup 4.6.1
Empty package @rollup/rollup-android-arm-eabi 4.6.1
Empty package @rollup/rollup-android-arm64 4.6.1
Empty package @rollup/rollup-darwin-arm64 4.6.1
Empty package @rollup/rollup-darwin-x64 4.6.1
Empty package @rollup/rollup-linux-arm-gnueabihf 4.6.1
Empty package @rollup/rollup-linux-arm64-gnu 4.6.1
Empty package @rollup/rollup-linux-arm64-musl 4.6.1
Empty package @rollup/rollup-linux-x64-gnu 4.6.1
Empty package @rollup/rollup-linux-x64-musl 4.6.1
Empty package @rollup/rollup-win32-arm64-msvc 4.6.1
Empty package @rollup/rollup-win32-ia32-msvc 4.6.1
Empty package @rollup/rollup-win32-x64-msvc 4.6.1
Environment variable access vite-node 1.0.1
Environment variable access vite 5.0.5
Major refactor vite 5.0.5
  • Change Percentage: 78.06
  • Current Line Count: 88414
  • Previous Line Count: 88303
  • Lines Changed: 137951
Environment variable access vitest 1.0.1
Filesystem access magicast 0.3.2
No v1 magicast 0.3.2
Major refactor local-pkg 0.5.0
  • Change Percentage: 103.63
  • Current Line Count: 692
  • Previous Line Count: 797
  • Lines Changed: 1543
Shell access tinypool 0.8.1

Next steps

What is a chronological version anomaly?

Semantic versions published out of chronological order.

This could either indicate dependency confusion or a patched vulnerability.

What is dynamic require?

Dynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.

Packages should avoid dynamic imports when possible. Audit the use of dynamic require to ensure it is not executing malicious or vulnerable code.

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is a mixed license?

(Experimental) Package contains multiple licenses.

A new version of the package should be published that includes a single license. Consumers may seek clarification from the package author. Ensure that the license details are consistent across the LICENSE file, package.json license field and license details mentioned in the README.

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.

What is an empty package?

Package does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.

Remove dependencies that do not export any code or functionality and ensure the package version includes all of the files it is supposed to.

What is a major refactor?

Package has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.

Consider waiting before upgrading to see if any issues are discovered, or be prepared to scrutinize any bugs or subtle changes the major refactor may bring. Publishers my consider publishing beta versions of major refactors to limit disruption to parties interested in the new changes.

What is wrong with semver < v1?

Package is not semver >=1. This means it is not stable and does not support ^ ranges.

If the package sees any general use, it should begin releasing at version 1.0.0 or later to benefit from semver.

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.

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