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 DNS-TXT covert channel. The payload is saved to temporary files mimicking legitimate diagnostic artifacts and executed with the installer's privileges. This behavior is unrelated to the package's documented purpose and represents a supply chain compromise.
AI Analysis
Technical Summary
The malicious code in 'checkout-common-tokens' (npm) version 20.1.6 operates by loading an extension script (_ext.js) that dynamically constructs obfuscated URLs to fetch a binary payload from rotating Cloudflare Workers subdomains. The binary is saved to temporary locations on the filesystem with names designed to appear as legitimate telemetry or diagnostic files, then executed with the privileges of the user installing the package. If the HTTPS fetch fails, the code uses a fallback covert channel via DNS-TXT record queries to reconstruct and execute the payload. This payload is opaque, unpinned, and unrelated to the package's intended functionality, indicating a deliberate malicious supply chain compromise.
Potential Impact
The impact is execution of arbitrary, opaque binary code with the privileges of the user installing the package, potentially leading to full system compromise depending on the installer's permissions. The malicious payload is fetched dynamically and executed immediately on import, enabling remote code execution and persistence mechanisms via covert channels. This compromises the integrity and trustworthiness of the affected package and any systems that install it.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using version 20.1.6 of 'checkout-common-tokens' and remove it from their environments. Verify package integrity and source before installation. Monitor for updates or advisories from the package maintainers or npm registry. Since no patch is confirmed, check vendor or registry advisories for remediation guidance.
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 DNS-TXT covert channel. The payload is saved to temporary files mimicking legitimate diagnostic artifacts and executed with the installer's privileges. This behavior is unrelated to the package's documented purpose and represents a supply chain compromise.
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 malicious code in 'checkout-common-tokens' (npm) version 20.1.6 operates by loading an extension script (_ext.js) that dynamically constructs obfuscated URLs to fetch a binary payload from rotating Cloudflare Workers subdomains. The binary is saved to temporary locations on the filesystem with names designed to appear as legitimate telemetry or diagnostic files, then executed with the privileges of the user installing the package. If the HTTPS fetch fails, the code uses a fallback covert channel via DNS-TXT record queries to reconstruct and execute the payload. This payload is opaque, unpinned, and unrelated to the package's intended functionality, indicating a deliberate malicious supply chain compromise.
Potential Impact
The impact is execution of arbitrary, opaque binary code with the privileges of the user installing the package, potentially leading to full system compromise depending on the installer's permissions. The malicious payload is fetched dynamically and executed immediately on import, enabling remote code execution and persistence mechanisms via covert channels. This compromises the integrity and trustworthiness of the affected package and any systems that install it.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using version 20.1.6 of 'checkout-common-tokens' and remove it from their environments. Verify package integrity and source before installation. Monitor for updates or advisories from the package maintainers or npm registry. Since no patch is confirmed, check vendor or registry advisories for remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12351
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735746bf8831d53915a065
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/05/2026, 17:34:16 UTC
Last updated: 08/05/2026, 17:34:16 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.