How to upgrade my security of the FE app.
Unanswered
Bluethroat posted this in #help-forum
BluethroatOP
Hello, I have a Next.js (App router) app, basically a blog with option to submit some events (eg concerts with name and time) which are saved in a CMS.
Last night I got an error from Sentry saying a web3 wallet was trying to connect to my site. It should not happen.
Error: TypeError: window.ethereum._handleChainChanged is not a function
at None (app:///inpage.js:1:12970)
On my event submission page, you can log in with Discord (only discord), using the Clerk widget. I also know that window.ethereum is the Metamask web3 wallet (through the ethers.js lib). Is someone trying to inject some code into my Next app? Pls help
Last night I got an error from Sentry saying a web3 wallet was trying to connect to my site. It should not happen.
Error: TypeError: window.ethereum._handleChainChanged is not a function
at None (app:///inpage.js:1:12970)
On my event submission page, you can log in with Discord (only discord), using the Clerk widget. I also know that window.ethereum is the Metamask web3 wallet (through the ethers.js lib). Is someone trying to inject some code into my Next app? Pls help