MAL-2026-12471Malicious code in streak-view-core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | streak-view-core | * |
| npm | streak-view-core | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-12471","published":"2026-08-05T12:59:21Z","modified":"2026-08-25T15:32:18.211758191Z","aliases":["GHSA-vv6v-hc8c-p5q9"],"summary":"Malicious code in streak-view-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ba1dc8ef2cb065b1f88428f0530efa28647e4f8202f493a5646f06c47d3235dd)\nindex.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.\n\n## Source: ghsa-malware (9c4bd061a2423fae5672b58c2ede5ddc25ebad384b1d63625249027683dcefb5)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"streak-view-core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.mjs","sha256":"a5b4ff07cb601ca5130b414a60fd188858e0e464e4742b586de4709e5a2cc5a6","tlsh":"e9934af29a863c9355b1cd28d64138082d6c668321749077fecca3eba7d5250df6ecb9"}],"package_integrity":[{"filename":"streak-view-core-1.0.0.tgz","hashes":{"sha1":"e3e3da11819e7ab44d6c9bb223e7012317a32598","sha512_sri":"sha512-rtMu2E4OHR1XInSFQmxFYgiN8z+siKR3Z7LVWzM7z7y3MzKlD5lZa4JkzCsnQ3pG83/8unKxgcaBzdzaz7yDUQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-view-core/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vv6v-hc8c-p5q9"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014836","import_time":"2026-08-05T13:08:50.167999284Z","modified_time":"2026-08-05T12:59:21Z","sha256":"ba1dc8ef2cb065b1f88428f0530efa28647e4f8202f493a5646f06c47d3235dd","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-vv6v-hc8c-p5q9","import_time":"2026-08-25T15:30:22.819790229Z","modified_time":"2026-08-25T14:52:17Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"9c4bd061a2423fae5672b58c2ede5ddc25ebad384b1d63625249027683dcefb5","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0