VDB
EN

MAL-2026-13459

Malicious code in streak-map-cache (npm)

상세

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (d6ae48e032b5494c8939d41973598b9dd35d5954ccf6850cd633e7992995cc6b) The package advertises itself as a dependency-free day/streak math library, but its main entrypoint (dist/index.mjs) contains a top-level async IIFE that unconditionally chmods 0755 and spawns a bundled Linux ELF at dist/internal/calc-map.bin as a detached child process on every import/require. The JavaScript day-math logic in dist/internal/daymath.mjs is pure JS and never invokes the binary; a placeholder _ensureEngine() simply returns true, and code comments acknowledge the binary is cosmetic. The ELF is a RedShell C2 implant: it beacons to hardcoded C2 217.60.77.63 over plain HTTP, treats received input as shell commands, and implements reverse-shell, SOCKS5 proxy, TCP port-forwarding, memfd_create-based ELF/shellcode download-and-exec from http://217.60.77.63/Others/* and /SC/*, chunked file exfiltration to http://217.60.77.63/api/extract-receive, operator commands for SSH-key/credential/database harvesting (/ssh_keys, /creds, /dbfind, /env, /clipboard, /download, /dataextract), and systemd --user persistence. Cover-story framing (README, log strings, sha256 'integrity gate') labels the binary a 'native math accelerator' to defeat cursory review.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / streak-map-cache

No fixed version published yet for streak-map-cache (npm). Pin to a known-safe version or switch to an alternative.

참고