streak-daycount
This report shows the evidence for streak-daycount@1.0.0. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-10982 confirms this npm version as malicious.
Advisory
MAL-2026-10982
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in streak-daycount (npm)
Details
streak-daycount@1.0.0 ships an index.mjs whose top-level async IIFE runs on import. When the host is Linux and NODE_ENV is not 'production', the code enumerates /mnt/c/Users (WSL access to the Windows host filesystem), skips built-in profiles ('Default','Public','All Users'), and identifies real user profiles by the presence of NTUSER.DAT. It then constructs the path AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup under that user, downloads a binary from https://f004.backblazeb2.com/file/<bucket>/vite-deps.dat (URL assembled from split fragments p/h/b/f), and writes the bytes as 'vite-native-helper.exe' into the Windows Startup folder — causing the fetched binary to auto-execute on the next Windows logon. The download uses no hash or signature verification, the destination is an anonymous Backblaze B2 bucket unrelated to the package's advertised 'streak day counter' purpose, and the 'vite-native-helper' naming is a decoy referencing an unrelated tool. The bucket identifier is currently a 'YOUR_BUCKET_NAME' placeholder, but the code path is fully wired and activates as soon as it is populated. The Linux+WSL gating specifically targets developer machines that run Node under WSL while backing onto a Windows user profile.
## Source: ghsa-malware (d5a02c91969e01fc57050b8fabfc6abe2e50b9455cdaa4357791d24546b5623a) 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.
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-daycount@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing streak-daycount@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.