MAL-2026-13915

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kit-map-vim/MAL-2026-13915.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13915
Aliases
  • GHSA-hg96-r46x-6f4w
Published
2026-08-12T15:13:19Z
Modified
2026-08-12T17:45:23.255352596Z
Summary
Malicious code in kit-map-vim (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (03873a12af48745e3fd5173ce736267aebd3290be427275073562b8e1ada61fc)

On import of kit-map-vim, dist/index.mjs unconditionally spawns dist/internal/calc-math.dat as a detached child process after a SHA-256 self-check. The.dat file is a Linux x8664 ELF RedShell remote-access implant disguised as a 'native math accelerator'. The implant beacons to hardcoded C2 host 217.60.77.63 over plain HTTP and exposes command handlers that download and execute additional ELF binaries and shellcode from http://217.60.77.63/Others/* and /SC/* endpoints, including in-memory execution via memfdcreate/fexecve to avoid touching disk. It installs a masquerading systemd user unit 'svc-update.service' (Description=System Update Service, Restart=always) for persistence, provides SOCKS5 proxy and TCP port-forwarding, and offers built-in commands to enumerate users/env/processes/network configuration, harvest SSH keys and credentials from ~/.ssh and credential stores, and stream arbitrary filesystem paths to the operator via a chunked 'POST /api/extract-receive' handler labeled with a 'Loot_*' destination. The package's stated day-math purpose has no need for a native binary; the ELF's exposed command set (RedShell) is unrelated to any math functionality.

Source: ghsa-malware (4eb4b412fdc46f4d5569e4b581cf64a9e1bed94cc7cd8fcd91613b98f73ac20f)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017608",
            "import_time": "2026-08-12T15:26:14.391620943Z",
            "sha256": "03873a12af48745e3fd5173ce736267aebd3290be427275073562b8e1ada61fc",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-12T15:13:19Z"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-hg96-r46x-6f4w",
            "import_time": "2026-08-12T17:38:23.126271095Z",
            "sha256": "4eb4b412fdc46f4d5569e4b581cf64a9e1bed94cc7cd8fcd91613b98f73ac20f",
            "modified_time": "2026-08-12T17:35:49Z",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / kit-map-vim

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/index.mjs",
            "tlsh": "76413466afbd632997fc07828e38b193292d84430f92dd95d94e473861c0b58e3c0979",
            "sha256": "9e8a5128cea298d21b8e3b24102d48cd3b256bb7f229e75c854ccfbe8ed4fb76"
        },
        {
            "path": "dist/internal/calc-math.dat",
            "tlsh": "83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a",
            "sha256": "4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466"
        }
    ],
    "package_integrity": [
        {
            "filename": "kit-map-vim-1.0.0.tgz",
            "hashes": {
                "sha1": "1b70259d469fe44fd1e86a9c73c682f19b989c4c",
                "sha512_sri": "sha512-pMUdSKe6broCXlqYTgEnI8QwmxW+VkXXq0B9sQXtZ3lSd+jQE6xVa3uR1BIj6WiRU+XE6GrCMgNk3x1gX0hSSA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kit-map-vim/MAL-2026-13915.json"