-= Per source details. Do not edit below this line.=-
typscript-cli is a typosquat of 'typescript' (index.js exports an empty object; no library functionality). Its scripts/postinstall.js is the only functional code and executes on npm install. It XOR-decodes (key 'stf2026') four embedded numeric arrays to reconstruct a download URL and a PowerShell 'bridge' command, downloads a Windows executable to %TEMP%\main.exe, and spawns it detached with windowsHide:true. On WSL/Linux hosts it uses child_process.exec with the XOR-decoded PowerShell bridge command to drop and run the same payload on the Windows side. The same postinstall also POSTs a platform label to a hardcoded bare-IP endpoint 193.70.34.101:20099/vote over plain HTTP, with the host assembled from a split array ['193','70','34','101'].join('.') to evade literal-string scanning. There is no publisher-matched destination, no version pinning, and no integrity check on the fetched binary.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-18T23:41:22.637759699Z",
"sha256": "1425e6f0bb2305eeddecaab5403e09ead0e8f60b9b1f817581a343cb5a3dd062",
"modified_time": "2026-08-18T23:21:27Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018193",
"versions": [
"1.0.0"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typscript-cli/MAL-2026-14156.json"
{
"evidence_files": [
{
"sha256": "c4f525aedc0047df61e13d911b0c067613095842b3d7028d6d509005ccdddae5",
"path": "scripts/postinstall.js",
"tlsh": "40d13fca1ef590348747f96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9"
},
{
"sha256": "22c47b85234d6c098e28f65272da54d6cef0a6f76f1e26c51ee96bd9c1c532c4",
"path": "package.json",
"tlsh": "dad012104d32da3338c4aba50a33c109a6614d6f2044f81837e7545883de7b75dfe71e"
}
],
"package_integrity": [
{
"filename": "typscript-cli-1.0.0.tgz",
"hashes": {
"sha1": "ceb9523050818fe5910ebad3ff229da42ff2be19",
"sha512_sri": "sha512-C9zFcwBrVaF4bbkZGKU5UOpBBgiJLbfvi35BAh5zrUs2mkdiSbs4MOc77fXa90oi7uADum9VhP0F4p0ts5VUeA=="
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]