streak-daily-lib
Dependency-free calendar-day bucketing and streak math primitives, with an optional Node-only on-disk store. Helper for svelte-insights-hydration.
This report shows the evidence for streak-daily-lib@1.0.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-11150 confirms this npm version as malicious.
Advisory
MAL-2026-11150
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in streak-daily-lib (npm)
Details
On import of index.mjs, setImmediate invokes a _syncWorkspace routine whose network destination and paths are reconstructed at runtime from hex-encoded string arrays (a _cfg object decoded via Buffer.from(s,'hex').toString()). The decoded host is f004.backblazeb2.com and the path prefix is /file/dp8hbvocjd2fpza/. Execution is gated on Linux with WSL_DISTRO_NAME set. The code downloads helper.tar.gz and a background-service binary via https.get, writes them to disk, extracts the tarball with `tar -xzf`, chmods the service to 0755, and launches it detached with.unref(). It then reaches through the WSL /mnt/c mount into the Windows host filesystem, drops vite.exe under %APPDATA%\Local\Microsoft\Windows\syscache, and writes env-setup.cmd into %APPDATA%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ containing `start /b /min "" "[BIN]"` so the fetched Windows binary runs minimized on every login. The stated purpose of the package is calendar/streak math; none of the fetched hosts, opaque binaries, hex-obfuscated identifiers, or Windows Startup writes align with that purpose. Combined signals present: import-time auto-execution, hex-obfuscated attacker-controlled host, unpinned/unverified binary download and execute, WSL-to-Windows-host escape, and login persistence.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to streak-daily-lib@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing streak-daily-lib@1.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.