@devx-commerce/plugin-discounts (npm) · Malicious Code
Affects @devx-commerce/plugin-discountsSource GCVE Database
Malicious package : remove @devx-commerce/plugin-discounts and rotate any secrets on hosts that installed it.
Data as of 20 Nov 2026, 01:14 UTC
Malicious package
Published to npm · OSV MAL-2025-191451
What to do
Remove @devx-commerce/plugin-discounts 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 |
|---|---|---|
| npm@devx-commerce/plugin-discounts | 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 @devx-commerce/plugin-discounts version 2.0.0-beta.1 contains malicious code. Installation or execution of this package can lead to full compromise of the affected computer. All secrets and keys stored on the compromised system should be rotated immediately from a separate, secure device. Removal of the package alone may not eliminate all malicious components, as the attacker may have established persistent control.