price-scripping-js (npm) · Malicious Code
Affects price-scripping-jsSource GCVE Database
Malicious package : remove price-scripping-js and rotate any secrets on hosts that installed it.
Data as of 10 Nov 2026, 00:34 UTC
Malicious package
Published to npm · OSV MAL-2026-14272
What to do
Remove price-scripping-js 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
| Product | Affected | Fixed in |
|---|---|---|
| npmprice-scripping-js | Affected
| 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 price-scripping-js version 1.1.2 contains malicious code that exfiltrates environment variables from the installing project's .env file. During installation, it runs a postinstall script that reads sensitive data such as database credentials and API tokens from the .env file and sends this information to a concealed remote HTTP endpoint. The package disguises itself as a crypto-price fetcher but does not perform any legitimate functionality. The exfiltration is hidden by encoding the destination URL and silently swallowing errors to avoid detection during npm install.