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

[Snyk] Security upgrade stylelint from 14.16.1 to 16.1.0 #33

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

fix: packages/scripts/package.json to reduce vulnerabilities

7de8a5c
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Security upgrade stylelint from 14.16.1 to 16.1.0 #33

fix: packages/scripts/package.json to reduce vulnerabilities
7de8a5c
Select commit
Loading
Failed to load commit list.
Socket Security / Socket Security: Pull Request Alerts failed Dec 25, 2023 in 6m 59s

Pull Request #33 Alerts: Complete with warnings

Report Status Message
PR #33 Alerts ⚠️ Found 66 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
Debug access css-tree 2.3.1
Dynamic require stylelint 16.1.0
Environment variable access meow 13.0.0
High entropy strings meow 13.0.0
Environment variable access rimraf 5.0.5
Filesystem access rimraf 5.0.5
Environment variable access minimatch 9.0.3
Environment variable access jackspeak 2.3.6
Modified license jackspeak 2.3.6
Non OSI license jackspeak 2.3.6
Filesystem access path-scurry 1.10.1
Modified license path-scurry 1.10.1
Non OSI license path-scurry 1.10.1
Major refactor @csstools/css-parser-algorithms 2.4.0
  • Change Percentage: 79.08
  • Current Line Count: 296
  • Previous Line Count: 249
  • Lines Changed: 431
Major refactor minipass 7.0.4
  • Change Percentage: 101.15
  • Current Line Count: 3142
  • Previous Line Count: 3142
  • Lines Changed: 6356
Major refactor @csstools/css-tokenizer 2.2.2
  • Change Percentage: 67.71
  • Current Line Count: 355
  • Previous Line Count: 543
  • Lines Changed: 608
Major refactor @csstools/media-query-list-parser 2.1.6
  • Change Percentage: 72.99
  • Current Line Count: 988
  • Previous Line Count: 1126
  • Lines Changed: 1543
Mixed license @pkgjs/parseargs 0.11.0
No v1 @pkgjs/parseargs 0.11.0
Unmaintained @pkgjs/parseargs 0.11.0
  • Last Publish: 10/10/2022, 2:18:44 PM
New author write-file-atomic 5.0.1
New author @csstools/selector-specificity 3.0.1
Unstable ownership @csstools/selector-specificity 3.0.1
No v1 eastasianwidth 0.2.0
Unmaintained eastasianwidth 0.2.0
  • Last Publish: 1/1/2018, 9:26:07 AM
Shell access foreground-child 3.1.1
Unpublished package lru-cache 10.1.0
  • Version: 10/1/2000, 12:00:00 AM

Next steps

What is debug access?

Uses debug, reflection and dynamic code execution features.

Removing the use of debug will reduce the risk of any reflection and dynamic code execution.

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 are high entropy strings?

Contains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.

Please inspect these strings to check if these strings are benign. Maintainers should clarify the purpose and existence of high entropy strings if there is a legitimate purpose.

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 modified license?

(Experimental) Package contains a modified version of an SPDX license. Please read carefully before using this code.

Packages should avoid making modifications to standard licenses.

What is a non OSI license?

(Experimental) Package has a non-OSI-approved license.

Consider the terms of the license for your given use case.

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 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 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 are unmaintained packages?

Package has not been updated in more than a year and may be unmaintained. Problems with the package may go unaddressed.

Package should publish periodic maintenance releases if they are maintained, or deprecate if they have no intention in further maintenance.

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 unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the amount of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

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 are unpublished packages?

Package version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.

Packages can be removed from the registry by manually un-publishing, a security issue removal, or may simply never have been published to the registry. Reliance on these packages will cause problem when they are not found.

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 @pkgjs/parseargs@0.11.0
  • @SocketSecurity ignore eastasianwidth@0.2.0
  • @SocketSecurity ignore meow@13.0.0
  • @SocketSecurity ignore rimraf@5.0.5
  • @SocketSecurity ignore minimatch@9.0.3
  • @SocketSecurity ignore jackspeak@2.3.6
  • @SocketSecurity ignore write-file-atomic@5.0.1
  • @SocketSecurity ignore @csstools/selector-specificity@3.0.1
  • @SocketSecurity ignore css-tree@2.3.1
  • @SocketSecurity ignore foreground-child@3.1.1
  • @SocketSecurity ignore lru-cache@10.1.0
  • @SocketSecurity ignore @csstools/css-parser-algorithms@2.4.0
  • @SocketSecurity ignore minipass@7.0.4
  • @SocketSecurity ignore @csstools/css-tokenizer@2.2.2
  • @SocketSecurity ignore @csstools/media-query-list-parser@2.1.6
  • @SocketSecurity ignore path-scurry@1.10.1
  • @SocketSecurity ignore stylelint@16.1.0