npm · Malicious package advisory
Malwareethereum-sign-utils
GHSA-jrfv-qm55-5jhx
Malicious code in ethereum-sign-utils (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.1` ## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/71b5ccd62809b0f6e173eff59b5900130cf7fc02/osv/malicious/npm/ethereum-sign-utils/MAL-2026-12110.json)) **References:** - https://github.com/ossf/malicious-packages/blob/71b5ccd62809b0f6e173eff59b5900130cf7fc02/osv/malicious/npm/ethereum-sign-utils/MAL-2026-12110.json - https://www.npmjs.com/package/ethereum-sign-utils/v/1.0.0 - https://www.npmjs.com/package/ethereum-sign-utils/v/1.0.1 - https://www.npmjs.com/package/ethereum-sign-utils/v/1.0.2 - https://github.com/advisories/GHSA-jrfv-qm55-5jhx
Compromised versions (1)
- = 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.