tinkoff-codeceptjs-storyshots
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-432x-c5ch-gcx6
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tinkoff-codeceptjs-storyshots (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (253cf41e1be3d79a36e40038dd5e4776355c95c4eeb41aa40a0b4c7aa321c613)
On require() of this package, index.js unconditionally loads _helpers.js, which at module load time downloads a platform-specific binary from runtime-reassembled Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS-TXT chunked-base64 fallback channel over domains tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site. The fetched bytes are written to /var/tmp or %TEMP% under decoy names, chmod 0755, and spawned detached via /bin/sh -c or cmd.exe with stdio ignored and unref(). Destination hostnames are assembled from fragment arrays via Array.join to evade static string search, and lib/telemetry.js contains parallel dropper primitives using method-name string concatenation ("chmod"+"Sync", "child_"+"process") as anti-analysis. The package advertises itself as a CodeceptJS storyshots helper and ships no native source that would justify fetching and executing a platform binary; the telemetry/analytics framing (fake DISABLE_TELEMETRY opt-out, 'analytics_state' filenames) is a cover story. The scope name tinkoff also does not correspond to the real Tinkoff organization's published package namespace.
Source: ghsa-malware (74cdd74cbc0a4ead7f89ea41f2be19315e6badf7ceb672b55f9a4978fff45ec7)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0