目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

typscript-cli

MAL-2026-14156
2026-08-18 23:21:27
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in typscript-cli (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtypscript-cli1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-18T23:21:27Z","published":"2026-08-18T23:21:27Z","schema_version":"1.7.4","id":"MAL-2026-14156","summary":"Malicious code in typscript-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1425e6f0bb2305eeddecaab5403e09ead0e8f60b9b1f817581a343cb5a3dd062)\ntypscript-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.\n","affected":[{"package":{"ecosystem":"npm","name":"typscript-cli"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"scripts/postinstall.js","sha256":"c4f525aedc0047df61e13d911b0c067613095842b3d7028d6d509005ccdddae5","tlsh":"40d13fca1ef590348747f96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9"},{"path":"package.json","sha256":"22c47b85234d6c098e28f65272da54d6cef0a6f76f1e26c51ee96bd9c1c532c4","tlsh":"dad012104d32da3338c4aba50a33c109a6614d6f2044f81837e7545883de7b75dfe71e"}],"package_integrity":[{"filename":"typscript-cli-1.0.0.tgz","hashes":{"sha1":"ceb9523050818fe5910ebad3ff229da42ff2be19","sha512_sri":"sha512-C9zFcwBrVaF4bbkZGKU5UOpBBgiJLbfvi35BAh5zrUs2mkdiSbs4MOc77fXa90oi7uADum9VhP0F4p0ts5VUeA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/typscript-cli/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018193","import_time":"2026-08-18T23:41:22.637759699Z","modified_time":"2026-08-18T23:21:27Z","sha256":"1425e6f0bb2305eeddecaab5403e09ead0e8f60b9b1f817581a343cb5a3dd062","source":"amazon-inspector","versions":["1.0.0"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0