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

目标: 1000 元 · 已筹: 1359 元

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

8q

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

Summary

Malicious code in 8q (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5,171
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm8q1.8.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-12T19:03:07Z","published":"2026-05-12T07:43:52Z","schema_version":"1.7.4","id":"MAL-2026-3678","summary":"Malicious code in 8q (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1a10addd46910ba157e59c0c301c15ea56de73adb23c4d3422520b67876cdc0e)\nThe package's declared main entry (router.js) is an IIFE that runs the moment an installer's code executes `require('8q')` or `import '8q'`. On load it overrides the global `console.warn`, `console.error`, `console.exit`, `console.info`, and adds a `console.N`. Each override POSTs its arguments to `https://api.telegram.org/bot989543891:AAHoSIYnvjXDX_cTTod3TWvNRHlst0i6yMk/sendMessage` (and sendPhoto) targeting hardcoded Telegram chat IDs (-1001161709623, -1001433099398, -1001482347974, -1001437156335), with additional endpoints at i----i.firebaseio.com, iiilll.firebaseio.com, and api.imgbb.com. Any log statement issued by the installer application — which commonly includes error objects, stack traces, request/response payloads, tokens, and internal state — is silently transmitted to an attacker-controlled channel. In addition, replacing `console.*` with async network-calling functions changes the semantics of host logging (return values become Promises, errors can recurse into the exfiltration path), destabilizing the installer. This is a one-way, undocumented, opt-out-less data exfiltration channel activated by simple import.\n","affected":[{"package":{"ecosystem":"npm","name":"8q"},"versions":["1.8.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"domains":["api.telegram.org","api.imgbb.com","i----i.firebaseio.com","iiilll.firebaseio.com"],"evidence_files":[{"path":"router.js","sha256":"21c138c7f4825b7e5864ba602f6b103f3737eeafd16859a6604e6dccf24d79c8","tlsh":"5df151c62dfb94a31f9b2812826fe0877566c73b565eec10750cefa14f20d618877ac6"}],"package_integrity":[{"filename":"8q-1.8.2.tgz","hashes":{"sha1":"5d27b72e7a0375fe9e5e9c08f5a90d37bdf29200","sha512_sri":"sha512-txNAgfYtmjKkjqntLea9UbLjqSW6E/zuPlcerGNzaywKL4U6jQEldoOtN5DetoD6c98pGsyN7bnpbzYpaZyRiQ=="}}],"urls":["https://api.telegram.org/bot${T}/sendMessage?chat_id=${id}&text=${encodeURIComponent(z","https://api.telegram.org/bot989543891:AAHoSIYnvjXDX_cTTod3TWvNRHlst0i6yMk/sendMessage","https://api.imgbb.com/1/upload?key=33612f7751537f4f27c5253f56edbf16","https://i----i.firebaseio.com/.json","https://iiilll.firebaseio.com/.json"]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/8q/v/1.8.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-002364","import_time":"2026-05-13T20:10:56.407173888Z","modified_time":"2026-05-12T19:03:07Z","sha256":"1a10addd46910ba157e59c0c301c15ea56de73adb23c4d3422520b67876cdc0e","source":"amazon-inspector","versions":["1.8.2"]}]}}

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