Malicious code in checkout-legal-logic (npm)
The npm package 'checkout-legal-logic' version 35.3.7 contains malicious code that acts as an import-time dropper. Upon requiring the package, it downloads a platform-specific executable from hardcoded Cloudflare Workers subdomains or via a DNS TXT record fallback from suspicious domains. The executable is saved under disguised filenames in temporary directories, made executable, and launched detached in the background. The package falsely advertises itself as a structured logger, but its behavior enables full host remote code execution controlled by the operator of the delivery endpoints.
AI Analysis
Technical Summary
The 'checkout-legal-logic' npm package version 35.3.7 includes a bootstrap routine that, when the package is imported, downloads a platform-specific executable from one of four hardcoded Cloudflare Workers subdomains or through a DNS TXT record fallback from domains under wel1.ru. The downloaded executable is saved to temporary locations with disguised filenames, permissions are set to allow execution, and it is launched detached from the main process. The package uses runtime string reconstruction to evade static detection and misrepresents its functionality as a structured logger. This behavior constitutes an import-time dropper that grants full remote code execution on the host to the attacker controlling the delivery infrastructure.
Potential Impact
This malicious package enables an attacker to execute arbitrary code on the host system at import time, potentially leading to full system compromise. The execution is detached and hidden, making detection more difficult. The mismatch between the package's advertised purpose and its actual behavior increases the risk of unsuspecting developers installing and running it, thereby exposing their environments to remote code execution.
Mitigation Recommendations
No patch or official fix is currently available for this malicious package. Users should immediately remove version 35.3.7 of 'checkout-legal-logic' from their projects and avoid installing it. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor package sources carefully to avoid supply chain attacks. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for current remediation guidance.
Malicious code in checkout-legal-logic (npm)
Description
The npm package 'checkout-legal-logic' version 35.3.7 contains malicious code that acts as an import-time dropper. Upon requiring the package, it downloads a platform-specific executable from hardcoded Cloudflare Workers subdomains or via a DNS TXT record fallback from suspicious domains. The executable is saved under disguised filenames in temporary directories, made executable, and launched detached in the background. The package falsely advertises itself as a structured logger, but its behavior enables full host remote code execution controlled by the operator of the delivery endpoints.
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-legal-logic' npm package version 35.3.7 includes a bootstrap routine that, when the package is imported, downloads a platform-specific executable from one of four hardcoded Cloudflare Workers subdomains or through a DNS TXT record fallback from domains under wel1.ru. The downloaded executable is saved to temporary locations with disguised filenames, permissions are set to allow execution, and it is launched detached from the main process. The package uses runtime string reconstruction to evade static detection and misrepresents its functionality as a structured logger. This behavior constitutes an import-time dropper that grants full remote code execution on the host to the attacker controlling the delivery infrastructure.
Potential Impact
This malicious package enables an attacker to execute arbitrary code on the host system at import time, potentially leading to full system compromise. The execution is detached and hidden, making detection more difficult. The mismatch between the package's advertised purpose and its actual behavior increases the risk of unsuspecting developers installing and running it, thereby exposing their environments to remote code execution.
Mitigation Recommendations
No patch or official fix is currently available for this malicious package. Users should immediately remove version 35.3.7 of 'checkout-legal-logic' from their projects and avoid installing it. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor package sources carefully to avoid supply chain attacks. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12569
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735732bf8831d53913d029
Added to database: 08/05/2026, 15:30:58 UTC
Last enriched: 08/05/2026, 15:55:10 UTC
Last updated: 08/05/2026, 15:55:10 UTC
Views: 2
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.