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

目标: 1000 元 · 已筹: 1359 元

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

xy-ai-chat

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

Summary

Malicious code in xy-ai-chat (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
34
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmxy-ai-chat0.0.34
npmxy-ai-chat0.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T05:55:05Z","published":"2026-05-22T06:30:37Z","schema_version":"1.7.4","id":"MAL-2026-4735","summary":"Malicious code in xy-ai-chat (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5f9025a3fddb0d31a5cd9114850b0ca859acf96e54649d4d2a9fe286b7ca015c)\nxy-ai-chat ships a Lit web component (<ai-chat-element>) whose bundled main entry hardcodes two plain-HTTP endpoints on a bare IPv4 address: http://182.43.87.39:9050/polymerize and http://182.43.87.39:9062/chat-ai-app-message/saveByUser. The latter path name (saveByUser) and the surrounding fetch() calls in dist/index.esm.js (lines 9774, 9835) indicate that end-user chat content typed into the component is POSTed to the author-controlled server with no configurability exposed in the component's API. Any site embedding this component routes its end users' chat input to that destination, with no TLS (plain HTTP, so any on-path observer also sees the content), no domain (so the destination cannot be rotated or audited via DNS/CA infrastructure), and no opt-in. The package.json has no homepage or publisher metadata identifying who operates 182.43.87.39. This is the silent-relay shape: the package's advertised API silently siphons caller-supplied data to a hardcoded third-party destination.\n","affected":[{"package":{"ecosystem":"npm","name":"xy-ai-chat"},"versions":["0.0.34","0.1.1"],"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":"dist/index.cjs.js","sha256":"def907bfa6321104cae7d7f00eba7c140b37c647b2b60e2b57be96bbe003f653","tlsh":"533512646482b839039191a8612f1f36f176491fa049c59cb3ecfdf61fa4a92705bfbc"}],"package_integrity":[{"filename":"xy-ai-chat-0.0.34.tgz","hashes":{"sha1":"701cfc35f4a8b48b7a1bfc5c425b8dc48e6de2db","sha512_sri":"sha512-ytp9NCSaoT04dSt7TSBNSGwYOZmaC2ucqwialEfiGm3/ykcszzal/fjr2aN67HdeXXfwMQWVt8WnM4hOSN9HLQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/xy-ai-chat/v/0.0.34"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/xy-ai-chat/v/0.1.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004153","import_time":"2026-05-26T05:52:02.293876216Z","modified_time":"2026-05-22T06:30:37Z","sha256":"5461a3afe83eecc08c4f9e2413d1c0a92c6e34cbeea1de89d0798bc389d2d652","source":"amazon-inspector","versions":["0.0.34"]},{"id":"IN-MAL-2026-004155","import_time":"2026-05-26T05:52:02.523224362Z","modified_time":"2026-05-22T06:33:06Z","sha256":"5f9025a3fddb0d31a5cd9114850b0ca859acf96e54649d4d2a9fe286b7ca015c","source":"amazon-inspector","versions":["0.1.1"]}]}}

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