checkout-create-tokennpm
Advisory published Updated
checkout-create-token is a confirmed malicious npm package (MAL-2026-12552) that opens a backdoor for remote access (malicious version 35.5.6). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in checkout-create-token (npm)
What this malware does
Package advertises itself as a token-generation library but its main entry index.js silently side-loads platform.js via a try/catch require. On import, platform.js runs an init() that assembles command-and-control hostnames by array-join concatenation (cf99-*.workers.dev, cf9b3/101-adf/102-baf/103-070.workers.dev) with a DNS-TXT fallback under wel1.ru (dnsTxt() enumerates TXT records under c.<domain> and reassembles a base64 payload), downloads a platform-specific binary via https.get, writes it to /var/tmp or %TEMP% under decoy names (dotnet_diag*,.cache*,.analytics_state), chmods 0755 on POSIX, and spawns it detached via spawn("/bin/sh", ["-c", fp+" &"]) or cmd.exe /c start. Env-var gates named DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK are used as cover to mimic legitimate telemetry. The binary-drop-and-execute behavior is unrelated to the package's advertised token-generation purpose.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for checkout-create-token (version 35.5.6).
If you installed it — respond
checkout-create-token establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If checkout-create-token was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks checkout-create-token-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.