OpenSSF/OSV advisory MAL-2026-12089 confirms this npm version as malicious. On require, index.js collects process.env, hostname, username, homedir, platform, and cwd, base64-encodes the blob, and POSTs it to api.telegram.org/bot<token>/sendMessage with a hardcoded bot token and chat_id 8969499041. A tmp marker file gates repeat sends...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @wethenorth12/crypto-config (npm)
Details
On require, index.js collects process.env, hostname, username, homedir, platform, and cwd, base64-encodes the blob, and POSTs it to api.telegram.org/bot<token>/sendMessage with a hardcoded bot token and chat_id 8969499041. A tmp marker file gates repeat sends. The package presents itself as a drop-in for the popular `config` package (typosquat), attempts to require('config') and re-exports it to preserve apparent functionality, and uses randomized variable names to obscure the exfiltration path.
Decision reason
OpenSSF Malicious Packages via OSV confirms @wethenorth12/crypto-config@2.0.1 as malicious (MAL-2026-12089): Malicious code in @wethenorth12/crypto-config (npm)