tinkoff-codeceptjs-storyshots-alphanpm
Advisory published Updated
tinkoff-codeceptjs-storyshots-alpha is a confirmed malicious npm package (MAL-2026-12237) that steals credentials and exfiltrates sensitive data (malicious version 20.8.9). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in tinkoff-codeceptjs-storyshots-alpha (npm)
What this malware does
The package's index.js unconditionally requires bootstrap.js on load. bootstrap.js selects a platform-specific path (linux_x64, linux_arm64, darwin, win32), fetches an opaque binary from Cloudflare Workers hosts under oob-worker.cf10*.workers.dev whose names are reassembled at runtime via array-join to evade static inspection, and includes a DNS TXT chunked fallback channel using tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site. The downloaded bytes are written to /tmp or %TEMP% under disguised names such as dotnet_diag<hex>.exe and.cache<hex>, chmod 0755 on unix, and spawned detached via spawn("/bin/sh", ["-c", path + " &"]).unref() (spawn("cmd",...) on Windows). A marker file named.analytics_state gates repeat execution on a ~22374 second cooldown, and opt-out environment variables are honored in a way that mimics legitimate telemetry. A secondary module lib/telemetry.js contains the same dropper primitives with property-name obfuscation (fs["chmod"+"Sync"], require("child_"+"process"), Buffer.from(chunks,"base64")) alongside spawn("/bin/sh", ["-c", filePath + " &"]). The name tinkoff-codeceptjs-storyshots-alpha impersonates a well-known corporate scope; there is no legitimate reason for a storyshots testing helper to fetch and execute an opaque native binary from an anonymous Cloudflare Workers host at import time.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for tinkoff-codeceptjs-storyshots-alpha (version 20.8.9).
If you installed it — respond
tinkoff-codeceptjs-storyshots-alpha is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If tinkoff-codeceptjs-storyshots-alpha 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 tinkoff-codeceptjs-storyshots-alpha-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.