MAL-2026-12807Malicious code in streak-grid-core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | streak-grid-core | * |
| npm | streak-grid-core | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-12807","published":"2026-08-05T13:11:20Z","modified":"2026-08-25T15:32:18.203228703Z","aliases":["GHSA-jwcj-rx9q-cxm8"],"summary":"Malicious code in streak-grid-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b40df62bf7b6dcc3bc33d5b2b876ea57e4f355dd326f48ec7a6d3750fa6148d7)\nThe package advertises itself as dependency-free calendar/streak math primitives, but the main entry (index.mjs, resolved via package.json exports \".\") contains a top-level 'Background sync' block that concatenates a large array of base64 chunks (each beginning with the ELF magic marker 'f0VMRg' = \\x7fELF), decodes the result with Buffer.from(..., 'base64'), writes it to disk with mode 0o755, and executes it via a dynamically imported node:child_process. Any consumer that imports this module (including transitively via svelte-streak-grid referenced in the README) triggers native code execution on the installer/build host. The payload is split across multiple quoted string chunks and joined at runtime to evade simple string scanners, and file header comments reference unrelated package names ('streak-larq-hydration', 'svelte-insight-hydration') that do not match the published name, consistent with cover-story framing.\n\n## Source: ghsa-malware (3776343fdcdc470296be2d095ec8d00a2fa91edb7d63362dbb902b17e4f85b34)\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-grid-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":"328b194f9d255ed4a07bd241364822aa36fcbe4211afa324e7cd3e2c1f9a809e","tlsh":"6b934bb296863c9299b10cacd14e38c82d6c668321749267fecc53ebe3d5150ef5ecb5"}],"package_integrity":[{"filename":"streak-grid-core-1.0.0.tgz","hashes":{"sha1":"1144a5c65ecb47a297051f09fb9673e253c4f254","sha512_sri":"sha512-J1671fMCVc8qYSFjvuB64ujRamLK8IwnZ+B9ccuK/6WrdlA/JyUDxVL7BNXgmgy6JCmwz2r1qd88V0o0GzdBYQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-grid-core/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jwcj-rx9q-cxm8"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014917","import_time":"2026-08-05T14:19:42.804863001Z","modified_time":"2026-08-05T13:11:20Z","sha256":"b40df62bf7b6dcc3bc33d5b2b876ea57e4f355dd326f48ec7a6d3750fa6148d7","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-jwcj-rx9q-cxm8","import_time":"2026-08-25T15:30:22.807004415Z","modified_time":"2026-08-25T14:47:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3776343fdcdc470296be2d095ec8d00a2fa91edb7d63362dbb902b17e4f85b34","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0