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

目标: 1000 元 · 已筹: 1336

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

typecript-cli

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

Summary

Malicious code in typecript-cli (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtypecript-cli1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-18T23:20:05Z","published":"2026-08-18T23:20:05Z","schema_version":"1.7.4","id":"MAL-2026-14145","summary":"Malicious code in typecript-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (03604fc37a8607bf5c14f409dc9d13308bff3e7ec145de955ae13a07c13da92e)\ntypecript-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.\n","affected":[{"package":{"ecosystem":"npm","name":"typecript-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":"ccb1e16764a5794182609d17e6e926c2c8527e5e427f971c59c448f4b7a11eaf","tlsh":"3ad140c61ef4a036874bf96884cf9d13b2a6c207330e4a65ff8f42107f5792c85a69d6"}],"package_integrity":[{"filename":"typecript-cli-1.0.0.tgz","hashes":{"sha1":"db85f20ab34d10194f12126d7da6bbc7e1656e52","sha512_sri":"sha512-7Cisu5J32ekVAubucDx3aCiti+l2sCeJW7ovjrTpjussIr34AP/2ads/wKV4xF3+yT8djfLn8DH+y5rZ1kN0eA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/typecript-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-018183","import_time":"2026-08-18T23:41:21.822267226Z","modified_time":"2026-08-18T23:20:05Z","sha256":"03604fc37a8607bf5c14f409dc9d13308bff3e7ec145de955ae13a07c13da92e","source":"amazon-inspector","versions":["1.0.0"]}]}}

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