checkout-desktop-promocode (npm) · Malicious Code
Affects checkout-desktop-promocodeSource GCVE Database
Malicious package : remove checkout-desktop-promocode and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-12560
What to do
Remove checkout-desktop-promocode 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 |
|---|---|---|
| npmcheckout-desktop-promocode | 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 'checkout-desktop-promocode' version 35.4.3 contains malicious code that, when imported, downloads and executes attacker-controlled binaries on the host system. It masquerades as a promocode SDK but performs no legitimate functionality. Instead, it fetches binaries from obfuscated, author-controlled domains using covert DNS-TXT fallback channels, writes them to temporary directories with innocuous filenames, sets executable permissions, and runs them detached via shell commands. This results in arbitrary code execution on the installer's machine.