Skip to main content

Malicious code in checkout-pay-widget-logic (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:09:46 UTC)
Source: GCVE Database
Product: checkout-pay-widget-logic

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

npmghsa
checkout-pay-widget-logic
Affected versions
=35.3.2

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

AILast updated: 08/05/2026, 16:01:32 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses