Skip to main content
MalwarePublished

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

Affects checkout-pay-button-logicSource GCVE Database

0

Malicious package : remove checkout-pay-button-logic and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 16:00 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12584

What to do

Remove checkout-pay-button-logic 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-pay-button-logicAffected
  • =35.3.8
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-pay-button-logic' version 35.3.8 contains malicious code that, upon requiring the package, downloads and executes a native binary payload from obfuscated Cloudflare Workers hostnames and fallback DNS-TXT resolvers. The payload is saved to temporary directories with deceptive filenames and executed detached from the main process. The malicious code attempts to mimic legitimate telemetry opt-out behavior but is unrelated to the package's stated functionality.

References

Community reviews

Loading reviews…