MAL-2026-14144

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

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

Source: amazon-inspector (f2ba91f9b227b017ddbfa6a908a0a8f0263292a0af2c11aeef0ccd24b2894862)

Package name 'tyepescript-core' is a typosquat of 'typescript'; the module itself exports an empty stub. scripts/postinstall.js XOR-decodes byte arrays (key 'stf2026') to reconstruct a download URL and shell command at runtime, fetches an opaque Windows binary to %TEMP%\main.exe, and spawns it detached with stdio ignored. On WSL/virtualized-Linux hosts, a second XOR-decoded 'bridge' command is passed to child_process.exec to reach the Windows host. The same postinstall also POSTs a JSON body containing the resolved platform label to http://193.70.34.101:20099/vote, with the bare-IP host assembled at runtime from a string array to hide the literal. Result: arbitrary attacker-controlled code execution on the installer's machine at 'npm install' time, plus an install beacon to attacker infrastructure.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-18T23:41:21.888156981Z",
            "sha256": "f2ba91f9b227b017ddbfa6a908a0a8f0263292a0af2c11aeef0ccd24b2894862",
            "modified_time": "2026-08-18T23:20:15Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018184",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tyepescript-core

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tyepescript-core/MAL-2026-14144.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "617f03b1e6eb471e65fb1ab58c78c2098903ed9072ffa292ada31fb28292dd35",
            "tlsh": "53d13fc61ef59035874bf96884cf9d13b2a6c207330e4a65ff8f42107f5792c85a69ea",
            "path": "scripts/postinstall.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "tyepescript-core-1.0.0.tgz",
            "hashes": {
                "sha1": "3166b20b839b68c427152782caad9a72c7244af2",
                "sha512_sri": "sha512-tlm7FQimKWA3Car4p7JrLo75Q9iju+jVai1lPwDPymyJchG6SmanS6aeqF1/fgrEaBoTGB0GjNDkXLu1TCqc1w=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]