Skip to content

Conversation

@wetzja04-dot
Copy link
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • packages/page-accounts/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 Allocation of Resources Without Limits or Throttling
SNYK-JS-QS-14724253
  828  

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

Copilot AI review requested due to automatic review settings January 3, 2026 10:24
@continue
Copy link

continue bot commented Jan 3, 2026

All Green - Keep your PRs mergeable

Learn more

All Green is an AI agent that automatically:

✅ Addresses code review comments

✅ Fixes failing CI checks

✅ Resolves merge conflicts


Unsubscribe from All Green comments

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 Snyk-generated security PR attempts to address a high-severity vulnerability (SNYK-JS-QS-14724253) by updating @polkadot/react-hooks. However, the proposed change introduces a critical version incompatibility issue.

Key changes:

  • Attempts to change @polkadot/react-hooks from ^0.166.2-7-x to ^0.37.1 (a downgrade)
  • Note: PR description mentions upgrading from "0.0.0-use.local" but the actual diff shows different source version
  • Snyk warning indicates yarn.lock update failed

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

"@polkadot/phishing": "^0.25.20",
"@polkadot/react-components": "^0.166.2-7-x",
"@polkadot/react-hooks": "^0.166.2-7-x",
"@polkadot/react-hooks": "^0.37.1",
Copy link

Copilot AI Jan 3, 2026

Choose a reason for hiding this comment

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

This version change appears to be incorrect and will likely break the application. The change downgrades from version 0.166.2-7-x to 0.37.1, which is a significant downgrade and inconsistent with the rest of the codebase.

Issues identified:

  1. All other @PolkaDot packages in this file use version ^0.166.2-7-x (react-components, test-support)
  2. The @polkadot/react-hooks package itself is at version 0.166.2-7-x in packages/react-hooks/package.json
  3. Other packages in the monorepo (e.g., packages/apps/package.json) use ^0.166.2-7-x for @polkadot/react-hooks
  4. The PR description mentions upgrading from "0.0.0-use.local" but the actual diff shows changing from "^0.166.2-7-x"

This change will create a version mismatch and may not actually address the security vulnerability if the vulnerability exists in the transitive dependencies. The version should remain at ^0.166.2-7-x to maintain consistency with the monorepo.

Suggested change
"@polkadot/react-hooks": "^0.37.1",
"@polkadot/react-hooks": "^0.166.2-7-x",

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