{"id":"MAL-2026-11150","revision":"28b180f2fea4478cafad052edaa7fe61","records":[{"revision":"28b180f2fea4478cafad052edaa7fe61","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11150","aliases":[],"title":"Malicious code in streak-daily-lib (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8664341251bd6864f5aaf9692c5b7bd0945125853bc304c91709aaa335be38f1)\nOn import of index.mjs, setImmediate invokes a _syncWorkspace routine whose network destination and paths are reconstructed at runtime from hex-encoded string arrays (a _cfg object decoded via Buffer.from(s,'hex').toString()). The decoded host is f004.backblazeb2.com and the path prefix is /file/dp8hbvocjd2fpza/. Execution is gated on Linux with WSL_DISTRO_NAME set. The code downloads helper.tar.gz and a background-service binary via https.get, writes them to disk, extracts the tarball with `tar -xzf`, chmods the service to 0755, and launches it detached with.unref(). It then reaches through the WSL /mnt/c mount into the Windows host filesystem, drops vite.exe under %APPDATA%\\Local\\Microsoft\\Windows\\syscache, and writes env-setup.cmd into %APPDATA%\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\ containing `start /b /min \"\" \"[BIN]\"` so the fetched Windows binary runs minimized on every login. The stated purpose of the package is calendar/streak math; none of the fetched hosts, opaque binaries, hex-obfuscated identifiers, or Windows Startup writes align with that purpose. Combined signals present: import-time auto-execution, hex-obfuscated attacker-controlled host, unpinned/unverified binary download and execute, WSL-to-Windows-host escape, and login persistence.\n","state":0,"publishedAt":"2026-07-28T13:34:25+00:00","modifiedAt":"2026-07-28T14:37:13.3125902+00:00","affected":[{"ecosystem":"npm","name":"streak-daily-lib","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-daily-lib/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11150","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11150","identifiers":["MAL-2026-11150"]},"retained":false,"historicalAffected":[]}],"coverage":[]}