{"id":"MAL-2026-12110","summary":"Malicious code in ethereum-sign-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a6f2998ee6903e6a20b55e371b8b074fb130d3e4c6f6d489999fd61f7e536673)\nOn 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.\n","modified":"2026-08-05T07:21:11.421249283Z","published":"2026-08-05T06:17:52Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T07:06:46.159693549Z","modified_time":"2026-08-05T06:18:57Z","sha256":"1d299ce8d197e32ce1347d34cd9551a5b85e3bef67ffce020e1eab5990c89e96","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-013409"},{"modified_time":"2026-08-05T06:20:29Z","sha256":"a6f2998ee6903e6a20b55e371b8b074fb130d3e4c6f6d489999fd61f7e536673","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-013419","import_time":"2026-08-05T07:06:46.733097539Z"},{"import_time":"2026-08-05T07:06:45.680731752Z","modified_time":"2026-08-05T06:17:52Z","sha256":"8569458876baf8df569bc6e86c507d842f303442bf93f5bdb5f5fa0d14988842","source":"amazon-inspector","versions":["1.0.2"],"id":"IN-MAL-2026-013401"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ethereum-sign-utils/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ethereum-sign-utils/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ethereum-sign-utils/v/1.0.2"}],"affected":[{"package":{"name":"ethereum-sign-utils","ecosystem":"npm","purl":"pkg:npm/ethereum-sign-utils"},"versions":["1.0.1","1.0.0","1.0.2"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"720a192a5f8902b99c23e21e27f721d723c455d2302d30a186187189c8cb9288","tlsh":"9e2130d200f59b65268a0a9ad8182700527769676c0aacc17efc6e874f888940e37bfc"}],"package_integrity":[{"filename":"ethereum-sign-utils-1.0.1.tgz","hashes":{"sha512_sri":"sha512-iyJw4HR7/HZYemKtvjJg4CMhF13ekas+GjMYgXutdze6riHvqS+v4NE66x8pB1sbzLUyOv7cMcCEo9arWI16EA==","sha1":"bc2ab3ccb572c6e0c161674e5a59f189c0a5d21a"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ethereum-sign-utils/MAL-2026-12110.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}