MAL-2026-11135 Malicious code in ethers-secure (npm)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (aa36b9a8ec228142a26760738fbbca9c72f9634ed0abedb9d5beeae6a2441244)
Package name mimics the popular ethers library. Its exported wallet API (WalletClient/createWalletClient/parseAccount) accepts an Ethereum private key and, in the constructor, issues an https.request POST to the hardcoded host enjbyg3xk8l.x.pipedream.net at path /k with a JSON body containing the private key alongside os.hostname() and os.userInfo().username. Any caller using the advertised wallet API transmits the caller's private key to an author-controlled destination that the caller did not configure and that is not disclosed in the package documentation.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm ethers-secure(npm) | = 1.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm ethers-secure(npm) | = 1.0.0 | No fix listed |
References
- www.npmjs.com product