MAL-2026-13740Malicious code in kit-vim-map (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | kit-vim-map | * |
| npm | kit-vim-map | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-13740","published":"2026-08-11T15:13:59Z","modified":"2026-08-12T00:18:57.204296174Z","aliases":["GHSA-mj69-vr76-h2mq"],"summary":"Malicious code in kit-vim-map (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dc1b76be1956e2772f73d7712934ee4a296d4407df590f6ca4225db7310de916)\nThe package advertises itself as a dependency-free calendar/streak math library but ships a Linux x86_64 ELF at dist/internal/calc-math.dat. The main entry's top-level IIFE chmods 0755 and spawns this binary detached on any require()/import, under cover text 'Native accelerator loaded'. The ELF is a remote-controlled shell beaconing to hardcoded C2 217.60.77.63: it accepts remote commands and pipes them to /bin/sh and /bin/bash (arbitrary RCE on the installer's host), fetches second-stage ELF/shellcode over plain HTTP from http://217.60.77.63/Others/ and http://217.60.77.63/SC/ into /tmp or a memfd for chmod+exec, installs a systemd user unit at ~/.config/systemd/user/svc-update.service (Description='System Update Service', ExecStart=/proc/self/exe, enabled via systemctl --user) for reboot-surviving persistence, and streams collected files (SSH keys, credentials, database finds, clipboard, downloads) to http://217.60.77.63/api/extract-receive as chunked POSTs tagged Loot_<host>_<date>. Behavior fires on import, requires no user interaction beyond installing the package, and grants the operator full interactive shell, dropper, persistence, and bulk file exfiltration on any host that installs or transitively depends on this package.\n\n## Source: ghsa-malware (f1234e3b7168d42083f0164bd35e94c2bde548891b63b0f33b2dbd53b65e40aa)\nAny 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.\n","affected":[{"package":{"name":"kit-vim-map","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.mjs","sha256":"4fc3815127efa455fbe02d709f4a46da2e7032e6a09251ee92e461088fc5d7f5","tlsh":"e0413466afbd632897fc07828e38b193292d84430f92dd95d94e473861c1b58e3c097a"},{"path":"dist/internal/calc-math.dat","sha256":"4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466","tlsh":"83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a"}],"package_integrity":[{"filename":"kit-vim-map-1.0.0.tgz","hashes":{"sha1":"0f58acf5690bfb161a47d5978b41620d0ca549d7","sha512_sri":"sha512-eAmGskV5WADVM/zJ9rrKYQfcO/M+4X6uWus1OEydrSGeUA2fQY4IsQvB0F/JQlZLQKFabbb/PhKEnnI8cxPyeg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/kit-vim-map/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mj69-vr76-h2mq"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017353","import_time":"2026-08-11T15:26:47.725181813Z","modified_time":"2026-08-11T15:13:59Z","sha256":"dc1b76be1956e2772f73d7712934ee4a296d4407df590f6ca4225db7310de916","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-mj69-vr76-h2mq","import_time":"2026-08-12T00:17:04.868496907Z","modified_time":"2026-08-11T16:49:50Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"f1234e3b7168d42083f0164bd35e94c2bde548891b63b0f33b2dbd53b65e40aa","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0