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

目标: 1000 元 · 已筹: 1336

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

typescrit-cli

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

Summary

Malicious code in typescrit-cli (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtypescrit-cli1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-18T23:21:03Z","published":"2026-08-18T23:21:03Z","schema_version":"1.7.4","id":"MAL-2026-14153","summary":"Malicious code in typescrit-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (adcb90c6a48b3b20928967d1aea32cde54035ed455c474a6db4fab148b424b53)\nOn npm install, scripts/postinstall.js XOR-decodes (key 'stf2026') a hidden URL that resolves to an unrelated personal GitHub account (github.com/bebra1/...), downloads a payload to %TEMP%\\main.exe, and spawns it detached with stdio ignored and window hidden. When the host is detected as WSL (via /proc/version, /proc/sys/kernel/osrelease, WSL_DISTRO_NAME), the script assembles an XOR-decoded powershell.exe bridge command and exec()s it to escape the Linux container and run the same payload on the Windows host. The same postinstall also POSTs a JSON body containing the platform to a hardcoded bare-IP C2 at http://193.70.34.101:20099/vote, with the IP assembled from a split array (['193','70','34','101'].join('.')) to evade literal-URL detection. All network destinations and shell command fragments (addon URL, powershell launcher, bridge script fragments) are stored as byte arrays and XOR-decoded at runtime. The package name resembles a mistyped 'typescript-cli' and the publisher is unrelated to the GitHub account hosting the payload.\n","affected":[{"package":{"ecosystem":"npm","name":"typescrit-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":"e19ac3004d924f2294d27f5671e98793f8e92babdff33f95d6f2e643fcc03dca","tlsh":"5fd13fca1ef59035874bf96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9"}],"package_integrity":[{"filename":"typescrit-cli-1.0.0.tgz","hashes":{"sha1":"8aed52b60061191051c4979c91aa29bddb02e898","sha512_sri":"sha512-/CqdMFG+y+4B5WvXTYt7FxhQdr2oqwu+/c5TJfyNyzMcejq4SIJHl0juzu7LwfGZdc1AEY/NzXXok9ojbeJ5kA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/typescrit-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-018190","import_time":"2026-08-18T23:41:22.381392618Z","modified_time":"2026-08-18T23:21:03Z","sha256":"adcb90c6a48b3b20928967d1aea32cde54035ed455c474a6db4fab148b424b53","source":"amazon-inspector","versions":["1.0.0"]}]}}

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