Advisory

MAL-2026-3707

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in ethers-common (npm)

Details

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

Source: amazon-inspector (9a7b953533124edcc31e4293ed6bffe010e9110d795f812ba432de8b81d4d558)
package.json declares a postinstall hook that base64-decodes the URL http://8.217.75.147:3000/payload, fetches it via curl over plain HTTP, and pipes the response directly into bash. This executes attacker-controlled code on every installer's machine at npm install time, with no integrity verification and an obfuscated (base64) destination. The package itself is a hollow lure: index.js exports an empty object, and the package name and description ("Utilities for Web3/ethers development") impersonate the well-known ethers Web3 library to bait installs. The combination of bare-IP C2, plain HTTP, base64-obfuscated URL, curl|bash dropper in a lifecycle hook, and an empty cover-story library is unambiguous supply-chain attack.

Source: ossf-package-analysis (48af3bdbd3b7966516ff3ab4baf1a946a38ce1735dc0c8fb41b2bc9abfa30449)
The OpenSSF Package Analysis project identified 'ethers-common' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.

Severity

Not rated by the source.

Dates

Published
2026-05-13 11:58 UTC
Modified
2026-05-15 07:53 UTC

Affected packages and fixes

ethers-common

npm · All systems

Affected

  • Versions: 1.0.0, 2.0.0

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences