streak-daybucket
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-6hxq-4f7r-8562
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in streak-daybucket (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (799caca8e351ad8d1144b26eb0c38ffdf06afb415f63a320e6ea455968996aa0)
[email protected] 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: ghsa-malware (1c324d7aa6ec398a3987b5663ac158294538fb3ffe10109a6f1d793486bfa030)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0