Skip to main content
MalwarePublished

checkout-desktop-pay-button (npm) · Malicious Code

Affects checkout-desktop-pay-buttonSource GCVE Database

0

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

Classification

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

ProductAffectedFixed in
npmcheckout-desktop-pay-buttonAffected
  • =35.5.4
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.

References

Community reviews

Loading reviews…