Malicious code in checkout-desktop-pay-button (npm)
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.
AI Analysis
Technical Summary
The 'checkout-desktop-pay-button' npm package version 35.5.4 includes a malicious import-time dropper. When required, it loads '_bootstrap.js' which fetches a platform-specific executable from obfuscated Cloudflare Workers subdomains constructed via array-join concatenation. If that fails, it uses a DNS TXT record fallback mechanism that reassembles a base64-encoded payload from numbered TXT records under the domain net.dl.wel1.ru. The fetched binary is saved to temporary directories with disguised names such as 'dotnet_diag_<rand>.exe' or '.cache_<rand>', permissions are set to executable (0755), and it is spawned detached via shell commands. This behavior is unrelated to the package's declared purpose and is intended to evade detection through obfuscation and dynamic fetching of payloads.
Potential Impact
The malicious code enables execution of arbitrary binaries on the host system without user consent or awareness, potentially leading to system compromise. The payload is dynamically fetched from obfuscated and evasive network locations, increasing difficulty of detection and blocking. This can result in unauthorized code execution, persistence, and further malicious activity on affected systems using this package version.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately cease use of 'checkout-desktop-pay-button' version 35.5.4 and remove it from their environments. Avoid installing or requiring this package from untrusted sources. Monitor for any unexpected processes spawned from temporary directories with suspicious names. Since this is a malicious package, remediation involves removing the package and any dropped binaries. Patch status is not yet confirmed — check the vendor or repository advisory for current remediation guidance.
Malicious code in checkout-desktop-pay-button (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'checkout-desktop-pay-button' npm package version 35.5.4 includes a malicious import-time dropper. When required, it loads '_bootstrap.js' which fetches a platform-specific executable from obfuscated Cloudflare Workers subdomains constructed via array-join concatenation. If that fails, it uses a DNS TXT record fallback mechanism that reassembles a base64-encoded payload from numbered TXT records under the domain net.dl.wel1.ru. The fetched binary is saved to temporary directories with disguised names such as 'dotnet_diag_<rand>.exe' or '.cache_<rand>', permissions are set to executable (0755), and it is spawned detached via shell commands. This behavior is unrelated to the package's declared purpose and is intended to evade detection through obfuscation and dynamic fetching of payloads.
Potential Impact
The malicious code enables execution of arbitrary binaries on the host system without user consent or awareness, potentially leading to system compromise. The payload is dynamically fetched from obfuscated and evasive network locations, increasing difficulty of detection and blocking. This can result in unauthorized code execution, persistence, and further malicious activity on affected systems using this package version.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately cease use of 'checkout-desktop-pay-button' version 35.5.4 and remove it from their environments. Avoid installing or requiring this package from untrusted sources. Monitor for any unexpected processes spawned from temporary directories with suspicious names. Since this is a malicious package, remediation involves removing the package and any dropped binaries. Patch status is not yet confirmed — check the vendor or repository advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12558
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735732bf8831d53913d01a
Added to database: 08/05/2026, 15:30:58 UTC
Last enriched: 08/05/2026, 15:54:35 UTC
Last updated: 09/11/2026, 17:20:09 UTC
Views: 42
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.