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] Fix for 15 vulnerabilities #9

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

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Dec 14, 2024

snyk-top-banner

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

Snyk changed the following file(s):

  • 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
high severity Access Control Bypass
SNYK-JS-VITE-6182924
  225  
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
  218  
high severity Path Equivalence
SNYK-JS-VITE-5664718
  212  
high severity Prototype Pollution
SNYK-JS-PROTOBUFJS-5756498
  209  
medium severity Improper Access Control
SNYK-JS-VITE-6531286
  207  
low severity Cross-site Scripting (XSS)
SNYK-JS-VITE-8022916
  182  
medium severity Prototype Pollution
SNYK-JS-JSON5-3182856
  180  
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GETFUNCNAME-5923417
  176  
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
  169  
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
  159  
medium severity Information Exposure
SNYK-JS-VITE-8023174
  157  
medium severity Cross-site Scripting (XSS)
SNYK-JS-ROLLUP-8073097
  108  
medium severity Race Condition
SNYK-JS-WEB3REACTMETAMASK-5430442
  94  
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
  45  
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
  44  

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:

🦉 Uncontrolled resource consumption
🦉 Prototype Pollution
🦉 Improper Input Validation
🦉 More lessons are available in Snyk Learn

Summary by Sourcery

Bug Fixes:

  • Upgrade dependencies in package.json to address 15 vulnerabilities identified by Snyk.

Copy link

sourcery-ai bot commented Dec 14, 2024

Reviewer's Guide by Sourcery

This PR updates multiple package dependencies to fix 15 security vulnerabilities. The changes are implemented through direct version upgrades in package.json, focusing on packages with known security issues. The most significant updates include Vite, web3-react/metamask, and several development dependencies.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Major version upgrades to core development dependencies
  • Upgraded Vite from 3.2.5 to 6.0.0
  • Updated @vitejs/plugin-react from 2.0.1 to 4.1.1
  • Upgraded ts-jest from 28.0.8 to 29.1.1
package.json
Security-related updates to web3 and blockchain dependencies
  • Updated @web3-react/metamask from 8.0.28-beta.0 to 8.2.0
  • Changed comet dependency from Git reference to version 1.0.0
  • Upgraded ipfs-http-client from 52.0.5 to 60.0.1
package.json
Style and development utility updates
  • Upgraded sass from 1.49.8 to 1.79.0
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, snyk-io[bot]!). We assume it knows what it's doing!
  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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

Successfully merging this pull request may close these issues.

0 participants