You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user wants to switch to a network that has not been added to their network list, the switchNetwork hook (or modal.switchNetwork) suggests the walletconnect rpc instead of the default rpcurl, exposing the project ID and storing it in the user's wallet.
This means that users will also use our project ID on other websites (or within MetaMask itself), impersonating our project, consuming our API rate limit, and polluting our stats.
I think this is really bad behavior.
List of related npm package versions
@reown/appkit v1.2.1
@reown/appkit-adapter-wagmi v1.2.1
The text was updated successfully, but these errors were encountered:
vittominacori
changed the title
[bug] addNetwork expose project id and store it in user wallet
[bug] switchNetwork exposes project ID and stores it in user wallet (impersonating project)
Nov 4, 2024
Link to minimal reproducible example
https://appkit-lab.reown.com/library/wagmi/
Summary
If a user wants to switch to a network that has not been added to their network list, the
switchNetwork
hook (ormodal.switchNetwork
) suggests the walletconnect rpc instead of the default rpcurl, exposing the project ID and storing it in the user's wallet.This means that users will also use our project ID on other websites (or within MetaMask itself), impersonating our project, consuming our API rate limit, and polluting our stats.
I think this is really bad behavior.
List of related npm package versions
The text was updated successfully, but these errors were encountered: