MAL-2026-12114 Malicious code in streak-calc-math (npm)
Malicious package
Published
MAL-2026-12114 is a malicious package: streak-calc-math (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12114/ (Markdown: https://insights.sbomify.com/MAL-2026-12114/index.md)
- Package
- streak-calc-math
- Registry
- npm
What is MAL-2026-12114?
MAL-2026-12114 is a malicious package in streak-calc-math, published on 5 Aug 2026.
Official description
[email protected] bundles a Linux x86_64 ELF at dist/math-calc.bin and launches it unconditionally when the package is imported. The top-level IIFE in dist/index.mjs chmod 0755's the binary and cp.spawn's it detached with piped stdio. A sha256 'integrity verification' against a placeholder constant is a decoy: when the computed hash does not match, execution proceeds anyway; only a log line changes. The ELF is a full RedShell remote-access implant beaconing to hardcoded C2 IP 217.60.77.63 (SECURE_BEACON|…|REDSHELL framing). Operator capabilities include arbitrary shell execution via /bin/sh and /bin/bash, SOCKS5 proxy, TCP port-forward, tunnel relay, and remote payload staging that curls additional ELFs and shellcode over plain HTTP from http://217.60.77.63/Others/ and /SC/ into /tmp or an anonymous memfd (memfd_create syscall 319 invoked via python3 ctypes) and executes them. Operator commands /ssh_keys, /creds, /dbfind, /download, /dataextract and a chunked BIGEXTRACT upload path harvest ~/.ssh keys, credential files, and database files and POST them to http://217.60.77.63/api/extract-receive. Persistence is installed via /redshell persist by writing a user systemd unit at ~/.config/systemd/user/svc-update.service (Description='System Update Service', ExecStart=/proc/self/exe, Restart=always) and enabling it with systemctl –user. The package name and 'high-performance math accelerator' framing are a cover story for a backdoor with no legitimate math functionality.
What should I do about MAL-2026-12114?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.