Malicious code in checkout-create-token (npm)
The npm package 'checkout-create-token' version 35.5.6 contains malicious code that silently downloads and executes a platform-specific binary unrelated to its advertised token-generation functionality. The malicious behavior includes assembling command-and-control hostnames, retrieving payloads via DNS TXT records, downloading binaries to temporary directories, setting executable permissions, and spawning detached processes to run the binaries. Environment variables are used to disguise this activity as legitimate telemetry.
AI Analysis
Technical Summary
The 'checkout-create-token' npm package (version 35.5.6) masquerades as a token-generation library but includes hidden malicious functionality. Its main entry point loads a secondary script '_platform.js' which initiates contact with command-and-control servers by constructing hostnames and using DNS TXT record lookups to retrieve base64-encoded payloads. It downloads a platform-specific binary via HTTPS, writes it to temporary directories under decoy filenames, sets executable permissions on POSIX systems, and executes the binary in a detached process. The package uses environment variables such as DISABLE_TELEMETRY and ANALYTICS_OPT_OUT to mimic legitimate telemetry and evade detection. This behavior is unrelated to the package's stated purpose and represents a supply chain compromise.
Potential Impact
This malicious package can lead to unauthorized code execution on systems where it is installed, potentially allowing attackers to run arbitrary binaries with the privileges of the user executing the package. The downloaded payloads are controlled by an attacker via command-and-control infrastructure, which can lead to further compromise, data exfiltration, or persistence mechanisms. The use of environment variables to disguise the activity may hinder detection by security tools.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.5.6 of 'checkout-create-token' from their environments and avoid installing this package. Employ trusted sources and verify package integrity before installation. Monitor for any binaries dropped in temporary directories with suspicious names. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Malicious code in checkout-create-token (npm)
Description
The npm package 'checkout-create-token' version 35.5.6 contains malicious code that silently downloads and executes a platform-specific binary unrelated to its advertised token-generation functionality. The malicious behavior includes assembling command-and-control hostnames, retrieving payloads via DNS TXT records, downloading binaries to temporary directories, setting executable permissions, and spawning detached processes to run the binaries. Environment variables are used to disguise this activity as legitimate telemetry.
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-create-token' npm package (version 35.5.6) masquerades as a token-generation library but includes hidden malicious functionality. Its main entry point loads a secondary script '_platform.js' which initiates contact with command-and-control servers by constructing hostnames and using DNS TXT record lookups to retrieve base64-encoded payloads. It downloads a platform-specific binary via HTTPS, writes it to temporary directories under decoy filenames, sets executable permissions on POSIX systems, and executes the binary in a detached process. The package uses environment variables such as DISABLE_TELEMETRY and ANALYTICS_OPT_OUT to mimic legitimate telemetry and evade detection. This behavior is unrelated to the package's stated purpose and represents a supply chain compromise.
Potential Impact
This malicious package can lead to unauthorized code execution on systems where it is installed, potentially allowing attackers to run arbitrary binaries with the privileges of the user executing the package. The downloaded payloads are controlled by an attacker via command-and-control infrastructure, which can lead to further compromise, data exfiltration, or persistence mechanisms. The use of environment variables to disguise the activity may hinder detection by security tools.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.5.6 of 'checkout-create-token' from their environments and avoid installing this package. Employ trusted sources and verify package integrity before installation. Monitor for any binaries dropped in temporary directories with suspicious names. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12552
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735732bf8831d53913cfe1
Added to database: 08/05/2026, 15:30:58 UTC
Last enriched: 08/05/2026, 15:51:56 UTC
Last updated: 08/05/2026, 15:51:56 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.