streak-calc-metrics@1.0.0
Malicious code in streak-calc-metrics (npm)
Analysis
streak-calc-metrics@1.0.0 ships a native Linux ELF (dist/calc.bin) that is executed on package import via a detached child process. The binary is a full remote-access implant ("redshell"): it beacons to C2 host 217[.]60[.]77[.]63, downloads and executes remote ELF and shellcode payloads from /Others/ and /SC/ paths over HTTP, provides a port-forward and tunnel facility, and installs persistence by writing a systemd user service (svc-update.service) that runs on login. It also POSTs extracted data to an /api/extract-receive endpoint and resolves the public IP via api[.]ipify[.]org. The JS wrapper (dist/index.mjs) spawns the binary detached with stdio piped to /dev/null on import, so merely importing the package launches the implant.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 09:53 AM
- analyzed
- Aug 5, 2026, 10:05 AM
Related advisories
- streak-calc-math@1.0.0
- streak-math-calc@1.0.0
- zredis-typed@1.0.127
- streak-map-kit@1.0.0
- streak-kit-map@1.0.0
- streak-map-cache@1.0.0
- streak-cache-map@1.0.0
- dolyame-ui-flag@35.7.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.