Malicious code in checkout-common-tokens (npm)
The npm package 'checkout-common-tokens' version 20.1.6 contains malicious code that, upon import, downloads and executes a platform-specific binary payload from obfuscated Cloudflare Workers subdomains or, if that fails, via a covert DNS-TXT channel. The payload is executed with the installer's privileges and mimics legitimate diagnostic files. This results in full system compromise, potentially exposing all stored secrets and keys. Immediate removal and secret rotation are strongly advised.
AI Analysis
Technical Summary
The 'checkout-common-tokens' npm package version 20.1.6 includes malicious code in its index.js that loads an auxiliary script (_ext.js). This script dynamically constructs obfuscated URLs to fetch a binary payload over HTTPS from rotating Cloudflare Workers subdomains. The payload is saved to temporary system directories with names resembling legitimate telemetry files, permissioned for execution, and then spawned detached via shell commands. If the HTTPS fetch fails, the code uses a fallback covert channel via DNS-TXT record queries to reconstruct and execute the payload. The payload is unrelated to the package's documented functionality and runs with the privileges of the user installing or importing the package. This behavior results in full compromise of the host system.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker gains execution with the installer's privileges, allowing potential access to all secrets, keys, and sensitive data stored on the system. Removal of the package alone does not guarantee eradication of the malicious payload or any persistence mechanisms. Secret and key rotation from a trusted environment is mandatory.
Mitigation Recommendations
Remove the 'checkout-common-tokens' package version 20.1.6 immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or accessible on compromised systems using a different, trusted device. Because the malicious payload executes with installer privileges and may persist beyond package removal, consider full system reimaging or forensic analysis to ensure complete eradication. Monitor for any suspicious activity related to the package and its artifacts.
Malicious code in checkout-common-tokens (npm)
Description
The npm package 'checkout-common-tokens' version 20.1.6 contains malicious code that, upon import, downloads and executes a platform-specific binary payload from obfuscated Cloudflare Workers subdomains or, if that fails, via a covert DNS-TXT channel. The payload is executed with the installer's privileges and mimics legitimate diagnostic files. This results in full system compromise, potentially exposing all stored secrets and keys. Immediate removal and secret rotation are strongly advised.
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-common-tokens' npm package version 20.1.6 includes malicious code in its index.js that loads an auxiliary script (_ext.js). This script dynamically constructs obfuscated URLs to fetch a binary payload over HTTPS from rotating Cloudflare Workers subdomains. The payload is saved to temporary system directories with names resembling legitimate telemetry files, permissioned for execution, and then spawned detached via shell commands. If the HTTPS fetch fails, the code uses a fallback covert channel via DNS-TXT record queries to reconstruct and execute the payload. The payload is unrelated to the package's documented functionality and runs with the privileges of the user installing or importing the package. This behavior results in full compromise of the host system.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker gains execution with the installer's privileges, allowing potential access to all secrets, keys, and sensitive data stored on the system. Removal of the package alone does not guarantee eradication of the malicious payload or any persistence mechanisms. Secret and key rotation from a trusted environment is mandatory.
Mitigation Recommendations
Remove the 'checkout-common-tokens' package version 20.1.6 immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or accessible on compromised systems using a different, trusted device. Because the malicious payload executes with installer privileges and may persist beyond package removal, consider full system reimaging or forensic analysis to ensure complete eradication. Monitor for any suspicious activity related to the package and its artifacts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12351
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735746bf8831d53915a065
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/18/2026, 13:48:36 UTC
Last updated: 09/12/2026, 23:37:48 UTC
Views: 27
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.