{"id":"MAL-2026-14223","revision":"a5e452e81a4b4d11821a3d4dabf6e19b","records":[{"revision":"a5e452e81a4b4d11821a3d4dabf6e19b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14223","aliases":[],"title":"Malicious code in streak-key-lib (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c569633a277a8a3374b8ca058ec451a726d110cca3599f429bfe72d6d2b7a7b6)\nindex.mjs advertises itself as a dependency-free, browser-safe day-math helper that 'touches no network and no filesystem,' but the file body contains a ~65KB obfuscator.io-style block (base64 string array plus an RC4/XOR decoder function A(L,q), with self-defense regexes designed to break under beautification/debugging) sitting at module top level directly above the small plain math exports. There are no lifecycle scripts; the payload executes on any require/import of the package. The header comment steers consumers to install a companion package (svelte-insight-hydration / svelte-insight-tracker) rather than this one directly, framing streak-key-lib as an internal helper meant to arrive transitively — a lure pattern that places hidden import-time code into parent applications' Node processes. The file header name (streak-larq-hydration) does not match the package name, indicating a rename from a template. The mismatch between the stated purpose (pure math, no I/O) and the shipped contents (large encrypted top-level blob with an RC4 string decoder) is the standard shape of a supply-chain stager: benign-looking surface code alongside hidden import-time execution of decoded strings.\n","state":0,"publishedAt":"2026-08-19T03:01:51+00:00","modifiedAt":"2026-08-19T03:30:16.0616547+00:00","affected":[{"ecosystem":"npm","name":"streak-key-lib","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-key-lib/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14223","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14223","identifiers":["MAL-2026-14223"]},"retained":false,"historicalAffected":[]}],"coverage":[]}