Advisory

MAL-2026-12107

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/web3-utils-crypto (npm)

Details

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

Source: amazon-inspector (fc6591661338a325995ebe471f7d8157c1be9458f38336c4c11032033b150108)
On module load, index.js collects the host identifiers (os.hostname(), os.userInfo().username, home directory, platform, cwd) and the entire process.env, JSON-serializes and base64-encodes the payload, and sends it via HTTPS GET to the Telegram Bot API at api.telegram.org/bot<token>/sendMessage with a hardcoded bot token and chat_id (8969499041). A tempdir flag file gates single-shot execution. The package advertises itself as a 'Drop-in replacement for web3-utils' and attempts to require('web3-utils') to re-export it as a cover for the exfil payload; the author field is 'chainSafe', impersonating the ChainSafe organization, and the declared repository github.com/chainSafe/web3-utils-crypto does not exist. Any environment variables present in the installer or CI process (API keys, cloud credentials, CI tokens) leave to the attacker's Telegram channel the first time this module is required.

Severity

Not rated by the source.

Dates

Published
2026-08-05 06:24 UTC
Modified
2026-08-05 07:21 UTC

Affected packages and fixes

@wethenorth12/web3-utils-crypto

npm · All systems

Affected

  • Versions: 1.10.4

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