Skip to main content

Malicious code in checkout-public-tokens (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:09:28 UTC)
Source: GCVE Database
Product: checkout-public-tokens

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

npmghsa
checkout-public-tokens
Affected versions
=35.4.9

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

AILast updated: 08/05/2026, 16:02:06 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses