Skip to main content
MalwarePublished Updated

js-client-node (npm) · Malicious Code

Affects js-client-nodeSource GCVE Database

0

Malicious package : remove js-client-node and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:55 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6502

What to do

Remove js-client-node from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmjs-client-nodeAffected
  • =1.4.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'js-client-node' version 1.4.0 contains malicious code that exfiltrates environment variables from the installer's project during installation. It uses a postinstall hook to read the .env file at the project root and sends all environment variables, including sensitive data like API keys and credentials, to a remote server. The package disguises itself as a legitimate crypto price fetcher, with a misleading README and package metadata. This results in silent leakage of sensitive information upon installation.

References

Community reviews

Loading reviews…