Skip to content

[Snyk] Fix for 5 vulnerabilities#464

Open
revan-zhang wants to merge 1 commit into
masterfrom
snyk-fix-b853fe86003f275abdd5c44ebe2661a4
Open

[Snyk] Fix for 5 vulnerabilities#464
revan-zhang wants to merge 1 commit into
masterfrom
snyk-fix-b853fe86003f275abdd5c44ebe2661a4

Conversation

@revan-zhang
Copy link
Copy Markdown
Contributor

@revan-zhang revan-zhang commented Apr 10, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • packages/example/package.json
  • packages/example/yarn.lock

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.

Vulnerabilities that will be fixed with an upgrade:

Issue
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-AXIOS-15930944
high severity Prototype Pollution
SNYK-JS-DEFU-15914644
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15921797
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15954202
critical severity Improper Verification of Cryptographic Signature
SNYK-JS-STABLELIBED25519-15914262

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:

🦉 Allocation of Resources Without Limits or Throttling
🦉 Prototype Pollution


Open with Devin

@revan-zhang
Copy link
Copy Markdown
Contributor Author

revan-zhang commented Apr 10, 2026

Snyk checks have failed. 11 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (11)
Open Source Security 0 1 0 0 1 issues
Licenses 0 0 10 0 10 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​aptos-labs/​ts-sdk@​1.33.0 ⏵ 1.39.097100100 +150 -45100
Added@​solana/​wallet-standard-wallet-adapter-react@​1.1.41001006780100
Added@​solana/​wallet-adapter-wallets@​0.19.36971006783100
Added@​polkadot/​extension-dapp@​0.57.1861006994100
Added@​radix-ui/​react-label@​2.1.11001007091100
Added@​onekeyfe/​onekey-webln-provider@​2.2.6679100709690
Added@​onekeyfe/​onekey-conflux-provider@​2.2.6679100709690
Added@​radix-ui/​react-separator@​1.1.11001007091100
Added@​benfen/​dapp-kit@​0.0.3761007080100
Added@​solana/​wallet-standard-util@​1.1.21001007180100
Added@​onekeyfe/​onekey-cardano-provider@​2.2.6679100719690
Added@​onekeyfe/​onekey-tron-provider@​2.2.6679100719690
Added@​onekeyfe/​onekey-sui-provider@​2.2.6679100719690
Added@​onekeyfe/​onekey-near-provider@​2.2.6676100719690
Added@​keystonehq/​keystone-sdk@​0.9.1791007286100
Added@​radix-ui/​react-slot@​1.1.11001007291100
Added@​onekeyfe/​onekey-solana-provider@​2.2.6680100729690
Added@​onekeyfe/​onekey-cosmos-provider@​2.2.6680100729690
Added@​radix-ui/​react-switch@​1.1.2991007391100
Added@​aptos-labs/​siwa@​0.4.0771007387100
Added@​radix-ui/​react-checkbox@​1.1.3991007392100
Added@​solana/​wallet-adapter-react-ui@​0.9.351001007383100
Added@​onekeyfe/​onekey-aptos-provider@​2.2.6681100739690
Added@​radix-ui/​react-tabs@​1.1.2991007392100
Added@​cosmjs/​amino@​0.32.41001007488100
Added@​radix-ui/​react-radio-group@​1.2.2991007492100
Added@​radix-ui/​react-popover@​1.1.4991007492100
Added@​radix-ui/​react-dialog@​1.1.4991007591100
Added@​radix-ui/​react-tooltip@​1.1.6991007592100
Added@​starcoin/​starmask-onboarding@​1.2.0761009481100
Added@​radix-ui/​react-toast@​1.2.4991007692100
Added@​benfen/​wallet-kit@​0.1.6761009680100
Added@​tomo-inc/​wallet-connect-sdk@​0.3.10761009990100
See 22 more rows in the dashboard

View full report

@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Critical
Critical CVE: Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string)

CVE: GHSA-vjh7-7g9h-fjfh Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string) (CRITICAL)

Affected versions: < 6.6.1

Patched version: 6.6.1

From: ?npm/@starcoin/starcoin@2.3.7npm/@alephium/web3-react@1.11.1npm/elliptic@6.5.4

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: 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@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/elliptic@6.5.4. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string)

CVE: GHSA-vjh7-7g9h-fjfh Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string) (CRITICAL)

Affected versions: < 6.6.1

Patched version: 6.6.1

From: ?npm/@alephium/web3-react@1.11.1npm/elliptic@6.6.0

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: 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@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/elliptic@6.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm @react-native/debugger-frontend is 96.0% likely obfuscated

Confidence: 0.96

Location: Package overview

From: ?npm/@react-native/debugger-frontend@0.76.6

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: 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@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@react-native/debugger-frontend@0.76.6. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 3 additional findings in Devin Review.

Open in Devin Review

"msw": "^2.4.1",
"near-api-js": "^0.44.2",
"next": "^13.5.9",
"next": "^15.5.15",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 next export CLI command removed in Next.js 14+, breaking the build script

The build script at line 9 runs next build && next export, but next export was removed as a standalone CLI command in Next.js 14. With the upgrade from next ^13.5.9 to ^15.5.15, this build command will fail with an error like "next export" does not exist. In Next.js 14+, static export must be configured via output: 'export' in next.config.js, and next build alone produces the static output. The next.config.js at packages/example/next.config.js does not have output: 'export' set.

Prompt for agents
The build script in packages/example/package.json (line 9) uses `next build && next export`, but `next export` was removed in Next.js 14. Since this PR bumps next to ^15.5.15, the build will fail.

To fix this:
1. In packages/example/next.config.js, add `output: 'export'` to the nextConfig object.
2. In packages/example/package.json, change the build script from `cross-env NODE_OPTIONS=--openssl-legacy-provider next build && next export` to just `cross-env NODE_OPTIONS=--openssl-legacy-provider next build`.

Also note that `next-compose-plugins` and `next-fonts` are unmaintained and may not be compatible with Next.js 15 — test the build after making these changes. The `eslint-config-next` devDependency is still pinned to `13.5.6` and should be updated to match the Next.js major version (15.x).
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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