{"id":"MAL-2026-13945","revision":"a208fed198a8456f8336fdd02e341ba6","records":[{"revision":"a208fed198a8456f8336fdd02e341ba6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13945","aliases":[],"title":"Malicious code in core-js-buffer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ec43d0c13a26ec0a6e6dacf51f52a66f48c7dbce7f4a00dbcb72a0749fa6b4e3)\nThe package's postinstall script (package.json declares \"postinstall\": \"node init.js\") performs two hostile actions at install time. First, init.js POSTs installer host and user identifiers — os.hostname(), os.userInfo().username, os.platform(), architecture, Node version, OS release, package name/version, and timestamp — to https://core-js-buffer.domaup-com.workers.dev/report with TLS verification disabled (rejectUnauthorized: false). Second, it fetches an AES-256-GCM encrypted blob from https://core-js-buffer.domaup-com.workers.dev/e, decrypts it with a key derived from a fixed seed, writes the resulting Python code under ~/.cache/core-js-buffer/modules/, and spawns a detached Python process to execute it. Execution is gated by a dev-machine check (presence of Desktop/Documents/Downloads directories) to skip CI/sandbox environments, throttled to at most once per day via a cached marker, and only runs if the decrypted payload contains the string 'TelemetrySender' — evasion controls consistent with a malicious dropper rather than declared telemetry. The package name mimics core-js, a widely used JavaScript polyfill library.\n","state":0,"publishedAt":"2026-08-13T17:15:39+00:00","modifiedAt":"2026-08-13T17:30:12.5722543+00:00","affected":[{"ecosystem":"npm","name":"core-js-buffer","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/core-js-buffer/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13945","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13945","identifiers":["MAL-2026-13945"]},"retained":false,"historicalAffected":[]}],"coverage":[]}