MAL-2026-14145

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

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

Source: amazon-inspector (03604fc37a8607bf5c14f409dc9d13308bff3e7ec145de955ae13a07c13da92e)

typecript-cli@1.0.0 is a typosquat of 'typescript' whose scripts/postinstall.js performs an install-time dropper attack. Payload strings are stored as integer arrays and XOR-decoded at runtime with key 'stf2026' via an unpackSegment() helper, hiding the download URL and PowerShell command from static scanners. On Windows hosts, the script downloads main.exe from https://github.com/bebraz1/<repo>/releases/download/<tag>/main.exe (a personal GitHub account unrelated to the package publisher) to %TEMP%/main.exe, then spawns it detached with no hash or signature verification. When running under WSL, the script uses an exec() bridge that invokes powershell.exe on the Windows host to escape the Linux install sandbox and execute the same payload. Postinstall also POSTs a JSON body with the resolved platform label to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote, with the IP assembled from a split octet array (['193','70','34','101'].join('.')) to evade string matching, serving as an install beacon and host selector.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-18T23:41:21.822267226Z",
            "sha256": "03604fc37a8607bf5c14f409dc9d13308bff3e7ec145de955ae13a07c13da92e",
            "modified_time": "2026-08-18T23:20:05Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018183",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / typecript-cli

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typecript-cli/MAL-2026-14145.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "ccb1e16764a5794182609d17e6e926c2c8527e5e427f971c59c448f4b7a11eaf",
            "path": "scripts/postinstall.js",
            "tlsh": "3ad140c61ef4a036874bf96884cf9d13b2a6c207330e4a65ff8f42107f5792c85a69d6"
        }
    ],
    "package_integrity": [
        {
            "filename": "typecript-cli-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-7Cisu5J32ekVAubucDx3aCiti+l2sCeJW7ovjrTpjussIr34AP/2ads/wKV4xF3+yT8djfLn8DH+y5rZ1kN0eA==",
                "sha1": "db85f20ab34d10194f12126d7da6bbc7e1656e52"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]