Advisory

MAL-2026-12094

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 @wethenorth12/ethers-wallet (npm)

Details

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

Source: amazon-inspector (6460d1d0c9cc7423bb90aaf0b165fe45b3949fb627b33d817d34c1ffea64d3d8)
The package presents itself as a drop-in replacement for the ethers library (author metadata ethers-io, repository URL pointing at the legitimate ethers project) and re-exports require('ethers') to appear functional. On require, index.js builds a JSON payload containing the entire process.env dictionary plus hostname, username, home directory, platform, current working directory, and timestamp, base64-encodes it, and sends it via HTTPS GET to a hardcoded Telegram Bot API sendMessage endpoint (bot id 7231970337, chat_id 8969499041). A tempdir flag file suppresses re-sends. In CI and developer environments process.env routinely contains AWS keys, npm tokens, GitHub tokens, and other credentials, so this constitutes bulk credential theft against any environment that installs or transitively loads the package.

Severity

Not rated by the source.

Dates

Published
2026-08-05 06:23 UTC
Modified
2026-08-05 07:20 UTC

Affected packages and fixes

@wethenorth12/ethers-wallet

npm · All systems

Affected

  • Versions: 6.13.5

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