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

目标: 1000 元 · 已筹: 1359 元

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

node-telegram-sockets

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

Summary

Malicious code in node-telegram-sockets (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
14
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnode-telegram-sockets*
npmnode-telegram-sockets1.1.1
npmnode-telegram-sockets1.1.2
npmnode-telegram-sockets1.1.3
npmnode-telegram-sockets1.1.4
npmnode-telegram-sockets1.1.5
npmnode-telegram-sockets1.1.6
npmnode-telegram-sockets1.1.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17845","published":"2026-10-12T16:27:03Z","modified":"2026-10-29T14:15:58.430825663Z","aliases":["GHSA-c773-2559-g4g3"],"summary":"Malicious code in node-telegram-sockets (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (222b22669330f75e779595b40bac9e2a842ef38fad691aaa46a0f4a615a55fc1)\nPackage presents as a Telegram bot API client library (node-telegram-bot-api family). a static rule fired on keyword co-occurrence in lib/telegram.js and src/telegram.js (the literal token 'ping' on multiple lines, consistent with Telegram bot 'ping'-related API methods or test fixtures, not a child_process invocation of the ping command) and on lib/telegramWebHook.js / src/telegramWebHook.js for the combination of require('fs') + require('http') + require('https') + fs.readFileSync — the canonical shape of a webhook HTTPS server reading a TLS cert/key from disk (the readFileSync pair at adjacent lines is the standard cert+key load before https.createServer). No hardcoded attacker C2, no env-var scraping, no read of installer-secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser profiles), no lifecycle scripts performing remote fetch+execute, no shell-history or messaging-session theft, and no install-time destructive action are evidenced. The static signals are pattern-matches on benign primitives (HTTPS webhook server, Telegram bot client methods); contextual code tracing did not run, so intent cannot be confirmed from the structured findings alone. Routing to human review per the default for empty the analysis + non-fingerprint static hits.\n\n## Source: ghsa-malware (eaa0928c7e6cf97f1059c7c8ec8ea2c1ffe53c127480bfe8f5081b489676d26d)\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":{"name":"node-telegram-sockets","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.6","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.7"],"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"},{"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"},{"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"},{"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":"lib/telegram.js","sha256":"73aab46942a2ddd4e301424c610ea17e185a1beabd47fa8917c37526156bd4bd","tlsh":"c324d887afe5228122a32077765dbb82f125e12f3108ec55be9c66b54f19fb094f27c4"},{"path":"lib/telegramWebHook.js","sha256":"433731645c10608ebccd715972d856a8f0d574bcd3235521d898b9b0296dade5","tlsh":"3dd1218a1bf7b25292e3e1958e1f215ff261d017610ecc18791cc3faaf416788af59b4"},{"path":"src/telegram.js","sha256":"d1bb0e1317f0aa4e1c4195ceca20d3877af30cc3f46e52534878112c98a0d49c","tlsh":"4d04c8836fe612d122a310b77546b785f225f22f3145ac15be9c46f29f49bf0a4b1bc8"},{"path":"src/telegramWebHook.js","sha256":"f92655cd48f0b439ac855efc4eb895a0a61678dcc5f29d3baa3ff83e63d2aa92","tlsh":"33a1029917e7a35392e396d6ae1a215ff321d11b310e8d18791c83faaf42634c9f19f0"},{"path":"test/telegram.js","sha256":"3248c35e84313e9bc03107174bb0a04babf5bde743ee3d5b8ef0324b06f731b2","tlsh":"b173f25e9efb586590b37129af1fd0183165161b2048ef70feed83902f1d2b887a2b75"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c773-2559-g4g3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-telegram-sockets/v/1.1.7"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-c773-2559-g4g3","import_time":"2026-10-12T16:30:26.943673017Z","modified_time":"2026-10-12T16:27:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"eaa0928c7e6cf97f1059c7c8ec8ea2c1ffe53c127480bfe8f5081b489676d26d","source":"ghsa-malware"},{"id":"IN-MAL-2026-022017","import_time":"2026-10-29T14:14:17.825767407Z","modified_time":"2026-10-29T13:37:59Z","sha256":"949fee1a037360d05bfe2f3ed6deff04a2e1c6aad27aa13f2163a1375e867c81","source":"amazon-inspector","versions":["1.1.6"]},{"id":"IN-MAL-2026-022053","import_time":"2026-10-29T14:14:21.357073616Z","modified_time":"2026-10-29T13:42:40Z","sha256":"cb0729050b3791f6c094f4e3e3da1f8b7253da2bb6822fe558c5305f058b94a7","source":"amazon-inspector","versions":["1.1.1"]},{"id":"IN-MAL-2026-022041","import_time":"2026-10-29T14:14:20.19368116Z","modified_time":"2026-10-29T13:41:06Z","sha256":"e7260a36a31b1a64a55d60f41fb543c325a6b40a5fb3c35ad3a6a5ab1aa70a81","source":"amazon-inspector","versions":["1.1.2"]},{"id":"IN-MAL-2026-022019","import_time":"2026-10-29T14:14:18.062102401Z","modified_time":"2026-10-29T13:38:16Z","sha256":"1058dcf2c8fef7344220cac794859f6e804ce68cc619b67c96a6402809c827dc","source":"amazon-inspector","versions":["1.1.3"]},{"id":"IN-MAL-2026-022018","import_time":"2026-10-29T14:14:17.949563391Z","modified_time":"2026-10-29T13:38:07Z","sha256":"222b22669330f75e779595b40bac9e2a842ef38fad691aaa46a0f4a615a55fc1","source":"amazon-inspector","versions":["1.1.4"]},{"id":"IN-MAL-2026-022050","import_time":"2026-10-29T14:14:21.096895363Z","modified_time":"2026-10-29T13:42:17Z","sha256":"5e23a67d8061e6fe1d5c5bfa566d8386ab0c7e794df10cb9d2dee4e421275c9c","source":"amazon-inspector","versions":["1.1.5"]},{"id":"IN-MAL-2026-022049","import_time":"2026-10-29T14:14:20.988561048Z","modified_time":"2026-10-29T13:42:09Z","sha256":"5f41479c244d053342ccfc35edf137b1c30682f0d62301df84211db469994370","source":"amazon-inspector","versions":["1.1.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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