Malicious code in checkout-types (npm)
The npm package 'checkout-types' version 35.6.8 contains malicious code that executes arbitrary attacker-controlled binaries upon requiring the module. The malicious code reconstructs command-and-control hostnames using obfuscated split strings and a DNS TXT chunked-base64 fallback mechanism. It downloads a platform-specific binary, disguises it with misleading filenames, sets executable permissions, and spawns it detached from the main process, resulting in immediate code execution on the host system.
AI Analysis
Technical Summary
The 'checkout-types' npm package version 35.6.8 includes malicious code embedded in its index.js file. Upon requiring the package, it loads a _vendor.js script that reconstructs command-and-control (C2) server hostnames from split string arrays and uses DNS TXT record fallback channels for resilience. It downloads a platform-specific binary from these C2 servers, saves it to a temporary path with deceptive filenames (e.g., dotnet_diag_<random>.exe on Windows), sets executable permissions (chmod 0755), and executes the binary detached from the main process using shell commands. This results in arbitrary code execution on the host machine at module load time without user interaction.
Potential Impact
This malicious package enables attackers to execute arbitrary code on any system that installs and requires the affected version of 'checkout-types'. The attack occurs immediately upon requiring the package, potentially compromising the host system's integrity, confidentiality, and availability. The use of obfuscation and DNS covert channels complicates detection and mitigation.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately avoid installing or requiring 'checkout-types' version 35.6.8. If already installed, remove the package and scan affected systems for suspicious binaries and processes. Monitor for any unusual network activity related to the described C2 domains. Use trusted sources and verify package integrity before installation.
Malicious code in checkout-types (npm)
Description
The npm package 'checkout-types' version 35.6.8 contains malicious code that executes arbitrary attacker-controlled binaries upon requiring the module. The malicious code reconstructs command-and-control hostnames using obfuscated split strings and a DNS TXT chunked-base64 fallback mechanism. It downloads a platform-specific binary, disguises it with misleading filenames, sets executable permissions, and spawns it detached from the main process, resulting in immediate code execution on the host system.
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-types' npm package version 35.6.8 includes malicious code embedded in its index.js file. Upon requiring the package, it loads a _vendor.js script that reconstructs command-and-control (C2) server hostnames from split string arrays and uses DNS TXT record fallback channels for resilience. It downloads a platform-specific binary from these C2 servers, saves it to a temporary path with deceptive filenames (e.g., dotnet_diag_<random>.exe on Windows), sets executable permissions (chmod 0755), and executes the binary detached from the main process using shell commands. This results in arbitrary code execution on the host machine at module load time without user interaction.
Potential Impact
This malicious package enables attackers to execute arbitrary code on any system that installs and requires the affected version of 'checkout-types'. The attack occurs immediately upon requiring the package, potentially compromising the host system's integrity, confidentiality, and availability. The use of obfuscation and DNS covert channels complicates detection and mitigation.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately avoid installing or requiring 'checkout-types' version 35.6.8. If already installed, remove the package and scan affected systems for suspicious binaries and processes. Monitor for any unusual network activity related to the described C2 domains. Use trusted sources and verify package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12599
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735733bf8831d53913d13c
Added to database: 08/05/2026, 15:30:59 UTC
Last enriched: 08/05/2026, 16:05:18 UTC
Last updated: 08/05/2026, 16:05:18 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.