Malicious code in tinkoff-codeceptjs-storyshots-alpha (npm)
The npm package tinkoff-codeceptjs-storyshots-alpha version 20.8.9 contains malicious code that downloads and executes opaque native binaries from anonymous Cloudflare Workers hosts at import time. The package impersonates a legitimate corporate scope but performs unauthorized execution of platform-specific binaries, potentially compromising the host system. The malware uses obfuscation techniques to evade detection and maintains persistence with cooldown markers and environment variable opt-outs. Any system with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The npm package tinkoff-codeceptjs-storyshots-alpha (version 20.8.9) includes a malicious index.js that unconditionally requires a _bootstrap.js script. This script dynamically constructs URLs to fetch opaque native binaries from Cloudflare Workers hosts, evading static analysis by reassembling hostnames at runtime. The binaries are saved to temporary directories with disguised filenames, permissions are set, and they are executed detached from the main process. A marker file enforces a cooldown period between executions, and environment variables can opt out of execution, mimicking legitimate telemetry behavior. A secondary telemetry module uses similar dropper techniques with obfuscated property names. The package impersonates a known corporate scope but has no legitimate reason to fetch and run native binaries from anonymous sources during import, indicating malicious intent. The compromise is severe, as the package grants full control to an attacker.
Potential Impact
Systems with this package installed or running are considered fully compromised. The malicious code downloads and executes native binaries with elevated control, potentially allowing attackers to execute arbitrary code, maintain persistence, and exfiltrate data. All secrets and keys stored on affected systems should be rotated immediately from a separate, trusted environment. Removal of the package alone does not guarantee eradication of the malware due to potential persistence mechanisms.
Mitigation Recommendations
Immediate removal of the tinkoff-codeceptjs-storyshots-alpha package version 20.8.9 is required. All secrets and credentials on affected systems should be rotated from a clean, uncompromised device. Due to the high risk of full system compromise, a thorough incident response and forensic analysis is recommended to identify and remove any additional malicious artifacts. Monitor for any suspicious activity related to the package and its associated network indicators. Patch status is not yet confirmed — check vendor advisories or trusted security sources for updates.
Malicious code in tinkoff-codeceptjs-storyshots-alpha (npm)
Description
The npm package tinkoff-codeceptjs-storyshots-alpha version 20.8.9 contains malicious code that downloads and executes opaque native binaries from anonymous Cloudflare Workers hosts at import time. The package impersonates a legitimate corporate scope but performs unauthorized execution of platform-specific binaries, potentially compromising the host system. The malware uses obfuscation techniques to evade detection and maintains persistence with cooldown markers and environment variable opt-outs. Any system with this package installed should be considered fully compromised.
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 npm package tinkoff-codeceptjs-storyshots-alpha (version 20.8.9) includes a malicious index.js that unconditionally requires a _bootstrap.js script. This script dynamically constructs URLs to fetch opaque native binaries from Cloudflare Workers hosts, evading static analysis by reassembling hostnames at runtime. The binaries are saved to temporary directories with disguised filenames, permissions are set, and they are executed detached from the main process. A marker file enforces a cooldown period between executions, and environment variables can opt out of execution, mimicking legitimate telemetry behavior. A secondary telemetry module uses similar dropper techniques with obfuscated property names. The package impersonates a known corporate scope but has no legitimate reason to fetch and run native binaries from anonymous sources during import, indicating malicious intent. The compromise is severe, as the package grants full control to an attacker.
Potential Impact
Systems with this package installed or running are considered fully compromised. The malicious code downloads and executes native binaries with elevated control, potentially allowing attackers to execute arbitrary code, maintain persistence, and exfiltrate data. All secrets and keys stored on affected systems should be rotated immediately from a separate, trusted environment. Removal of the package alone does not guarantee eradication of the malware due to potential persistence mechanisms.
Defensive Guidance
Immediate removal of the tinkoff-codeceptjs-storyshots-alpha package version 20.8.9 is required. All secrets and credentials on affected systems should be rotated from a clean, uncompromised device. Due to the high risk of full system compromise, a thorough incident response and forensic analysis is recommended to identify and remove any additional malicious artifacts. Monitor for any suspicious activity related to the package and its associated network indicators. Patch status is not yet confirmed — check vendor advisories or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12237
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fhqv-jjj8-w6wh"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7573b5bf8831d539d93a87
Added to database: 08/07/2026, 05:57:09 UTC
Last enriched: 08/07/2026, 07:44:18 UTC
Last updated: 08/07/2026, 07:44:18 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.