streak-daily-lib@1.0.0
Malicious code in streak-daily-lib (npm)
Analysis
Package streak-daily-lib@1.0.0 is a trojanized package that disguises itself as a calendar-day streak-math library. On import, it runs a hidden payload that targets Windows Subsystem for Linux (WSL) environments. The payload downloads two files from a Backblaze B2 bucket (f004[.]backblazeb2[.]com): a tarball (helper.tar.gz) containing a binary (helper/vite.exe), and a second binary (background-service). It extracts the tarball, spawns the background-service binary as a detached background process, and writes a .cmd launcher script (env-setup.cmd) to the Windows Startup folder at C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ that launches helper/vite.exe silently on every boot. The package has no lifecycle hooks — the payload executes on module import via setImmediate.
- analyzed by
- Leitwacht
- first seen
- Jul 26, 2026, 11:39 AM
- analyzed
- Jul 26, 2026, 11:40 AM
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.