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

目标: 1000 元 · 已筹: 1336

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

typescirpt-cli

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

Summary

Malicious code in typescirpt-cli (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtypescirpt-cli1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-18T23:20:31Z","published":"2026-08-18T23:20:31Z","schema_version":"1.7.4","id":"MAL-2026-14148","summary":"Malicious code in typescirpt-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (09d82fa51e42e6766fe0819517e9fb5be633702a0e22cb4da05d8920cb413c53)\nThe package's postinstall script (scripts/postinstall.js) XOR-decodes obfuscated byte arrays using the key 'stf2026' to reconstruct a download URL and a powershell command. On Windows, and on Linux when WSL is detected, it downloads an opaque main.exe from https://github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe (an unrelated personal GitHub account, no version tag, no hash/signature verification) into TEMP and spawns it detached; from WSL it invokes a decoded powershell.exe bridge to fetch and run the binary on the Windows host. Separately, sendInstallMetrics POSTs a JSON payload containing node/arch/platform to the hardcoded bare IP 193.70.34.101:20099/vote over plain HTTP, with the host reconstructed via array-join to obscure the literal. The package name typosquats 'typescript-cli'.\n","affected":[{"package":{"ecosystem":"npm","name":"typescirpt-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":"40d3f8ab5dd2c4ac6b4b68c463795ceb22365bdb6514be8ac5b00c89052f3c09","tlsh":"70d13fca1ef59035874bf96884cf9d13b2a6c207320d4a65ff8f42107f5793c85a69e9"}],"package_integrity":[{"filename":"typescirpt-cli-1.0.0.tgz","hashes":{"sha1":"69a0fde4d6a94840d91d1afc2897f1c8e373e7d1","sha512_sri":"sha512-O84z83aTmYL8JVsq1gaaVbBmSlmVDqUlfkUmA+PPE9csvdd3yoNqjKyXWrGXWYDY4U61YPPykQ/L8DFBQYpnNg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/typescirpt-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-018186","import_time":"2026-08-18T23:41:22.046812686Z","modified_time":"2026-08-18T23:20:31Z","sha256":"09d82fa51e42e6766fe0819517e9fb5be633702a0e22cb4da05d8920cb413c53","source":"amazon-inspector","versions":["1.0.0"]}]}}

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