MAL-2026-12471
Malicious code in streak-view-core (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (ba1dc8ef2cb065b1f88428f0530efa28647e4f8202f493a5646f06c47d3235dd) index.mjs contains an `indexCache` array of base64 string chunks whose decoded bytes begin with the ELF magic and reference `/lib64/ld-linux-x86-64.so.2`. At module load time, a top-level call to `maintainLocalIndex()` joins and base64-decodes the array, writes the resulting Linux ELF binary to a temp path, and executes it via `child_process.spawn`. Any consumer that imports `streak-view-core` runs this native binary on their host. The package presents itself as a dependency-free calendar-day/streak math utility, which does not justify shipping or self-executing a native ELF, and the payload is fragmented across many string literals to obscure the ELF header from casual review.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for streak-view-core (npm). Pin to a known-safe version or switch to an alternative.