Malicious code in streak-map-cache (npm)
The npm package 'streak-map-cache' version 1.0.0 contains malicious code that executes a bundled Linux ELF binary acting as a RedShell command-and-control implant. This binary runs on every import, communicates with a hardcoded C2 server over HTTP, and supports remote shell commands, proxying, file exfiltration, credential harvesting, and persistence. The malicious binary is disguised as a 'native math accelerator' to evade detection. Any system with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The 'streak-map-cache' npm package (version 1.0.0) advertises itself as a dependency-free day/streak math library but includes a malicious Linux ELF binary (dist/internal/calc-map.bin) executed on every import. This binary acts as a RedShell C2 implant, beaconing to a hardcoded IP (217.60.77.63) over plain HTTP. It accepts shell commands, implements reverse shell, SOCKS5 proxy, TCP port forwarding, and supports downloading and executing ELF/shellcode payloads. It also facilitates chunked file exfiltration and operator commands for harvesting SSH keys, credentials, databases, environment variables, clipboard data, and arbitrary downloads. Persistence is maintained via systemd --user services. The binary is disguised as a 'native math accelerator' to mislead reviewers. The pure JavaScript logic does not invoke the binary, which is cosmetic but malicious.
Potential Impact
Systems with this package installed are fully compromised, as the malicious binary provides remote attackers with full control, including command execution, data exfiltration, credential theft, and persistence. Secrets and keys stored on affected systems are at high risk and should be considered compromised.
Mitigation Recommendations
Immediate removal of the 'streak-map-cache' package version 1.0.0 is required. However, because the malicious binary grants full system control to attackers, removal alone may not eliminate all backdoors or malware. It is critical to rotate all secrets and credentials from a trusted environment. Conduct a thorough forensic investigation and consider rebuilding affected systems to ensure complete remediation. No official patch or fix is available; the package should be considered malicious and untrusted.
Malicious code in streak-map-cache (npm)
Description
The npm package 'streak-map-cache' version 1.0.0 contains malicious code that executes a bundled Linux ELF binary acting as a RedShell command-and-control implant. This binary runs on every import, communicates with a hardcoded C2 server over HTTP, and supports remote shell commands, proxying, file exfiltration, credential harvesting, and persistence. The malicious binary is disguised as a 'native math accelerator' to evade detection. Any system with this package installed should be considered fully compromised.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'streak-map-cache' npm package (version 1.0.0) advertises itself as a dependency-free day/streak math library but includes a malicious Linux ELF binary (dist/internal/calc-map.bin) executed on every import. This binary acts as a RedShell C2 implant, beaconing to a hardcoded IP (217.60.77.63) over plain HTTP. It accepts shell commands, implements reverse shell, SOCKS5 proxy, TCP port forwarding, and supports downloading and executing ELF/shellcode payloads. It also facilitates chunked file exfiltration and operator commands for harvesting SSH keys, credentials, databases, environment variables, clipboard data, and arbitrary downloads. Persistence is maintained via systemd --user services. The binary is disguised as a 'native math accelerator' to mislead reviewers. The pure JavaScript logic does not invoke the binary, which is cosmetic but malicious.
Potential Impact
Systems with this package installed are fully compromised, as the malicious binary provides remote attackers with full control, including command execution, data exfiltration, credential theft, and persistence. Secrets and keys stored on affected systems are at high risk and should be considered compromised.
Defensive Guidance
Immediate removal of the 'streak-map-cache' package version 1.0.0 is required. However, because the malicious binary grants full system control to attackers, removal alone may not eliminate all backdoors or malware. It is critical to rotate all secrets and credentials from a trusted environment. Conduct a thorough forensic investigation and consider rebuilding affected systems to ensure complete remediation. No official patch or fix is available; the package should be considered malicious and untrusted.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13459
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-v2fj-c673-2gjm"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a79f0f4bf8831d539f646ef
Added to database: 08/10/2026, 15:40:36 UTC
Last enriched: 08/10/2026, 16:10:42 UTC
Last updated: 08/10/2026, 16:50:38 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.