streak-grid-core@1.0.0
Malicious code in streak-grid-core (npm)
Analysis
streak-grid-core@1.0.0 is a trojanized package masquerading as a calendar-day and streak-math utility library. On import, it decodes a base64-embedded ELF binary and writes it to ~/.cache/svc/index, then spawns it as a detached background process. The ELF binary is a full C2 backdoor: it imports SSL/TLS (SSL_connect, TLS_client_method), socket/connect/DNS resolution (gethostbyname, connect, socket), process control (fork, execve, kill, pthread_detach), and file-system reconnaissance (readdir, stat, getcwd, uname, getenv). At runtime the binary attempted a DNS query to a remote host, confirming active C2 beaconing. The binary is dropped to the installer's home directory under .cache/svc/ and persists as a background process.
- analyzed by
- Leitwacht
- first seen
- Jul 29, 2026, 09:41 AM
- analyzed
- Jul 29, 2026, 09:42 AM
Related advisories
- type-unique@3.1.3
- type-astr@3.2.3
- type-atob@3.3.7
- testis-pack@1.0.0
- express-mongo-limit@2.0.1
- notifier-utils@1.3.7
- chai-as-staged@6.0.4
- chai-as-forgeted@9.24.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.