OpenSSF/OSV advisory MAL-2026-13519 confirms this npm version as malicious. The package advertises itself as a streak/calendar math library, but its main entry `dist/index.mjs` contains a top-level IIFE that, on any `import`/`require`, chmods `dist/internal/map-calc.bin` to 0755 and detached-spawns it after a sha256 integrity gate. The bundled Linux x86_64 ELF is a full remote-control implant: strings show a RedShell / RC2TUN beacon to a hardcoded C2 at 217.60.77.63, command handlers for...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in streak-kit-map (npm)
Details
The package advertises itself as a streak/calendar math library, but its main entry `dist/index.mjs` contains a top-level IIFE that, on any `import`/`require`, chmods `dist/internal/map-calc.bin` to 0755 and detached-spawns it after a sha256 integrity gate. The bundled Linux x86_64 ELF is a full remote-control implant: strings show a RedShell / RC2TUN beacon to a hardcoded C2 at 217.60.77.63, command handlers for shell execution, ELF/shellcode download-and-run (including memfd_create fd exec) via HTTP paths `/Others/<file>` and `/SC/<file>`, SOCKS5 proxy and port forwarding, chunked file exfiltration via `POST /api/extract-receive HTTP/1.1` packaging loot as `Loot_<host>_<user>_<ts>`, targeted collection of SSH keys and credentials (`/ssh_keys`, `/creds`, `/dbfind`, `/download`, `/dataextract`), and reboot persistence by writing `~/.config/systemd/user/svc-update.service` (Description=System Update Service, Restart=always) and enabling it via `systemctl --user`. The JS wrapper's `Loads the native math accelerator` / `integrity verification — critical security gate` comments are cover-story framing; the hash pin exists to guarantee the exact malicious bytes execute.
## Source: ghsa-malware (062e4983092eb99ef7f5cbd663dd551a226418b0d723139e3a3f97ae70b208a2) 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.
Decision reason
No blocking static signals were detected.; source fingerprint signature matched known malicious package; routed for review