streak-daybucket @1.0.0
Vulnerability report · Last retrieved from osv.dev August 5, 2026 at 5:03 PM UTC
OSV ID
MAL-2026-12464
Ecosystem
npm
Summary
streak-daybucket@1.0.0 presents itself as a day-bucket / streak math utility but its index.mjs embeds a hex-encoded Windows PE binary (leading 4D5A90... MZ header) alongside hex-encoded path components that decode to %APPDATA%/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe . On module load, a try/catch decodes the hex arrays with Buffer.from(hex, 'hex') and writes the executable into the current user's Startup folder via fs.write* . Because the drop runs at top-level module evaluation, any import / require of the package (including transitive consumption) causes the PE to be planted, and Windows will execute it automatically on the next user login, establishing persistent code execution on the installer's host. The path strings, filename vite-native-helper.exe , and payload body are stored as split hex-array literals joined at runtime to evade static string scanning, while the surrounding module ships plain-source math helpers as a cover story.
Source: amazon-inspector (799caca8e351ad8d1144b26eb0c38ffdf06afb415f63a320e6ea455968996aa0)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.