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 @glif/filecoin-wallet-provider from 2.0.0-beta.12 to 2.0.1 #4

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

Conversation

kingjay66
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:
    • package.json
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 758/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.3
Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
Yes Proof of Concept

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

Commit messages
Package name: @glif/filecoin-wallet-provider The new version differs by 19 commits.

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:

🦉 Improper Input Validation

Copy link

aem-code-sync bot commented Jan 1, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@glif/filecoin-wallet-provider 2.0.0-beta.12...2.0.1 None +45/-11 20 MB glifbot

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.

Issue Package Version Note Source
Chronological version anomaly bn.js 5.2.1
  • Previous Chronological: bn.js@4.12.0 (2/24/2021, 7:16:47 AM)
  • Previous Semver: bn.js@5.2.0 (2/23/2021, 8:02:09 PM)
Chronological version anomaly @ethersproject/properties 5.7.0
Chronological version anomaly @ethersproject/bytes 5.7.0
Chronological version anomaly multiformats 9.9.0
Chronological version anomaly @ethersproject/logger 5.7.0
Chronological version anomaly ethers 5.7.2
Network access ethers 5.7.2
Long strings @ethersproject/hash 5.7.0
Long strings @ethersproject/wordlists 5.7.0
New author bech32 1.1.4
Semver anomaly @glif/filecoin-rpc-client 2.0.43

Next steps

What is a chronological version anomaly?

Semantic versions published out of chronological order.

This could either indicate dependency confusion or a patched vulnerability.

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's wrong with long strings?

Contains long string literals, which may be a sign of obfuscated or packed code.

Avoid publishing or consuming obfuscated or bundled code. It makes dependencies difficult to audit and undermines the module resolution system.

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 are semver anomalies?

Package semver skipped several versions, this could indicate a dependency confusion attack or indicate the intention of disruptive breaking changes or major priority shifts for the project.

Packages should follow semantic versions conventions by not skipping subsequent version numbers. Consumers should research the purpose of the skipped version number.

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 bech32@1.1.4
  • @SocketSecurity ignore @ethersproject/hash@5.7.0
  • @SocketSecurity ignore @ethersproject/wordlists@5.7.0
  • @SocketSecurity ignore bn.js@5.2.1
  • @SocketSecurity ignore @ethersproject/properties@5.7.0
  • @SocketSecurity ignore @ethersproject/bytes@5.7.0
  • @SocketSecurity ignore multiformats@9.9.0
  • @SocketSecurity ignore @ethersproject/logger@5.7.0
  • @SocketSecurity ignore ethers@5.7.2
  • @SocketSecurity ignore @glif/filecoin-rpc-client@2.0.43

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.

2 participants