MAL-2026-3761
Dashboard / Malicious Package / MAL-2026-3761
MAL-2026-3761
Summary: Malicious code in ethers-signing-key (npm)
Details: Source: amazon-inspector (b6735be7311be4f6b4f609762cfb77504fe141bc9d8d5b5c0a75d521119aa2fa) The package's npm postinstall hook executes a one-liner that uses child_process.exec to curl/wget an unpinned Python script from a personal user's GitHub Gist (gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py) and pipes it directly to python3 (with a node fallback). The captured stdout is additionally passed to eval(). The remote URL is mutable, unauthenticated, and not version-pinned, so the Gist owner can change the executed payload at any time. The package itself has no functional library surface — index.js contains only `module.exports = {};` — and the package name 'ethers-signing-key' impersonates the ethers blockchain library (which exposes a SigningKey class), so the only meaningful effect of `npm install ethers-signing-key` is arbitrary remote code execution on the installer's machine at install time. Source: ghsa-malware (aa6ac62c8f62bce87d42fe3fccb998c223086ee5f529221f4342177c0798627a) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/ethers-signing-key/v/1.0.0, https://github.com/advisories/GHSA-4h8m-265v-jp4c
Affected packages
Package
Name: ethers-signing-key
Purl: pkg:npm/ethers-signing-key
Affected ranges
Type: SEMVER
Events:
