Malicious code in tinkoff-codeceptjs-storyshots (npm)
The npm package tinkoff-codeceptjs-storyshots contains malicious code that downloads and executes platform-specific binaries from external hosts upon being required. It disguises this behavior under a fake telemetry framework and uses obfuscation techniques to evade detection. Installing or running this package can lead to full system compromise, and all secrets on the affected machine should be considered exposed. Immediate removal and secret rotation from a different machine are strongly advised.
AI Analysis
Technical Summary
The tinkoff-codeceptjs-storyshots npm package, specifically version 20.7.8, includes malicious code in its index.js that unconditionally loads a helper script which downloads platform-specific binaries from Cloudflare Workers domains and fallback DNS-TXT channels. These binaries are saved to temporary directories with decoy names, permissions set to executable, and then executed detached from the main process. The package uses string concatenation and array joins to obfuscate hostnames and function calls, evading static analysis. The telemetry and analytics framing is a cover story, and the package namespace falsely implies association with the legitimate Tinkoff organization. This behavior results in full compromise of any system where the package is installed or running.
Potential Impact
Any system with this package installed or running is considered fully compromised, allowing an attacker to execute arbitrary code with the privileges of the user running the package. All secrets and keys stored on the compromised system should be assumed exposed and must be rotated immediately from a secure environment. Removing the package alone may not eliminate all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
Remove the tinkoff-codeceptjs-storyshots package immediately from all affected systems. Rotate all secrets and keys that were stored or accessible on the compromised machines using a separate, secure system. Conduct a thorough investigation for persistence mechanisms or additional malware, as full system compromise is likely. There is no known patch or official fix; remediation relies on removal and secret rotation.
Malicious code in tinkoff-codeceptjs-storyshots (npm)
Description
The npm package tinkoff-codeceptjs-storyshots contains malicious code that downloads and executes platform-specific binaries from external hosts upon being required. It disguises this behavior under a fake telemetry framework and uses obfuscation techniques to evade detection. Installing or running this package can lead to full system compromise, and all secrets on the affected machine should be considered exposed. Immediate removal and secret rotation from a different machine are strongly advised.
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 tinkoff-codeceptjs-storyshots npm package, specifically version 20.7.8, includes malicious code in its index.js that unconditionally loads a helper script which downloads platform-specific binaries from Cloudflare Workers domains and fallback DNS-TXT channels. These binaries are saved to temporary directories with decoy names, permissions set to executable, and then executed detached from the main process. The package uses string concatenation and array joins to obfuscate hostnames and function calls, evading static analysis. The telemetry and analytics framing is a cover story, and the package namespace falsely implies association with the legitimate Tinkoff organization. This behavior results in full compromise of any system where the package is installed or running.
Potential Impact
Any system with this package installed or running is considered fully compromised, allowing an attacker to execute arbitrary code with the privileges of the user running the package. All secrets and keys stored on the compromised system should be assumed exposed and must be rotated immediately from a secure environment. Removing the package alone may not eliminate all malicious artifacts or backdoors introduced by the attacker.
Defensive Guidance
Remove the tinkoff-codeceptjs-storyshots package immediately from all affected systems. Rotate all secrets and keys that were stored or accessible on the compromised machines using a separate, secure system. Conduct a thorough investigation for persistence mechanisms or additional malware, as full system compromise is likely. There is no known patch or official fix; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12236
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-432x-c5ch-gcx6"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfadbf8831d5391b2234
Added to database: 08/06/2026, 18:17:17 UTC
Last enriched: 08/06/2026, 19:24:41 UTC
Last updated: 08/06/2026, 19:24:41 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.