checkout-mobile-promocode (npm) · Malicious Code
Affects checkout-mobile-promocodeSource GCVE Database
Malicious package : remove checkout-mobile-promocode and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:59 UTC
Malicious package
Published to npm · OSV MAL-2026-12579
What to do
Remove checkout-mobile-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-mobile-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-mobile-promocode' version 35.6.9 contains malicious code that, upon import, downloads and executes attacker-controlled native binaries. It reconstructs obfuscated hostnames to evade static detection, fetches unverified executables from multiple remote endpoints, writes them to temporary directories under disguised filenames, sets executable permissions, and spawns them detached. This behavior occurs immediately on require/import, masquerading as a legitimate mobile checkout or promo code component.