streak-daycount @1.0.0
Vulnerability report · Last retrieved from osv.dev August 5, 2026 at 1:58 AM UTC
OSV ID
MAL-2026-10982
Ecosystem
npm
Summary
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: amazon-inspector (f787426dd4d04d5cd527bdb19d309c64de82e252af4af0714dc33b07a26b73b0)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.