Skip to content

Conversation

@MastaTrill
Copy link
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • mobile-app/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Improper Verification of Cryptographic Signature
SNYK-JS-ELLIPTIC-8187303
  786  
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-12704893
  716  
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-12761655
  716  
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
  646  

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:

🦉 Server-side Request Forgery (SSRF)

Copilot AI review requested due to automatic review settings January 1, 2026 11:41
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 1, 2026

Deploying aetheron-platform with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6c57349
Status:🚫  Build failed.

View logs

@vercel
Copy link

vercel bot commented Jan 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
aetheron Error Error Jan 1, 2026 11:43am
vercel-node-app-1 Error Error Jan 1, 2026 11:43am

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 1, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
aetheron 6c57349 Jan 01 2026, 11:41 AM

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This is a Snyk-generated security fix PR that addresses 4 vulnerabilities (1 critical, 2 high, 1 medium severity) by upgrading two npm dependencies in the mobile application.

  • Upgrades ethers from v5.7.2 to v6.0.0 to fix critical cryptographic signature verification vulnerability (SNYK-JS-ELLIPTIC-8187303)
  • Upgrades react-native from 0.73.2 to 0.73.5 to fix three SSRF vulnerabilities in the ip package (SNYK-JS-IP-12704893, SNYK-JS-IP-12761655, SNYK-JS-IP-7148531)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@walletconnect/react-native-compat": "^2.11.0",
"@walletconnect/web3-provider": "^1.8.0",
"ethers": "^5.7.2",
"ethers": "^6.0.0",
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

This upgrade from ethers v5 to v6 introduces breaking API changes that are incompatible with the existing codebase. The current code uses v5 APIs extensively throughout multiple files (Web3Context.tsx, useAetheron.ts, useStaking.ts, useSwapQuote.ts, StakingScreen.tsx, SwapScreen.tsx) that have been removed or renamed in v6:

  • ethers.providers.Web3Provider has been replaced with ethers.BrowserProvider
  • ethers.utils.formatEther / parseEther / formatUnits / parseUnits have moved to top-level functions
  • ethers.constants.AddressZero has been replaced with ethers.ZeroAddress

All code using ethers must be updated to the v6 API before this package upgrade can be applied. Without these changes, the application will fail at runtime.

Suggested change
"ethers": "^6.0.0",
"ethers": "^5.7.2",

Copilot uses AI. Check for mistakes.
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.

3 participants