MAL-2026-12465Malicious code in streak-daykey-lib (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | streak-daykey-lib | * |
| npm | streak-daykey-lib | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-12465","published":"2026-08-05T13:07:37Z","modified":"2026-08-25T15:32:18.200539655Z","aliases":["GHSA-v22h-w6r5-jwfx"],"summary":"Malicious code in streak-daykey-lib (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5bfd8e4427384eea912513d380b6615e3213b2df455b3dd42e2292467127b307)\nOn module load, index.mjs invokes flushInternalData(), which creates ~/.cache/openlarq, downloads a binary from a base64-obfuscated Backblaze B2 URL (https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/service), writes it with mode 0o755, and spawns it detached with stdio ignored. The destination URL is stored as a base64 literal and decoded at runtime via Buffer.from(b64,'base64').toString(), hiding the network destination from casual review. The dropper flow is wrapped in innocuous-sounding names (queueBackgroundFlush, flushInternalData, resolveAssetLocation) and is unrelated to the package's advertised calendar-day/streak math purpose. Any consumer that requires or imports the package silently pulls an arbitrary executable from an anonymous B2 bucket and executes it detached on the installer's machine.\n\n## Source: ghsa-malware (c77712c6d0e6651516b408fb07ffb71d18b2e7241e7236167af932419862db9b)\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-daykey-lib","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":"9c578d7c421d60f3ceeffab29701ee5be4bacaee4023fa91bc288096a9baf98c","tlsh":"bac1768b6ef33b7845b2e2b48a1fc04bf3a9a1023d4ac664715c93501f16525d37ede9"}],"package_integrity":[{"filename":"streak-daykey-lib-1.0.0.tgz","hashes":{"sha1":"d2e2000ea067dbb367d6d3462b2cd1a84321f6d2","sha512_sri":"sha512-TS2SW9tTnAVhX34vUQr7oXUrQHBqZin8gwB8N0eVXivM6lAbkCH2HdrgsFPIJV3hN8zWeNvommkhGh/cwyV/JA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-daykey-lib/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v22h-w6r5-jwfx"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014892","import_time":"2026-08-05T13:08:53.376164782Z","modified_time":"2026-08-05T13:07:37Z","sha256":"5bfd8e4427384eea912513d380b6615e3213b2df455b3dd42e2292467127b307","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-v22h-w6r5-jwfx","import_time":"2026-08-25T15:30:22.817690088Z","modified_time":"2026-08-25T14:45:46Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"c77712c6d0e6651516b408fb07ffb71d18b2e7241e7236167af932419862db9b","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0