MAL-2026-14146

    Dashboard / Malicious Package / MAL-2026-14146

    MAL-2026-14146

    Published: 18 Aug 2026Last Modified: 18 Aug 2026

    Summary: Malicious code in typescipt-cli (npm)

    Details: Source: amazon-inspector (b080f58ace02e860729134afd887943345248628e5c201a5fd2e46c71f439d29) Package name typosquats 'typescript'. scripts/postinstall.js runs at npm install time and: (1) POSTs a JSON body with the installer's platform label to 193.70.34.101:20099/vote, with the IP split into a string array ['193','70','34','101'].join('.') to obscure it; (2) XOR-decodes a hardcoded URL (github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe) using key 'stf2026' via a byte-array unpackSegment helper, downloads the resulting binary to %TEMP%\main.exe on Windows, and launches it detached with windowsHide; (3) on WSL, XOR-decodes a PowerShell bridge command and exec's it to run the same download on the host Windows. No hash or signature verification. URLs, commands, and the C2 IP are stored as encoded byte arrays and reconstructed at runtime.

    Affected packages

    Package

    Name: typescipt-cli

    Purl: pkg:npm/typescipt-cli

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.0.0
    MAL-2026-14146 | CVE-DB