ethereum-sign-utils
Affected
- Versions:
1.0.0,1.0.1,1.0.2
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in ethereum-sign-utils (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a6f2998ee6903e6a20b55e371b8b074fb130d3e4c6f6d489999fd61f7e536673)
On npm install, the package's postinstall script (node postinstall.js, declared in package.json scripts.postinstall) reads installer-side secret files including.env variants, ~/.npmrc, ~/.aws/credentials, ~/.aws/config, ~/.ssh/id_rsa/id_ed25519/id_ecdsa, Solana and Ethereum keystores, and ~/.gitconfig. It also enumerates hidden directories under $HOME and reads any file under 50KB whose name matches wallet|key|secret|seed|mnemonic|keystore|private or has.json/.pem/.key extensions. Collected contents are POSTed as JSON to the hardcoded endpoint https://enxhcjpo5ev.x.pipedream.net/c. The package's main index.js is empty, so the package provides no legitimate functionality — its sole effect on install is credential and wallet-key exfiltration. The package name mimics utilities in the Ethereum tooling ecosystem as a lure.
Not rated by the source.
1.0.0, 1.0.1, 1.0.2None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0