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

目标: 1000 元 · 已筹: 1359 元

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

ect-472839-ctf

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

Summary

Malicious code in ect-472839-ctf (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
8
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmect-472839-ctf*
npmect-472839-ctf1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-15T23:54:11Z","published":"2026-06-12T21:31:07Z","schema_version":"1.7.4","id":"MAL-2026-5718","aliases":["GHSA-9j3j-4vjh-6h88"],"summary":"Malicious code in ect-472839-ctf (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a67248cb7373817da18e0edf4a019e2e6c9ded239e93a2e477ac168f7f45eeaa)\npackage.json declares a preinstall hook (`\"preinstall\": \"node index.js\"`) that auto-executes on `npm install`. index.js issues an HTTP GET to the hardcoded bare IP `10.107.121.85:8000` at path `/ping_472839_ctf`. The unique token in the URL path makes the request itself the exfiltrated signal — it confirms to the operator of that endpoint that the package executed inside the installer's environment, leaking the installer's source IP and the fact that code execution succeeded. The package advertises no functionality that would justify a phone-home, and the destination is a private-range IP rather than any documented service. This is the canonical dependency-confusion / CTF probe shape, and the same mechanism would deliver any payload an attacker placed in index.js.\n\n## Source: ghsa-malware (969a8abcc536c129218d590432b2f1e33cedce11325d78827839fbaf1f1b35fa)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"ecosystem":"npm","name":"ect-472839-ctf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"ffc70b06e46b3e824cc8886362c0a7d50969220216d5b94993b00f3be13ac852","tlsh":"abd022d0e3f68384a5b6e388922946339023d008b00fdda0d7c802373f6206059020f4"}],"package_integrity":[{"filename":"ect-472839-ctf-1.0.0.tgz","hashes":{"sha1":"39a3de2162ffc4b858998cfe6b0c801d800fb746","sha512_sri":"sha512-WYcIK1kdPyiHk1Ibjb1ktlLcP3GSAvr8EvL/91hPzVdf4TYOAfKigzKKRN2AaDV6hcIcsKra7EI8w7+Unl5/4g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ect-472839-ctf/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9j3j-4vjh-6h88"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"a67248cb7373817da18e0edf4a019e2e6c9ded239e93a2e477ac168f7f45eeaa","import_time":"2026-06-12T21:38:19.583638128Z","id":"IN-MAL-2026-006251","modified_time":"2026-06-12T21:31:07Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"969a8abcc536c129218d590432b2f1e33cedce11325d78827839fbaf1f1b35fa","import_time":"2026-06-15T23:52:17.795831048Z","id":"GHSA-9j3j-4vjh-6h88","modified_time":"2026-06-15T23:34:02Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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