checkout-desktop-pay-button (npm) · Malicious Code
Affects checkout-desktop-pay-buttonSource GCVE Database
Malicious package : remove checkout-desktop-pay-button and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:54 UTC
Malicious package
Published to npm · OSV MAL-2026-12558
What to do
Remove checkout-desktop-pay-button 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-pay-button | 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-pay-button' version 35.5.4 contains malicious code that acts as a dropper. Upon requiring the package, it loads a script that fetches a platform-specific binary from obfuscated Cloudflare Workers subdomains and a DNS TXT record fallback. The binary is saved to temporary directories under disguised filenames, made executable, and executed detached from the main process. This behavior is unrelated to the package's stated functionality as a pay-button SDK and is designed to evade static inspection by reconstructing hostnames and domains from split string fragments.