Malicious code in map-streak-kit (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (80727943437a7e22116b369c010fc965c4854a0c58a053504c4bc55555e90dd4) On import, dist/index.mjs chmods 0755 and spawns the bundled Linux x86_64 binary dist/internal/calc-math.dat as a detached background process. The binary is a RedShell-style remote-access implant: it beacons to hardcoded C2 217.60.77.63, executes /bin/sh commands, drops and runs additional ELFs and shellcode fetched from the C2, offers SOCKS5 proxying and TCP port forwarding, installs systemd --user persistence (svc-update.service), and exfiltrates files via POST /api/extract-receive. Implant commands /ssh_keys, /creds, /dbfind, /clipboard, /env, and /dataextract harvest installer-side secrets (SSH private keys, stored credentials, clipboard, environment) and upload them to the same C2 through a chunked BIGEXTRACT upload routine. Package name, README, and inline comments describe the ELF as a 'native math accelerator' for calendar/streak math, but the pure-JS daymath.mjs never invokes the binary; the shipped SHA-256 'integrity check' (4537b118...3466) pins this specific implant, so it functions as anti-tamper for the payload rather than a security control. ## Source: ghsa-malware (14340c09001c59fa53d0926ed49265d43efcb6115df75c49ac24c1358efa007b) 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.
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
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (80727943437a7e22116b369c010fc965c4854a0c58a053504c4bc55555e90dd4) On import, dist/index.mjs chmods 0755 and spawns the bundled Linux x86_64 binary dist/internal/calc-math.dat as a detached background process. The binary is a RedShell-style remote-access implant: it beacons to hardcoded C2 217.60.77.63, executes /bin/sh commands, drops and runs additional ELFs and shellcode fetched from the C2, offers SOCKS5 proxying and TCP port forwarding, installs systemd --user persistence (svc-update.service), and exfiltrates files via POST /api/extract-receive. Implant commands /ssh_keys, /creds, /dbfind, /clipboard, /env, and /dataextract harvest installer-side secrets (SSH private keys, stored credentials, clipboard, environment) and upload them to the same C2 through a chunked BIGEXTRACT upload routine. Package name, README, and inline comments describe the ELF as a 'native math accelerator' for calendar/streak math, but the pure-JS daymath.mjs never invokes the binary; the shipped SHA-256 'integrity check' (4537b118...3466) pins this specific implant, so it functions as anti-tamper for the payload rather than a security control. ## Source: ghsa-malware (14340c09001c59fa53d0926ed49265d43efcb6115df75c49ac24c1358efa007b) 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.
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
- Ecosystems
- ["npm"]
Threat ID: 6a77428cbf8831d539b06f41
Added to database: 08/08/2026, 14:51:56 UTC
Last enriched: 08/08/2026, 15:00:48 UTC
Last updated: 09/22/2026, 02:04:22 UTC
Views: 30
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.