ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

Miladymaker.net injected in provider setup (CORS error)

Open ivelin opened this issue 3 years ago • 0 comments

Ethers Version

5.6.9

Search Terms

Milady, Miladymaker

Describe the Problem

In gitpod dev environment I started noticing a CORS error that traces back to initializing ethers providers. It is not clear whether it comes from rainbowkit or wagmi during ethers initialization. I could not find a reference to this milady error by simple google search. Maybe a more sophisticated injection in a dependency library.

Is miladymaker supposed to be part of any default ethers providers initialization or this is a malicious lib attack?

This is the source repo of the project using ethers (via wagmi, rainbowkit) where this issue was spotted: https://github.com/ivelin/sweat-token

To reproduce, open this gitpod url, and go to the web app on port 3000. https://gitpod.io/#https://github.com/ivelin/sweat-token Screen Shot 2022-08-09 at 9 32 31 AM

Console dev screenshots attached: Screen Shot 2022-08-09 at 9 15 37 AM Screen Shot 2022-08-09 at 9 15 43 AM

Screen Shot 2022-08-09 at 9 32 57 AM

Code Snippet

No response

Contract ABI

No response

Errors

No response

Environment

node.js (v12 or newer), Browser (Chrome, Safari, etc)

Environment (Other)

No response

ivelin avatar Aug 09 '22 14:08 ivelin