Malicious code in checkout-public-tokens (npm)
The npm package 'checkout-public-tokens' version 35.4.9 contains malicious code that downloads and executes an opaque binary payload from obfuscated, hardcoded external hosts. The payload is saved to temporary directories under disguised filenames, given executable permissions, and launched detached from the main process. The package falsely claims the download is for telemetry and analytics, but no verification of the downloaded content is performed.
AI Analysis
Technical Summary
The 'checkout-public-tokens' npm package (version 35.4.9) includes a module (_platform.js) that downloads a binary payload from multiple obfuscated, hardcoded domains. The domains are constructed at runtime by joining split string literals, and a DNS-TXT base64 fallback resolver is used for additional hosts. The downloaded payload is saved to temporary directories with disguised filenames such as '.cache_<hex>' or 'dotnet_diag_<hex>.exe', permissions are set to executable (0755), and the payload is executed detached via shell commands (/bin/sh -c or cmd.exe /c start /b). The package advertises this behavior as telemetry, analytics, and cache validation, but these claims are inconsistent with the observed behavior. No hash or signature verification of the downloaded payload is performed, indicating a high risk of arbitrary code execution.
Potential Impact
This malicious behavior allows the package to execute arbitrary code on the host system without user consent or verification, potentially leading to system compromise, data theft, or further malware deployment. Because the payload is downloaded from external, untrusted hosts and executed without validation, the risk includes remote code execution and persistence on affected systems.
Mitigation Recommendations
No official patch or remediation is currently documented for this package version. Users should immediately avoid using 'checkout-public-tokens' version 35.4.9 and remove it from their environments. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor for any unexpected processes or files matching the described patterns in temporary directories. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in checkout-public-tokens (npm)
Description
The npm package 'checkout-public-tokens' version 35.4.9 contains malicious code that downloads and executes an opaque binary payload from obfuscated, hardcoded external hosts. The payload is saved to temporary directories under disguised filenames, given executable permissions, and launched detached from the main process. The package falsely claims the download is for telemetry and analytics, but no verification of the downloaded content is performed.
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-public-tokens' npm package (version 35.4.9) includes a module (_platform.js) that downloads a binary payload from multiple obfuscated, hardcoded domains. The domains are constructed at runtime by joining split string literals, and a DNS-TXT base64 fallback resolver is used for additional hosts. The downloaded payload is saved to temporary directories with disguised filenames such as '.cache_<hex>' or 'dotnet_diag_<hex>.exe', permissions are set to executable (0755), and the payload is executed detached via shell commands (/bin/sh -c or cmd.exe /c start /b). The package advertises this behavior as telemetry, analytics, and cache validation, but these claims are inconsistent with the observed behavior. No hash or signature verification of the downloaded payload is performed, indicating a high risk of arbitrary code execution.
Potential Impact
This malicious behavior allows the package to execute arbitrary code on the host system without user consent or verification, potentially leading to system compromise, data theft, or further malware deployment. Because the payload is downloaded from external, untrusted hosts and executed without validation, the risk includes remote code execution and persistence on affected systems.
Mitigation Recommendations
No official patch or remediation is currently documented for this package version. Users should immediately avoid using 'checkout-public-tokens' version 35.4.9 and remove it from their environments. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor for any unexpected processes or files matching the described patterns in temporary directories. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12589
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735733bf8831d53913d0e1
Added to database: 08/05/2026, 15:30:59 UTC
Last enriched: 08/05/2026, 16:02:06 UTC
Last updated: 09/07/2026, 22:34:26 UTC
Views: 20
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.