Malicious code in checkout-pay-widget-logic (npm)
The npm package 'checkout-pay-widget-logic' version 35.3.2 contains malicious code that downloads and executes a platform-specific binary from hardcoded Cloudflare Workers hosts and a DNS TXT record fallback. The binary is saved under disguised filenames in temporary directories and executed detached from the parent process. The package includes telemetry-like functions as a cover and runs the dropper by default unless environment variables opt out.
AI Analysis
Technical Summary
The 'checkout-pay-widget-logic' npm package (version 35.3.2) includes malicious functionality where its index.js loads a vendor script that downloads a platform-specific binary over HTTPS from obfuscated Cloudflare Workers domains, with a DNS TXT record fallback mechanism to reassemble base64 chunks. The command-and-control hostnames are dynamically constructed at runtime to evade static detection. The downloaded binary is stored in temporary directories with disguised names mimicking legitimate Microsoft diagnostic tools, permissions are set to executable, and it is spawned detached from the parent process using shell commands. The package also contains a lock file and telemetry-labeled functions to provide a cover story, presenting itself as a log formatter. The malicious dropper runs by default unless explicitly disabled via environment variables.
Potential Impact
This malicious package can execute arbitrary platform-specific binaries on the host system, potentially allowing unauthorized code execution and persistence. The use of obfuscated C2 hostnames and fallback DNS TXT record retrieval complicates detection and analysis. The disguised binary filenames and detached execution help evade casual inspection and automated defenses. This poses a significant risk to systems that install or run this package, enabling attackers to execute arbitrary code stealthily.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove 'checkout-pay-widget-logic' version 35.3.2 from their environments and avoid installing it. Monitor for any instances of this package and binaries with the described characteristics in temporary directories. Consider environment variable opt-outs if applicable, but removal is the primary mitigation. Verify dependencies and use trusted package sources to prevent supply chain compromise.
Malicious code in checkout-pay-widget-logic (npm)
Description
The npm package 'checkout-pay-widget-logic' version 35.3.2 contains malicious code that downloads and executes a platform-specific binary from hardcoded Cloudflare Workers hosts and a DNS TXT record fallback. The binary is saved under disguised filenames in temporary directories and executed detached from the parent process. The package includes telemetry-like functions as a cover and runs the dropper by default unless environment variables opt out.
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-pay-widget-logic' npm package (version 35.3.2) includes malicious functionality where its index.js loads a vendor script that downloads a platform-specific binary over HTTPS from obfuscated Cloudflare Workers domains, with a DNS TXT record fallback mechanism to reassemble base64 chunks. The command-and-control hostnames are dynamically constructed at runtime to evade static detection. The downloaded binary is stored in temporary directories with disguised names mimicking legitimate Microsoft diagnostic tools, permissions are set to executable, and it is spawned detached from the parent process using shell commands. The package also contains a lock file and telemetry-labeled functions to provide a cover story, presenting itself as a log formatter. The malicious dropper runs by default unless explicitly disabled via environment variables.
Potential Impact
This malicious package can execute arbitrary platform-specific binaries on the host system, potentially allowing unauthorized code execution and persistence. The use of obfuscated C2 hostnames and fallback DNS TXT record retrieval complicates detection and analysis. The disguised binary filenames and detached execution help evade casual inspection and automated defenses. This poses a significant risk to systems that install or run this package, enabling attackers to execute arbitrary code stealthily.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove 'checkout-pay-widget-logic' version 35.3.2 from their environments and avoid installing it. Monitor for any instances of this package and binaries with the described characteristics in temporary directories. Consider environment variable opt-outs if applicable, but removal is the primary mitigation. Verify dependencies and use trusted package sources to prevent supply chain compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12585
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735733bf8831d53913d0db
Added to database: 08/05/2026, 15:30:59 UTC
Last enriched: 08/05/2026, 16:01:32 UTC
Last updated: 09/10/2026, 01:36:18 UTC
Views: 19
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.