VDB
KO

MAL-2026-3761

Malicious code in ethers-signing-key (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / ethers-signing-key
Introduced in: 0

No fixed version published yet for ethers-signing-key (npm). Pin to a known-safe version or switch to an alternative.

References