MAL-2026-12003
Dashboard / Malicious Package / MAL-2026-12003
MAL-2026-12003
Summary: Malicious code in streak-test-mathcore (npm)
Details: Source: amazon-inspector (cb5bc7a04c4f43370b3f93cf5e1bc9a84742a5043eefa7a4bba7ac1c53e01dd1) Package 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.
Affected packages
Package
Name: streak-test-mathcore
Purl: pkg:npm/streak-test-mathcore
Affected ranges
Type: N/A
Events:
