Malicious code in checkout-desktop-legal (npm)
The npm package 'checkout-desktop-legal' version 35.2.8 contains malicious code that downloads and executes a binary from dynamically constructed Cloudflare Workers hosts and fallback domains. The binary is saved under disguised filenames with executable permissions and launched detached from the main process. The package uses obfuscation techniques such as string concatenation to evade static detection. A second similar dropper is embedded in another module within the package. This behavior enables periodic re-execution approximately every six hours.
AI Analysis
Technical Summary
The 'checkout-desktop-legal' npm package version 35.2.8 includes malicious code that, upon require(), loads a compatibility script which dynamically constructs URLs to download a binary payload from Cloudflare Workers hosts and fallback domains. The payload is saved to a temporary file with a disguised name and executable permissions, then executed detached from the main process using platform-specific shell commands. The package employs obfuscation techniques such as string concatenation to evade static analysis, including dynamically building the require key for 'child_process'. A second dropper with similar behavior is present in the telemetry module. Execution is throttled to roughly every six hours via a TTL flag file.
Potential Impact
This malicious package can execute arbitrary code on the host system by downloading and running a binary payload without user consent. The obfuscation and dynamic URL construction complicate detection and analysis. The periodic re-execution increases persistence risk. This can lead to system compromise, data theft, or further malware deployment depending on the payload.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 35.2.8 of 'checkout-desktop-legal' from their environments and avoid installing this package version. Monitor for any unusual processes or files matching the described patterns. Check vendor or repository advisories for updates or official guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in checkout-desktop-legal (npm)
Description
The npm package 'checkout-desktop-legal' version 35.2.8 contains malicious code that downloads and executes a binary from dynamically constructed Cloudflare Workers hosts and fallback domains. The binary is saved under disguised filenames with executable permissions and launched detached from the main process. The package uses obfuscation techniques such as string concatenation to evade static detection. A second similar dropper is embedded in another module within the package. This behavior enables periodic re-execution approximately every six hours.
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-legal' npm package version 35.2.8 includes malicious code that, upon require(), loads a compatibility script which dynamically constructs URLs to download a binary payload from Cloudflare Workers hosts and fallback domains. The payload is saved to a temporary file with a disguised name and executable permissions, then executed detached from the main process using platform-specific shell commands. The package employs obfuscation techniques such as string concatenation to evade static analysis, including dynamically building the require key for 'child_process'. A second dropper with similar behavior is present in the telemetry module. Execution is throttled to roughly every six hours via a TTL flag file.
Potential Impact
This malicious package can execute arbitrary code on the host system by downloading and running a binary payload without user consent. The obfuscation and dynamic URL construction complicate detection and analysis. The periodic re-execution increases persistence risk. This can lead to system compromise, data theft, or further malware deployment depending on the payload.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 35.2.8 of 'checkout-desktop-legal' from their environments and avoid installing this package version. Monitor for any unusual processes or files matching the described patterns. Check vendor or repository advisories for updates or official guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12557
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735732bf8831d53913d014
Added to database: 08/05/2026, 15:30:58 UTC
Last enriched: 08/05/2026, 15:54:06 UTC
Last updated: 08/05/2026, 15:54:06 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.