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 lighthouse from 10.1.0 to 10.2.0 #20

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

Conversation

kingjay66
Copy link
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/utils/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
  506  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@gar/promisify@1.1.2 None 0 3.1 kB gar
npm/@types/hast@2.3.4 None 0 6.52 kB types
npm/@types/mdast@3.0.10 None 0 11.5 kB types
npm/@types/unist@2.0.6 None 0 6.6 kB types
npm/ccount@1.1.0 None 0 4.5 kB wooorm
npm/collapse-white-space@1.0.6 None 0 4.36 kB wooorm
npm/css-select@1.2.0 None 0 33.4 kB feedic
npm/dom-converter@0.2.0 None 0 7.9 kB ariaminaei
npm/hast-util-from-parse5@6.0.1 None 0 16.8 kB wooorm
npm/hast-util-to-parse5@6.0.0 None 0 10.7 kB wooorm
npm/html-void-elements@1.0.5 None 0 4.78 kB wooorm
npm/htmlparser2@3.10.1 network 0 55 kB feedic
npm/indexes-of@1.0.1 None 0 2.73 kB dominictarr
npm/is-alphabetical@1.0.4 None 0 5.01 kB wooorm
npm/is-decimal@1.0.4 None 0 4.68 kB wooorm
npm/is-whitespace-character@1.0.4 None 0 5.31 kB wooorm
npm/mdast-util-definitions@4.0.0 None 0 9.19 kB wooorm
npm/mdurl@1.0.1 None 0 22 kB vitaly
npm/minizlib@2.1.2 None 0 17.3 kB isaacs
npm/no-case@2.3.2 None 0 30.8 kB blakeembrey
npm/parse5@6.0.1 None 0 331 kB inikulin
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/uniq@1.0.1 None 0 4.32 kB mikolalysenko
npm/unist-util-generated@1.1.6 None 0 6.46 kB wooorm
npm/unist-util-position@3.1.0 None 0 6.67 kB wooorm
npm/upper-case@1.1.3 None 0 4.64 kB blakeembrey
npm/vfile@4.2.1 None 0 38.6 kB wooorm
npm/web-namespaces@1.1.4 None 0 5.14 kB wooorm
npm/zwitch@1.0.5 None 0 6.45 kB wooorm

View full report↗︎

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.

Alert Package NoteSourceCI
Trivial Package npm/is-decimal@1.0.4 🚫
Trivial Package npm/web-namespaces@1.1.4 🚫
Trivial Package npm/collapse-white-space@1.0.6 🚫
Network access npm/htmlparser2@3.10.1 🚫
New author npm/indexes-of@1.0.1 🚫

View full report↗︎

Next steps

What are trivial packages?

Packages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.

Removing this package as a dependency and implementing its logic will reduce supply chain risk.

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.

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

  • @SocketSecurity ignore npm/is-decimal@1.0.4
  • @SocketSecurity ignore npm/web-namespaces@1.1.4
  • @SocketSecurity ignore npm/collapse-white-space@1.0.6
  • @SocketSecurity ignore npm/htmlparser2@3.10.1
  • @SocketSecurity ignore npm/indexes-of@1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants