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

目标: 1000 元 · 已筹: 1359 元

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

@zeronexcode/baileys

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

Summary

Malicious code in @zeronexcode/baileys (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
208
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@zeronexcode/baileys*
npm@zeronexcode/baileys7.0.0-zeronex.8
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17326","published":"2026-09-25T15:37:42Z","modified":"2026-10-12T17:29:15.451794304Z","aliases":["GHSA-cghr-f3w3-qh2h"],"summary":"Malicious code in @zeronexcode/baileys (npm)","details":"makeWASocket() in lib/Socket/index.js makes the user's WhatsApp account follow the hardcoded channel 120363427099186895@newsletter whenever a connection opens, with no option to disable it.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ed77130bf7a34aa77306ff8a654c0d51e2c2b68153849d89c100d13430322f88)\nThis fork of the Baileys WhatsApp library adds an undocumented behavior to its makeWASocket wrapper: on every connection.update event where the connection reaches 'open', it calls sock.newsletterFollow on a hardcoded newsletter JID (120363427099186895@newsletter), subscribing the installer's authenticated WhatsApp account to an author-controlled newsletter with no disclosure and no opt-out. The action fires under the installer's WhatsApp identity as a side effect of using the library's core socket API. Upstream Baileys does not perform this action. No credential theft, environment scraping, remote code execution, filesystem persistence, or data exfiltration is present; the ping/GET pattern flagged in lib/Utils/generics.js is a benign latency/keepalive helper. The observed harm is covert reach-padding under the installer's identity rather than material compromise of the installer's data or host.\n\n## Source: ghsa-malware (5dd9996269bfb2b5ea9c5310fed819139eaf2b663e740fc8be34052da1128e4e)\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":"@zeronexcode/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["7.0.0-zeronex.8"],"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":"lib/Socket/index.js","sha256":"4c05d85abdf76d1b7a0644a87264309e8db7756abf907eeea1dcd5660d23e014","tlsh":"0c119c5f9af7857109e3a895085f60e7b521a913b247e969731d4356cf8308888857ce"}],"package_integrity":[{"filename":"baileys-7.0.0-zeronex.8.tgz","hashes":{"sha1":"09f1935b988b8e1a9853cd6e8bee70581cc1068b","sha512_sri":"sha512-6oWQhKpv5Nijb8BoyfmaUr44CrStvgup6o6vvIQRv4P1yEHcx49rDqUtxGlh3hvFDJFlhsA605IW0AkllnkdSQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zeronexcode/baileys/v/7.0.0-zeronex.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cghr-f3w3-qh2h"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"4c05d85abdf76d1b7a0644a87264309e8db7756abf907eeea1dcd5660d23e014"},"note":"Auto-follows channel 120363427099186895@newsletter on connect.","paths":["package/lib/Socket/index.js"],"source":"PACKAGE_ARCHIVE"}]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021454","import_time":"2026-10-11T17:15:52.084272925Z","modified_time":"2026-10-11T16:54:22Z","sha256":"ed77130bf7a34aa77306ff8a654c0d51e2c2b68153849d89c100d13430322f88","source":"amazon-inspector","versions":["7.0.0-zeronex.8"]},{"id":"GHSA-cghr-f3w3-qh2h","import_time":"2026-10-12T17:27:28.141243013Z","modified_time":"2026-10-12T16:41:46Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5dd9996269bfb2b5ea9c5310fed819139eaf2b663e740fc8be34052da1128e4e","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OX Security","type":"FINDER"},{"name":"smiling-hyena","contact":["smilinghyena4@gmail.com"],"type":"FINDER"}]}

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