{"id":"MAL-2026-11036","summary":"Malicious code in streak-lib-math (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (507ee02c9717d3b99be47ab3415800fa71477716fa6be6b953cb07e0574066aa)\nOn import, index.mjs executes an obfuscated async IIFE whose sensitive strings (process, fetch, fs/promises, target URL, path segments, payload filename) are stored as hex literals and reassembled at runtime. The code enumerates Windows user profiles reached from WSL via /mnt/c/Users, skipping default accounts (All Users, Default, Public, defaultuser0), fetches https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.dat, and writes the response bytes as vite-native-helper.exe into each targeted user's AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup directory. The binary then runs on every subsequent Windows login, providing persistent code execution on the developer host independent of Node or npm. The filename (vite-native-helper.exe) is a cover-story mimicking a Vite build helper; the package name suggests an unrelated math utility.\n\n## Source: ghsa-malware (778f96738bfdd58970843f7a128ddd925b8a146d5366306e83c3152cd3179066)\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","aliases":["GHSA-c7rv-9j9g-pqh2"],"modified":"2026-07-28T14:37:14.515955395Z","published":"2026-07-23T15:42:12Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-23T22:48:43.761878741Z","id":"GHSA-c7rv-9j9g-pqh2","modified_time":"2026-07-23T15:42:15Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"778f96738bfdd58970843f7a128ddd925b8a146d5366306e83c3152cd3179066"},{"import_time":"2026-07-28T14:19:59.020841555Z","id":"IN-MAL-2026-010917","modified_time":"2026-07-28T13:36:03Z","versions":["1.0.0"],"source":"amazon-inspector","sha256":"507ee02c9717d3b99be47ab3415800fa71477716fa6be6b953cb07e0574066aa"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c7rv-9j9g-pqh2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-lib-math/v/1.0.0"}],"affected":[{"package":{"name":"streak-lib-math","ecosystem":"npm","purl":"pkg:npm/streak-lib-math"},"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"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"tlsh":"bab1b6d78ab723740924c2d0ee8f9596eb1ef1623a54c9d0700cd7802f8a521e27de9f","path":"index.mjs","sha256":"36590620ad2b495767f104514228efbcb4e2c2f45ba46ca10eaca797c562addf"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-lib-math/MAL-2026-11036.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}