{"id":"MAL-2026-12003","revision":"2ef8b802f2e24b5196cf8f708607e2af","records":[{"revision":"2ef8b802f2e24b5196cf8f708607e2af","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12003","aliases":[],"title":"Malicious code in streak-test-mathcore (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cb5bc7a04c4f43370b3f93cf5e1bc9a84742a5043eefa7a4bba7ac1c53e01dd1)\nPackage main dist/index.mjs runs a top-level IIFE that spawns dist/math-core.bin via child_process.spawn on any import of the package. The bundled ELF is a remote-access implant that beacons to a hardcoded C2 at 217.60.77.63, accepts remote commands to execute shell, download and run ELF binaries and shellcode from http://217.60.77.63/Others/ and /SC/ endpoints (memfd/tmp chmod+x staging), enumerates and uploads host files including SSH keys, credentials, database contents, and clipboard via chunked POST /api/extract-receive, and installs user-level persistence by writing ~/.config/systemd/user/svc-update.service (labeled 'System Update Service') and running systemctl --user daemon-reload and enable --now. The JS wrapper describes the binary as a 'HIGH-PERFORMANCE MATH ENGINE LOADER' and wraps the spawn in a sham calibration loop; the README advertises dependency-free streak math, unrelated to the shipped binary.\n","state":0,"publishedAt":"2026-08-05T00:03:02+00:00","modifiedAt":"2026-08-05T00:38:07.047247+00:00","affected":[{"ecosystem":"npm","name":"streak-test-mathcore","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-test-mathcore/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12003","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12003","identifiers":["MAL-2026-12003"]},"retained":false,"historicalAffected":[]}],"coverage":[]}