Skip to content

[Snyk] Security upgrade viem from 2.45.0 to 2.54.2#12413

Open
yisiliu wants to merge 1 commit into
developfrom
snyk-fix-f364677cb6e82ee34cee064775ab8386
Open

[Snyk] Security upgrade viem from 2.45.0 to 2.54.2#12413
yisiliu wants to merge 1 commit into
developfrom
snyk-fix-f364677cb6e82ee34cee064775ab8386

Conversation

@yisiliu

@yisiliu yisiliu commented Jul 3, 2026

Copy link
Copy Markdown
Member

snyk-top-banner

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

Snyk changed the following file(s):

  • packages/shared/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Asymmetric Resource Consumption (Amplification)
SNYK-JS-WS-17344547
  614  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@yisiliu

yisiliu commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

Merge Risk: Medium

This upgrade spans several minor versions and includes breaking changes, primarily affecting the viem/tempo module and ERC-20 token symbol resolution.

Breaking Changes:

  • v2.51.0: ERC-20 token actions no longer resolve symbols from a built-in list. Instead, they resolve from the tokens array provided to the Client. If you use token symbols (e.g., 'USDC') in actions, you must now configure the client with the tokens you intend to use.
  • v2.51.0: The viem/tempo module has breaking changes, including token balance/allowance actions now returning Amount objects and .call helpers requiring the client as the first argument.
  • v2.46.0: In viem/tempo, chainId is now a required parameter for signKeyAuthorization.

Recommendation:
Review your usage of ERC-20 actions that rely on token symbols and update your client configuration to include a tokens array. If you use the viem/tempo module, review the changelog for specific migration steps.

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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