Is @xokodon430/jsclamp malicious?
Yes. Protet confirmed 1 version of @xokodon430/jsclamp as malicious
First confirmed on 2026-11-24.
Affected versions
| Version | Confirmed | Protet record |
|---|---|---|
| 1.0.2 | 2026-11-24 | PROTET-NPM-2026-296 |
What it does
@xokodon430/jsclamp copies the code of the npm package clamp and adds a preinstall script (node setup.js) that runs automatically on npm install. The script downloads a second stage from https://pastebin.com/raw/z6K1Rg8J, falling back to https://calcal.ru/p/t5edjvR/raw. The same loader and second-stage URLs are used by clampony (MAL-2026-20433), where the second stage is a credential stealer that collects Telegram sessions and SSH, cloud, Kubernetes, Docker, npm, PyPI and Git credentials and sends them to a Telegram bot. In 1.0.2 the step that writes and runs the downloaded stage is empty, so the download is fetched but not executed; a later version can enable it. Remove the package; if it was installed, treat credentials on that machine as exposed and rotate them.
Other reports
- Also reported in OSV as MAL-2026-20498
What to do if you installed it
- Remove the package from every project that uses it, directly or through another dependency.
- Pin a clean version if you need the package: one that is not listed above and that you have checked yourself, or replace the package. A version missing from this page is not cleared.
- Check your lockfiles (
package-lock.json,yarn.lock,pnpm-lock.yaml) for the affected versions, including as a transitive dependency, and in CI caches. - Rotate credentials that were reachable from any machine or build that installed it: npm and GitHub tokens, cloud keys, SSH keys, and secrets in environment variables or CI settings.
Status history
- 2026-11-24: 1.0.2 named by Protet Intel