Skip to main content
MalwarePublished

js-price-client-node (npm) · Malicious Code

Affects js-price-client-nodeSource GCVE Database

0

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

Data as of 26 Jun 2026, 22:34 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6503

What to do

Remove js-price-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-price-client-nodeAffected
  • =1.0.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-price-client-node version 1.0.0 contains malicious code that exfiltrates environment variables from the user's .env file during installation. The package's postinstall script reads and parses the .env file, then sends the data to a concealed remote server using a base58-encoded URL split across two files. The exfiltration is stealthy, with errors suppressed and fake success responses returned to avoid detection. The package falsely claims to fetch cryptocurrency prices but performs no such function, instead harvesting sensitive credentials such as API keys and passwords.

References

Community reviews

Loading reviews…