MAL-2026-12461Malicious code in streak-daily-core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | streak-daily-core | * |
| npm | streak-daily-core | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-12461","published":"2026-08-05T12:48:03Z","modified":"2026-08-25T15:32:18.194300106Z","aliases":["GHSA-8vjj-vq79-pf8g"],"summary":"Malicious code in streak-daily-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ea29201e3cd49e11201222e430bd1787a1b00abdc46fad18908d0033459ed2d7)\nstreak-daily-core@1.0.0's main entry (index.mjs) runs a top-level async IIFE that reconstructs identifiers, paths, and URLs from char-code arrays to evade static analysis. When the runtime is Linux inside WSL and NODE_ENV is not 'production', it fetches https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.tar.gz over HTTPS, extracts it with `tar -xzf` into a cache directory, and spawns a second binary (/background-service) as a detached process. It then reaches from WSL into the Windows host filesystem at /mnt/c/Users/<user>/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup and writes an env-setup.cmd launcher that re-executes the dropped binary on every Windows logon, establishing persistence on the Windows host from the Linux side to bypass Windows-side scanning. Module names ('process','fs','https','child_process','spawn'), the WSL_DISTRO_NAME env-var name, the Backblaze URL, the tar arguments, the Startup-folder path, and the.cmd template are all stored as numeric arrays and reassembled via String.fromCharCode. Fetched content is not pinned, hashed, or signature-verified, and the destination is a mutable third-party file host unrelated to the declared package purpose.\n\n## Source: ghsa-malware (825bb6fac9dd7bc3e79aed7db9ab55b21b4b3b6646dd048756b344427dfbf6c0)\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-daily-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":"cfe3f32e50ae0fd429c59601071d52ed504c2cbab1b7da07d0ee42661f16aeb8","tlsh":"50e16483f7ac27724fa082e8817cf547377cd0257cc2a590ecd8560da25b568f6a4778"}],"package_integrity":[{"filename":"streak-daily-core-1.0.0.tgz","hashes":{"sha1":"6b6535588e03956bf0fe524c149299f617ec347d","sha512_sri":"sha512-ftUtVvwOmkm0s5iIF38IvSrmVFGy+LuwWy8QrUXMEi83LYdRtXe0Fut+qaFD6yFlZHvEM/3Q8cRhSUNkcUBySw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-daily-core/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8vjj-vq79-pf8g"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014766","import_time":"2026-08-05T13:08:44.857114332Z","modified_time":"2026-08-05T12:48:03Z","sha256":"ea29201e3cd49e11201222e430bd1787a1b00abdc46fad18908d0033459ed2d7","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-8vjj-vq79-pf8g","import_time":"2026-08-25T15:30:22.791713688Z","modified_time":"2026-08-25T14:44:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"825bb6fac9dd7bc3e79aed7db9ab55b21b4b3b6646dd048756b344427dfbf6c0","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0