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 vite from 2.9.18 to 3.2.11 #138

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

Conversation

adamlaska
Copy link
Owner

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • examples/libp2p-in-the-browser/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Information Exposure
SNYK-JS-VITE-8023174
  693  
low severity Cross-site Scripting (XSS)
SNYK-JS-VITE-8022916
  508  

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:

🦉 Cross-site Scripting (XSS)

Copy link

google-cla bot commented Sep 18, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@libp2p/[email protected] None 0 34.8 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 17.9 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 116 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 83.5 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 2.47 MB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 79 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None +1 105 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 262 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None +1 383 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 183 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 68.2 kB npm-service-account-libp2p
npm/@libp2p/[email protected] None 0 10.8 kB npm-service-account-libp2p
npm/@types/[email protected] None 0 63.1 kB types
npm/@types/[email protected] None 0 2.8 kB types
npm/@types/[email protected] None 0 5.58 kB types
npm/@types/[email protected] None 0 6.01 kB types
npm/[email protected] None 0 242 kB npm-service-account-ipfs
npm/[email protected] None +3 134 kB npm-service-account-ipfs
npm/[email protected] None 0 2.88 kB achingbrain
npm/[email protected] None 0 3.01 kB achingbrain
npm/[email protected] None 0 3.4 kB achingbrain
npm/[email protected] None 0 2.9 kB achingbrain
npm/[email protected] None 0 3.53 kB achingbrain
npm/[email protected] None 0 3.21 kB achingbrain
npm/[email protected] None 0 3.7 kB achingbrain
npm/[email protected] None 0 3.38 kB achingbrain
npm/[email protected] None 0 10.7 kB schnittstabil
npm/[email protected] None 0 14.3 kB treora
npm/[email protected] None +1 10.7 kB alanshaw
npm/[email protected] None 0 12.8 kB sindresorhus
npm/[email protected] None 0 6.96 kB sindresorhus
npm/[email protected] network 0 11.1 kB frenchbread
npm/[email protected] None 0 8.88 kB matteo.collina
npm/[email protected] None 0 16.8 kB parshap
npm/[email protected] None 0 8.21 kB vascosantos
npm/[email protected] None 0 5.91 kB jacobheun
npm/[email protected] None 0 47.3 kB mafintosh

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
HTTP dependency npm/[email protected] ⚠︎

View full report↗︎

Next steps

What are http dependencies?

Contains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.

Publish the HTTP URL dependency to npm or a private package repository and consume it from there.

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

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

Successfully merging this pull request may close these issues.

2 participants