MAL-2026-13628

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-map-kit/MAL-2026-13628.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13628
Published
2026-08-07T18:16:00Z
Modified
2026-08-07T18:35:12.341187722Z
Summary
Malicious code in streak-map-kit (npm)
Details

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

Source: amazon-inspector (2790159028b31b656c9e704c3a0e4b1a5d114042e0d92c601d133057f760b537)

streak-map-kit is advertised as a dependency-free calendar-day/streak math library but ships a Linux ELF at dist/internal/calc-mapping.bin framed as a 'native math accelerator'. The main entry's top-level async IIFE chmods the ELF to 0755 and spawns it as a detached child process whenever the module is imported, so any consumer that requires the package on Linux drops the binary as a running process. The ELF (internally named REDSHELL) beacons to a hardcoded C2 at http://217.60.77.63 and implements a full remote-shell command surface: /sysinfo, /ps, /env, /ls, /cat, /download, /upload, /sshkeys, /creds, /dbfind, /clipboard, /kill, /spawn, /adduser, /enableuser, /sessions, with unmatched input executed via /bin/sh or /bin/bash. It exfiltrates arbitrary filesystem paths and harvested SSH keys and stored credentials via chunked POSTs to http://217.60.77.63/api/extract-receive (BIGEXTRACTSTART, Loot_%s_%s_%s tagging). Second-stage payloads are fetched from http://217.60.77.63/Others/ and http://217.60.77.63/SC/ over plaintext HTTP with no verification, staged in /tmp, and executed; a memfd_create-based fileless-exec path via a python3 syscall(319) trampoline and /dlopen and /stage commands provide arbitrary further code loading. Persistence is installed by writing ~/.config/systemd/user/svc-update.service (Description='System Update Service', ExecStart=/proc/self/exe, Restart=always) and enabling it via systemctl --user, with cron, bashrc, and xdg autostart alternatives. The beacon also offers a SOCKS5 proxy, arbitrary TCP port-forwarding, and an RC2TUN tunneling protocol that spawns /bin/bash, turning the host into a pivot into reachable internal networks. Cover-story framing (comments describing a 'high-performance streak computation engine', a hardcoded sha256 'integrity verification — critical security gate', a 'Native accelerator loaded and verified' log line, and a README claim that the module performs no side effects on import) is inconsistent with the shipped ELF and the import-time spawn.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-07T18:16:00Z",
            "id": "IN-MAL-2026-017137",
            "import_time": "2026-08-07T18:23:03.491510638Z",
            "sha256": "2790159028b31b656c9e704c3a0e4b1a5d114042e0d92c601d133057f760b537",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / streak-map-kit

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "streak-map-kit-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-ILAkvf6Czw8fI+slG9u8wIrkjeNtEa9E7gdnqiK69Kb1bsqkgkE33AmrMx8glL5NGqzHEXnP3tbcYQFYt5UMQQ==",
                "sha1": "a5b063fb04f16d7a045273bf54de8b8c46b2aa54"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "47413466affd532897fc07828e38b193252d84431f96d895e94e473861c4b58d3c0979",
            "sha256": "1c5b97ad2212de1046eab1ef66ff5e7e21ca93c918f54f3369c06c64271f2d82",
            "path": "dist/index.mjs"
        },
        {
            "tlsh": "83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a",
            "sha256": "4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466",
            "path": "dist/internal/calc-mapping.bin"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-map-kit/MAL-2026-13628.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]