Vulnerability MAL-2026-20645
Summary
Malicious code in clamp4js (npm)
Details
clamp4js runs a postinstall script on npm install. In 1.0.5 (setup.js) and 1.0.13 (install.js) the script decodes two strings that look like Edge and Chrome installer URLs into hxxps://pastebin[.]com/raw/z6K1Rg8J and hxxps://calcal[.]ru/p/t5edjvR/raw, downloads whichever responds first and writes the response to a randomly named file in the temporary directory. The scripts do not execute the downloaded file. 1.0.13 additionally sends a GET request to hxxps://urlto[.]me/2rrih after the file is written. In 1.0.2 and 1.0.9 the loader is empty or disabled. The same stage URLs are used by clampony (MAL-2026-20433).
On 2026-11-25 the first URL served an obfuscated Node.js script (SHA-256 ca2b7eced5937817b2aca2d50542d2e171bc95593be72a94c158616ed17a5334) that only runs on win32. It copies Telegram Desktop data, SSH keys, AWS, Google Cloud, Azure, Kubernetes, Docker, Terraform, npm, PyPI, Poetry, Git and GitHub CLI credentials, FileZilla, WinSCP and MobaXterm data and shell histories into a zip archive and uploads it to a Telegram bot (bot ID 9249894009, chat ID 7638757988), directly or through nine HTTP proxies. It also downloads hxxps://195.123.6.29:443/enterotoxin[.]exe to the temporary directory, starts it hidden and detached, and deletes the file after six seconds.