Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

streak-calc-metricsnpm

streak-calc-metrics is a confirmed malicious npm package (MAL-2026-12311) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in streak-calc-metrics (npm)

MAL-2026-12311
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall streak-calc-metrics

What this malware does

[email protected] is presented as a native math accelerator for streak calculations but ships a bundled Linux ELF at dist/calc.bin that the main module unconditionally chmods and spawns detached at import time (cp.spawn(binaryPath, [], { stdio: 'pipe', shell: false, detached: true })). The ELF self-identifies as 'REDSHELL' and beacons to hardcoded C2 IP 217.60.77.63 with the protocol tag SECURE_BEACON|...|REDSHELL, providing a full remote shell over /bin/sh and /bin/bash. The implant downloads and executes arbitrary ELF binaries and shellcode over plain HTTP with TLS verification disabled from http://217.60.77.63/Others/<name> and http://217.60.77.63/SC/<name>, staging into /tmp/.elf_* or via memfd_create (syscall 319) and chmod +x before execution, with no hash or signature check. It exposes command handlers /ssh_keys, /creds, /dbfind, /env, and /dataextract <path> that harvest the installer's SSH keys, credential files, environment variables, and arbitrary filesystem paths, then exfiltrates them in chunks via POST /api/extract-receive using markers such as BIGEXTRACT_START and Destination: Loot_%s_%s_%s. Persistence is established by writing ~/.config/systemd/user/svc-update.service (Description='System Update Service', ExecStart=/proc/self/exe, Restart=always) and enabling it with systemctl --user daemon-reload && systemctl --user enable --now svc-update.service. The implant additionally exposes a remote-controlled SOCKS5 proxy (/socks start <port>) and arbitrary TCP port forwarding (/portfwd start <lport> <rhost> <rport>), turning the installer's host into a pivot into internal networks. The JS wrapper contains a cover story ('Native accelerator loaded and verified', 'Performance mode enabled') and an inverted SHA-256 integrity check against 4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466 that never blocks execution.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

91b37a5aa06b2d75f250bd23ce01f2667646c1aa7609ec2323f226842e043e9d
96488efc57092e2b1f373623a88bf26607c9ece7ed95270327febc6b536d0d01

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for streak-calc-metrics (version 1.0.0). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging streak-calc-metrics across your stack and pipelines.

  2. If you installed it — respond

    streak-calc-metrics is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If streak-calc-metrics was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks streak-calc-metrics before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. streak-calc-metrics on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-014630GHSA-7m7x-hmq7-rwm9

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks streak-calc-metrics-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

streak-calc-metrics (npm) malicious package — MAL-2026-12311 | O3 Security