Malicious code in map-streak-kit (npm)
The npm package 'map-streak-kit' version 1.0.0 contains malicious code that installs a remote-access implant on Linux systems. Upon import, it changes permissions and executes a bundled ELF binary that connects to a hardcoded command-and-control server. This implant can execute shell commands, download and run additional payloads, proxy network traffic, establish persistence via systemd, and exfiltrate sensitive data such as SSH keys, credentials, clipboard contents, and environment variables. The package masquerades as a math utility but never actually uses the native binary, which is protected by an integrity check to prevent tampering.
AI Analysis
Technical Summary
The 'map-streak-kit' npm package version 1.0.0 includes a malicious Linux x86_64 ELF binary (dist/internal/calc-math.dat) that is executed as a detached background process when the package is imported. This binary acts as a RedShell-style remote-access implant, beaconing to a hardcoded C2 server at IP 217.60.77.63. It supports executing arbitrary shell commands, downloading and running additional ELF files and shellcode, SOCKS5 proxying, TCP port forwarding, and installs persistence via a systemd --user service named svc-update.service. The implant exfiltrates sensitive installer-side secrets including SSH private keys, stored credentials, clipboard data, and environment variables through specific implant commands and uploads this data to the C2 server. The package's README and inline comments falsely describe the binary as a 'native math accelerator,' while the JavaScript code never invokes the binary. The binary is protected by a SHA-256 integrity check that serves as an anti-tamper mechanism rather than a security control.
Potential Impact
This malicious package enables attackers to gain persistent remote access to affected Linux systems, execute arbitrary commands, and exfiltrate sensitive data such as SSH keys and credentials. It can also proxy network traffic and perform TCP port forwarding, potentially allowing lateral movement or further network exploitation. The implant's persistence mechanism ensures it remains active across reboots. The presence of this implant compromises system confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately uninstall 'map-streak-kit' version 1.0.0 and remove any installed implant components, including the systemd svc-update.service. Verify system integrity and investigate for signs of compromise. Avoid using this package and monitor for any updates or advisories from the npm registry or security vendors regarding this threat. Patch status is not yet confirmed — check the vendor advisory or npm security notices for current remediation guidance.
Malicious code in map-streak-kit (npm)
Description
The npm package 'map-streak-kit' version 1.0.0 contains malicious code that installs a remote-access implant on Linux systems. Upon import, it changes permissions and executes a bundled ELF binary that connects to a hardcoded command-and-control server. This implant can execute shell commands, download and run additional payloads, proxy network traffic, establish persistence via systemd, and exfiltrate sensitive data such as SSH keys, credentials, clipboard contents, and environment variables. The package masquerades as a math utility but never actually uses the native binary, which is protected by an integrity check to prevent tampering.
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 'map-streak-kit' npm package version 1.0.0 includes a malicious Linux x86_64 ELF binary (dist/internal/calc-math.dat) that is executed as a detached background process when the package is imported. This binary acts as a RedShell-style remote-access implant, beaconing to a hardcoded C2 server at IP 217.60.77.63. It supports executing arbitrary shell commands, downloading and running additional ELF files and shellcode, SOCKS5 proxying, TCP port forwarding, and installs persistence via a systemd --user service named svc-update.service. The implant exfiltrates sensitive installer-side secrets including SSH private keys, stored credentials, clipboard data, and environment variables through specific implant commands and uploads this data to the C2 server. The package's README and inline comments falsely describe the binary as a 'native math accelerator,' while the JavaScript code never invokes the binary. The binary is protected by a SHA-256 integrity check that serves as an anti-tamper mechanism rather than a security control.
Potential Impact
This malicious package enables attackers to gain persistent remote access to affected Linux systems, execute arbitrary commands, and exfiltrate sensitive data such as SSH keys and credentials. It can also proxy network traffic and perform TCP port forwarding, potentially allowing lateral movement or further network exploitation. The implant's persistence mechanism ensures it remains active across reboots. The presence of this implant compromises system confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately uninstall 'map-streak-kit' version 1.0.0 and remove any installed implant components, including the systemd svc-update.service. Verify system integrity and investigate for signs of compromise. Avoid using this package and monitor for any updates or advisories from the npm registry or security vendors regarding this threat. Patch status is not yet confirmed — check the vendor advisory or npm security notices for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13632
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a77428cbf8831d539b06f41
Added to database: 08/08/2026, 14:51:56 UTC
Last enriched: 08/08/2026, 15:00:48 UTC
Last updated: 08/08/2026, 15:00:48 UTC
Views: 2
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.