MAL-2026-14154

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typesript-cli/MAL-2026-14154.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14154
Published
2026-08-18T23:21:19Z
Modified
2026-08-18T23:45:12.929515447Z
Summary
Malicious code in typesript-cli (npm)
Details

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

Source: amazon-inspector (3ac32bb6c3db806740bda125cf58a8f348256baa021b0a6c7b901ebb86720505)

Package name is a one-character typosquat of the widely-used 'typescript' family. On npm install, scripts/postinstall.js XOR-decodes (key 'stf2026') a GitHub-hosted URL held as an integer array and downloads a Windows PE to TEMP\main.exe, then spawns it detached with no hash or signature verification. When running under WSL or virtualized Linux (detected via /proc/version and WSLENV), the script decodes a bridge launcher command and inline script from further XOR-obfuscated blobs and executes them via child_process.exec with windowsHide:true to fetch and run the same payload on the Windows host, crossing the Linux sandbox boundary. The script also POSTs platform info to a hardcoded bare-IP endpoint http://193.70.34.101:20099/vote, with the IP split across a string array ['193','70','34','101'].join('.') to hide it from static review, serving as an install beacon.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-18T23:41:22.544548983Z",
            "sha256": "3ac32bb6c3db806740bda125cf58a8f348256baa021b0a6c7b901ebb86720505",
            "modified_time": "2026-08-18T23:21:19Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018192",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / typesript-cli

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typesript-cli/MAL-2026-14154.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "113e0fe60776d9400ef74ee7726267d27358ab31bd16ed0d1c9d011b934318b7",
            "path": "scripts/postinstall.js",
            "tlsh": "fad13fca1ef59035874bf96884cf9d13b2a6c207320d4a65ff8f42107f5793c85a69e9"
        }
    ],
    "package_integrity": [
        {
            "filename": "typesript-cli-1.0.0.tgz",
            "hashes": {
                "sha1": "0694fe75d98e21b5bd52090ed7052a2f89ab34cd",
                "sha512_sri": "sha512-xidIJUNZNHjv8H6+wNAFNNwgoFW9jRl49LUjq7J3UAp4RI6/+aTs51T/HP87qiW35fb0SJtPXNDccwoWocuVZQ=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]