Malicious code in streak-core-math (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11149
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (073175f6a0065dc5cc00d30357053432c69fbc7aab8b92bbe4217ad3d54c5d3a) index.mjs executes a top-level async IIFE on import that fetches https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.zip, unzips it into %LOCALAPPDATA%/Microsoft/Windows/sysache, and writes vite-native-helper.vbs to the current user's Windows Startup folder. The VBS launcher uses WScript.Shell to run the unpacked RenameMe.exe on every user logon, giving the fetched binary persistent execution under the installer's account. All sensitive strings (the URL, process/fetch/child_process/fs identifiers, AppData/Startup paths, and the VBS body) are stored as hex literals in a `_c` table and decoded at runtime via `Buffer.from(h,'hex').toString()`, hiding the behavior from static inspection. Execution is gated to skip CI, NODE_ENV=production, and browser contexts, so it fires specifically on developer Windows machines. The filenames (vite-native-helper.vbs, sysache) and comments framing the block as a benign startup self-check are cover-story naming inconsistent with the package's advertised math-helper purpose.
- Source published
- 28 Jul 2026 13:41:10 UTC
- Source modified
- 28 Jul 2026 14:37:13 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.