Malicious code in @wethenorth12/crypto-config (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12089
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d56f2c55cacbd8d06b8d3b0f20b808262c42cd002441399d8e39a2f03c600f3c) 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.
- Source published
- 5 Aug 2026 06:25:24 UTC
- Source modified
- 5 Aug 2026 07:20:51 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.