streak-bucket-corenpm
Advisory published Updated
streak-bucket-core is a confirmed malicious npm package (MAL-2026-12457) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in streak-bucket-core (npm)
What this malware does
[email protected] advertises itself as a small dependency-free calendar/day-math helper library, but its declared main entry index.mjs is ~521 KB and contains, after a short block of legitimate-looking Intl-based helpers, an embedded Windows PE payload and dropper logic at module top level. A _decode helper hex-decodes strings; a _cfg object holds hex-encoded fields that decode to the per-user Windows Startup folder path (AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup), the filename vite-native-helper.exe, and NTUSER.DAT; a _bin array of hex chunks concatenates and decodes to a byte sequence beginning with the MZ header and the This program cannot be run in DOS mode. stub, i.e. a Windows PE executable. Because this code sits at the top level of the module referenced by the package's main export, simply importing/requiring the package on a Windows host writes the reconstructed executable into the current user's Startup folder under the cover-story name vite-native-helper.exe, which Windows then auto-runs at every subsequent user logon. Adjacent comments (startup self-check, browser-safe, touches no network and no filesystem) and the Vite-adjacent filename appear to be cover text. The hex encoding of the destination path, filename, and payload contents indicates deliberate concealment rather than incidental data.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for streak-bucket-core (version 1.0.0).
If you installed it — respond
Remove streak-bucket-core from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If streak-bucket-core was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks streak-bucket-core-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.