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

目标: 1000 元 · 已筹: 1359 元

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

http-ws-listener

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

Summary

Malicious code in http-ws-listener (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
33
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmhttp-ws-listener1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T20:29:55Z","published":"2026-07-14T20:29:55Z","schema_version":"1.7.4","id":"MAL-2026-10623","summary":"Malicious code in http-ws-listener (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2b70acc8a626218c5855ef656a6945f1f2018c0ff62c112d9b31bae5016fae49)\nhttp-ws-listener@1.0.5 ships misc/configFetcher.js, which reconstructs a hidden Pastebin URL and the module names 'net' and 'child_process' by triple-base64-decoding a Lorem-ipsum string literal and indexing characters through a numeric array. When the package's advertised entrypoint startWebSocketServer() is called, fetchConfig() retrieves colon-separated handles from the paste, dynamically imports the built-in net and child_process modules, invokes child_process.exec on a second remote-fetched string, opens a TCP socket to a host:port also carried in the paste, and pipes that socket into the child process's stdin, stdout, and stderr. The result is an interactive reverse shell on the machine running the package, driven by content that the paste author can mutate at any time. The obfuscation (triple base64 plus character-index reconstruction) exists to hide the C2 URL and the built-in module names from static inspection.\n","affected":[{"package":{"ecosystem":"npm","name":"http-ws-listener"},"versions":["1.0.5"],"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":"misc/configFetcher.js","sha256":"9f815f5c096d28547abcccdc9f8c341a3fbfec4f751b76843a12aeee23fb9a88","tlsh":"a5226d447dfe64b1eb91b246c69bec0931c183863956e4c5fa2c83450fbf905c64b6c7"}],"package_integrity":[{"filename":"http-ws-listener-1.0.5.tgz","hashes":{"sha1":"de00a0854ea9791c883cf40b5303b97a4ecbae15","sha512_sri":"sha512-G4ILhI5Ac9v2kMrP1lnfrgu1lWBkHh6cMSy93MdOzi1Uo7sSaFS3fSRQrJEVr90sMk75CmxLFYrvyQjfgzg4zQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/http-ws-listener/v/1.0.5"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010564","import_time":"2026-07-14T20:52:50.020277685Z","modified_time":"2026-07-14T20:29:55Z","sha256":"2b70acc8a626218c5855ef656a6945f1f2018c0ff62c112d9b31bae5016fae49","source":"amazon-inspector","versions":["1.0.5"]}]}}

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