{"id":"MAL-2026-12462","revision":"80a13b75e3894a53a319bddc9d753a75","records":[{"revision":"80a13b75e3894a53a319bddc9d753a75","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12462","aliases":[],"title":"Malicious code in streak-day-engine (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fb1b5dba41de915e2ef23790e3e92b3839b9a52e5196480d12ae8a7a8208cf82)\nindex.mjs runs a hex-obfuscated top-level async IIFE at module import time. Identifiers and payload constants (`process`, `fetch`, `child_process`, `fs/promises`, target paths, URL, tar command, VBS template) are stored hex-encoded in a `_c` table and decoded via `Buffer.from(h, 'hex').toString()`. On import, the code fetches https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.tar.gz, writes the archive under the user's AppData directory, extracts it via `tar -xzf`, and writes a VBS launcher (`vite-native-helper.vbs`) into `AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup` that uses `CreateObject(\"WScript.Shell\").Run p, 0, False` to invoke the extracted `RenameMe.exe` hidden at every user login. Result: attacker-controlled bytes land on the installer's host on `import`/`require` of the package, and a login-persistent execution channel is established via the Windows Startup folder.\n","state":0,"publishedAt":"2026-08-05T12:29:17+00:00","modifiedAt":"2026-08-05T13:36:08.3526602+00:00","affected":[{"ecosystem":"npm","name":"streak-day-engine","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-day-engine/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12462","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12462","identifiers":["MAL-2026-12462"]},"retained":false,"historicalAffected":[]}],"coverage":[]}