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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade tronweb from 2.10.2 to 5.3.2 #87

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

Conversation

mongoloidkhulmikuki366385
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • documentation/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 676/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.1
Cross-site Request Forgery (CSRF)
SNYK-JS-AXIOS-6032459
Yes Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-JS-AXIOS-6124857
Yes Proof of Concept
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-AXIOS-6144788
Yes No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: tronweb The new version differs by 250 commits.
  • 3a81bf1 Merge pull request #480 from tronprotocol/release/v5.3.2
  • 9e59a03 feat: compat with ledger
  • 50e77f8 fix: change unit tests for getBandwidthPrices & getEnergyPrices
  • 14c3438 Merge branch 'release/v5.3.2' of github.com:tronprotocol/tronweb into release/v5.3.2
  • 0223b8e fix: replace named import with default export module
  • 5d5ba3b feat: using trongrid api parameter
  • 4eae496 feat: update readme
  • 43677b1 feat: ecRecover returns base58 format
  • 7ce7971 fix: npm audit fix
  • fb263c3 docs: add recent history
  • eb04762 feat: add ecRecover
  • fd886a3 feat: update code according to test result
  • b2c610d chore: npm audit update
  • 0bfd473 fix: issue 422
  • 16a8760 fix: issue 429
  • 972c03e feat: Support multi-dimension address array such as address[][]
  • afe95a5 feat: support tip-586
  • a2d483c feat: add function verifyTransactionIdSigner
  • e8a0cdb feat: add function verifyTransactionSigner
  • 8afa6ee feat: using Signature.from to replace custom signature
  • adfd235 feat: support inject block header info when building transaction locally
  • 4fffc59 feat: add v5.3.1 recent history
  • cd30451 Merge pull request https://troncloud.io/r/57550聽tronprotocol/sun-network#409 from tronprotocol/release/v5.3.1
  • f87a482 chore: fix version number

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


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

馃洜 Adjust project settings

馃摎 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

馃 Cross-site Request Forgery (CSRF)
馃 Regular Expression Denial of Service (ReDoS)
馃 Prototype Pollution

This PR has 2 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

Label      : Extra Small
Size       : +1 -1
Percentile : 0.8%

Total files changed: 1

Change summary by file extension:
.json : +1 -1

Change counts above are quantified counts, based on the PullRequestQuantifier customizations.

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a
balance between between PR complexity and PR review overhead. PRs within the
optimal size (typical small, or medium sized PRs) mean:

  • Fast and predictable releases to production:
    • Optimal size changes are more likely to be reviewed faster with fewer
      iterations.
    • Similarity in low PR complexity drives similar review times.
  • Review quality is likely higher as complexity is lower:
    • Bugs are more likely to be detected.
    • Code inconsistencies are more likely to be detected.
  • Knowledge sharing is improved within the participants:
    • Small portions can be assimilated better.
  • Better engineering practices are exercised:
    • Solving big problems by dividing them in well contained, smaller problems.
    • Exercising separation of concerns within the code changes.

What can I do to optimize my changes

  • Use the PullRequestQuantifier to quantify your PR accurately
    • Create a context profile for your repo using the context generator
    • Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the Excluded section from your prquantifier.yaml context profile.
    • Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your prquantifier.yaml context profile.
    • Only use the labels that matter to you, see context specification to customize your prquantifier.yaml context profile.
  • Change your engineering behaviors
    • For PRs that fall outside of the desired spectrum, review the details and check if:
      • Your PR could be split in smaller, self-contained PRs instead
      • Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).

How to interpret the change counts in git diff output

  • One line was added: +1 -0
  • One line was deleted: +0 -1
  • One line was modified: +1 -1 (git diff doesn't know about modified, it will
    interpret that line like one addition plus one deletion)
  • Change percentiles: Change characteristics (addition, deletion, modification)
    of this PR in relation to all other PRs within the repository.


Was this comment helpful? 馃憤 聽:ok_hand: 聽:thumbsdown: (Email)
Customize PullRequestQuantifier for this repository.

Copy link

Unable to locate .performanceTestingBot config file

Copy link

vizipi bot commented Feb 22, 2024

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )聽聽聽Feedback always welcome

No other active qualified developers found to review these specific changes. You might consider involving more team members with these code segments.


Potential missing files from this Pull request

No commonly committed files found with a 40% threashold


Committed file ranks

(click to expand)
  • 98.17%[documentation/package.json]
  • Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    2 participants