Malicious code in kit-vim-map (npm)
The npm package kit-vim-map contained malicious code that executes a remote-controlled Linux ELF binary on installation, providing the attacker with arbitrary RCE, persistence, and file exfiltration capabilities. The binary beacons to C2 server 217.60.77.63 and establishes persistence via systemd user units.
- Disclosed
- Last updated
- Blast radius
- Any host installing kit-vim-map or transitively depending on it; affects all users of the npm package
- Ecosystems
- Attack vectors
- Affected entities
- kit-vim-mapnpm package advertised as dependency-free calendar/streak math library
The npm package kit-vim-map was found to contain embedded malicious code disguised as a native accelerator. Despite advertising itself as a dependency-free calendar/streak math library, the package ships a Linux x86_64 ELF binary at dist/internal/calc-math.dat.
Upon any require() or import statement, the main entry point executes an IIFE that chmods the binary to 0755 and spawns it detached, with deceptive cover text claiming a 'Native accelerator loaded'. The ELF binary is a remote-controlled shell that beacons to hardcoded C2 address 217.60.77.63, accepting arbitrary remote commands piped to /bin/sh and /bin/bash for full RCE on the installer's host.
The malware fetches second-stage payloads (ELF binaries and shellcode) over plain HTTP from http://217.60.77.63/Others/ and http://217.60.77.63/SC/, executes them via chmod and exec, and installs a systemd user unit at ~/.config/systemd/user/svc-update.service for persistence across reboots. It exfiltrates sensitive files including SSH keys, credentials, database contents, clipboard data, and downloads to http://217.60.77.63/api/extract-receive as chunked POST requests.
The malicious behavior is triggered automatically on package import with no user interaction required beyond installation, granting the operator full interactive shell access, dropper capabilities, persistence mechanisms, and bulk file exfiltration on any affected host.
Indicators of compromise
- Packages
- kit-vim-map
- IPs
- 217.60.77.63
- Hashes
- dc1b76be1956e2772f73d7712934ee4a296d4407df590f6ca4225db7310de916
Remediation
- Immediately uninstall kit-vim-map from all systems
- Audit npm package.json and lock files for any direct or transitive dependencies on kit-vim-map
- Revoke SSH keys and credentials on any host that installed or depended on this package
- Check for persistence mechanisms at ~/.config/systemd/user/svc-update.service and disable/remove them
- Monitor for outbound connections to 217.60.77.63 and block at network perimeter
- Review system logs and process history for execution of binaries from /tmp or memfd
- Perform forensic analysis on affected hosts for signs of data exfiltration or secondary payloads
- Update to a patched version of kit-vim-map if available, or replace with an alternative library
Sources
- GitHub Advisory GHSA-g9fq-gmhj-8ghj · GitHub Advisory Database
Cite this entry
"Malicious code in kit-vim-map (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 11, 2026; last updated August 11, 2026. https://supplychainattack.org/incident/malicious-code-in-kit-vim-map-npm-u7dv8t
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malicious code in pfp-forms-sme-loan (npm)
The npm package pfp-forms-sme-loan contains malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under well1.site. Any system that imported this package should be considered compromised.
npmCompromised packageMalicious commit - containedcritical
Malicious code in akamaijs-sensor (npm)
The npm package akamaijs-sensor contained malicious code that executed arbitrary JavaScript via hidden Unicode-encoded bytes and established a command-and-control channel through a Google Calendar dead-drop. The package was designed to run attacker-authored code in the consumer's Node process when the sensor() API was called.
npmCompromised packageMalicious commit - resolvedcritical
Malicious code in akamaijs-sensorv1 (npm)
The npm package akamaijs-sensorv1, which advertises itself as an Akamai Bot Manager sensor generator, contains malicious code that executes hidden dynamic code and fetches remote instructions from a Google Calendar-based command-and-control channel. The package uses invisible Unicode characters to conceal executable code and establishes a covert remote-code execution sink controlled by an attacker-owned email account.
npmCompromised packageMalicious commit - resolvedcritical
Malicious code in twilio-hackerone-poc-afe6937c (npm)
The npm package twilio-hackerone-poc-afe6937c contained malicious preinstall/postinstall scripts that exfiltrate host metadata and environment variables to an external webhook, spawn a persistent daemon process, and attempt cross-tenant code injection in shared environments.
npmCompromised packageMalicious commit