{"id":"MAL-2026-12457","revision":"a24ec738b5554132bf19c3c806b0fa65","records":[{"revision":"a24ec738b5554132bf19c3c806b0fa65","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12457","aliases":[],"title":"Malicious code in streak-bucket-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4145bc51e507e0a8b64d1267c16b0c9c8e80950a08bcf0a320b03fb8a1875b26)\nstreak-bucket-core@1.0.0 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.\n","state":0,"publishedAt":"2026-08-05T12:51:59+00:00","modifiedAt":"2026-08-05T13:36:05.7406265+00:00","affected":[{"ecosystem":"npm","name":"streak-bucket-core","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-bucket-core/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12457","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12457","identifiers":["MAL-2026-12457"]},"retained":false,"historicalAffected":[]}],"coverage":[]}