Malicious code in checkout-mobile-promocode (npm)
The npm package 'checkout-mobile-promocode' version 35.6.9 contains malicious code that, upon import, downloads and executes attacker-controlled native binaries. It reconstructs obfuscated hostnames to evade static detection, fetches unverified executables from multiple remote endpoints, writes them to temporary directories under disguised filenames, sets executable permissions, and spawns them detached. This behavior occurs immediately on require/import, masquerading as a legitimate mobile checkout or promo code component.
AI Analysis
Technical Summary
The 'checkout-mobile-promocode' npm package version 35.6.9 includes malicious functionality embedded in its index.js and lib/telemetry.js files. These scripts reconstruct obfuscated destination hostnames from split string literals to evade static analysis. They then download unpinned, unverified native executables from several *.workers.dev and *.dl.wel1.ru domains. The executables are saved to temporary directories with disguised names such as 'dotnet_diag_*.exe' or '.cache_*', permissions are set to executable (0755), and the binaries are spawned detached via shell commands. This results in arbitrary native code execution immediately upon requiring the package, with no legitimate functionality provided. The package name mimics a legitimate mobile checkout or promo code component to deceive users.
Potential Impact
This malicious package enables remote attackers to execute arbitrary native code on the host system immediately upon import, potentially leading to full system compromise. The unverified and unpinned nature of the downloaded executables increases risk, as attackers can change payloads at will. The obfuscation techniques hinder detection by static analysis tools. There is no indication of targeted exploitation or active in-the-wild use yet, but the impact of successful execution is severe.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove and avoid using the 'checkout-mobile-promocode' package version 35.6.9. Verify the integrity and provenance of npm packages before use, especially those mimicking legitimate components. Employ runtime protection to detect and block suspicious child process spawning from npm packages. Monitor for updates or advisories from the package maintainers or npm registry regarding this malicious package.
Malicious code in checkout-mobile-promocode (npm)
Description
The npm package 'checkout-mobile-promocode' version 35.6.9 contains malicious code that, upon import, downloads and executes attacker-controlled native binaries. It reconstructs obfuscated hostnames to evade static detection, fetches unverified executables from multiple remote endpoints, writes them to temporary directories under disguised filenames, sets executable permissions, and spawns them detached. This behavior occurs immediately on require/import, masquerading as a legitimate mobile checkout or promo code component.
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-mobile-promocode' npm package version 35.6.9 includes malicious functionality embedded in its index.js and lib/telemetry.js files. These scripts reconstruct obfuscated destination hostnames from split string literals to evade static analysis. They then download unpinned, unverified native executables from several *.workers.dev and *.dl.wel1.ru domains. The executables are saved to temporary directories with disguised names such as 'dotnet_diag_*.exe' or '.cache_*', permissions are set to executable (0755), and the binaries are spawned detached via shell commands. This results in arbitrary native code execution immediately upon requiring the package, with no legitimate functionality provided. The package name mimics a legitimate mobile checkout or promo code component to deceive users.
Potential Impact
This malicious package enables remote attackers to execute arbitrary native code on the host system immediately upon import, potentially leading to full system compromise. The unverified and unpinned nature of the downloaded executables increases risk, as attackers can change payloads at will. The obfuscation techniques hinder detection by static analysis tools. There is no indication of targeted exploitation or active in-the-wild use yet, but the impact of successful execution is severe.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove and avoid using the 'checkout-mobile-promocode' package version 35.6.9. Verify the integrity and provenance of npm packages before use, especially those mimicking legitimate components. Employ runtime protection to detect and block suspicious child process spawning from npm packages. Monitor for updates or advisories from the package maintainers or npm registry regarding this malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12579
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735732bf8831d53913d0b6
Added to database: 08/05/2026, 15:30:58 UTC
Last enriched: 08/05/2026, 15:59:31 UTC
Last updated: 09/15/2026, 11:49:26 UTC
Views: 23
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.