clamponynpm
Advisory published Updated
clampony is a confirmed malicious npm package (MAL-2026-20433) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.9, 1.0.10, 1.0.11). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in clampony (npm)
What this malware does
clampony copies the npm package clamp (its index.js, test and README) and adds a preinstall hook, node setup.js, that runs on npm install. In versions 1.0.9 to 1.0.11, setup.js downloads a next stage from https://pastebin.com/raw/z6K1Rg8J, with https://calcal.ru/p/t5edjvR/raw as a fallback; in these versions the step that would write the download to disk and run it is still an empty function. Both URLs serve the same obfuscated Windows stealer that copies Telegram Desktop session data, SSH keys, AWS, Google Cloud, Azure, Kubernetes, Docker, Terraform, npm, PyPI, Git and GitHub CLI credentials, FileZilla, WinSCP and MobaXterm sessions and shell histories, zips them and uploads the archive to a Telegram bot through a list of HTTP proxies, and also downloads and runs https://195.123.6.29:443/enterotoxin.exe. The npm account tinafo6772 published seven versions of clampony within 20 minutes on 2026-11-24, adding the downloader step by step.
[email protected] declares a preinstall hook (node setup.js) that executes on npm install. setup.js races a fetch against https://pastebin.com/raw/z6K1Rg8J and https://calcal.ru/p/t5edjvR/raw, writes the response to a randomly-named file under the OS tmpdir (join(tmpdir(), randomUUID())), and invokes a run() entrypoint on the downloaded content. Error handling obfuscates the HTTP status by multiplying it by 13579 before logging, obscuring diagnostic output. The declared purpose of the package is a trivial numeric clamp utility, which has no legitimate reason to fetch code from pastebin at install time. The pastebin and calcal.ru destinations are anonymous, mutable, attacker-controlled hosts whose contents can change at any time after publish, so even if the current response body is empty the install-time fetch-and-stage scaffold constitutes a dropper against any machine running npm install clampony.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for clampony (3 malicious versions).
If you installed it — respond
clampony is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If clampony was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
- InvisiRisk, Inc. · finder
Detect & block this
O3 blocks clampony-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.