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

目标: 1000 元 · 已筹: 1359 元

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

@nexustechpro/baileys

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

Summary

Malicious code in @nexustechpro/baileys (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
607
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
2.2.7archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@nexustechpro/baileys*
npm@nexustechpro/baileys2.2.4
npm@nexustechpro/baileys2.2.5
npm@nexustechpro/baileys2.2.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-16104","published":"2026-09-09T22:27:09Z","modified":"2026-10-13T07:34:05.764397956Z","aliases":["GHSA-8w6v-4xp9-rvrr"],"summary":"Malicious code in @nexustechpro/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (77e10f9b682c7a34a63468b31a47d982a98bf6d0308b5dbe96b0df7bdb51fdd6)\n@nexustechpro/baileys is a fork of the Baileys WhatsApp library in which lib/Socket/chats.js (~270 KB) is transformed with obfuscator.io (large string-array with rotate loop, decoder wrapper, hex-escaped identifiers) while every other module under lib/Socket/ is plain, readable code matching upstream. The obfuscated module is re-exported from lib/Socket/index.js and therefore loads on every require() of the package, executing inside a socket chain that has access to the authenticated WhatsApp session credentials, contact list, and message stream. In addition, on every 'connection.update' where connection==='open', the package silently subscribes the installer's authenticated WhatsApp account to a hardcoded newsletter JID (120363422827915475@newsletter) and re-applies the subscription every 30 seconds via setInterval; an AUTO_FOLLOW_FORCE_MODE flag bypasses the already-following check so a user-initiated unfollow is undone. There is no configuration surface, opt-out, or documentation for this behavior. package.json also declares an unpinned first-party-sounding dependency 'whatsapp-rust-bridge: latest'. The package name and keywords mirror the upstream @whiskeysockets/baileys ecosystem.\n\n## Source: ghsa-malware (540ddb6572705d776d96d9199b385b55b45093ea3f9da298751ae13c289d924d)\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":"@nexustechpro/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.2.7","2.2.5","2.2.4"],"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"}],"indicators":{"evidence_files":[{"path":"lib/Socket/chats.js","sha256":"06dca1b96cbc00d05c321eb5a5a1647ad5a79c9c9f04e119d1319237c7caf049","tlsh":"6d4464d04fd1a01361ce96afbf156ea8732bd352ea84b14761d77ac824eda43c360de1"},{"path":"package.json","sha256":"b3348d098797d2eac851786dd728164056ac5e9ccf869c289023b342fb11c2d8","tlsh":"d9c11037ce88ce6306b173d9a5b50242f4580b4f1a90cc4f717d5bac8fb39072195b69"}],"package_integrity":[{"filename":"baileys-2.2.7.tgz","hashes":{"sha1":"6b1725bcc55dc1b831e3655803c37726c2599497","sha512_sri":"sha512-awsZivZPtxV82WwuKFEY6VMLnDoISVChsaW4xQNyEKokWOi0deeIB4I3f199xHPUiDwDhTKj6pvfG/hC3655Ew=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nexustechpro/baileys/v/2.2.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8w6v-4xp9-rvrr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nexustechpro/baileys/v/2.2.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nexustechpro/baileys/v/2.2.4"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019904","import_time":"2026-09-09T22:38:09.680342884Z","modified_time":"2026-09-09T22:27:09Z","sha256":"fed8b2b0be012012aa9b1716e58c6d9e9a7302e431d5f8945e7b1196b6d7afab","source":"amazon-inspector","versions":["2.2.7"]},{"id":"GHSA-8w6v-4xp9-rvrr","import_time":"2026-10-12T16:30:26.940867369Z","modified_time":"2026-10-12T15:32:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"540ddb6572705d776d96d9199b385b55b45093ea3f9da298751ae13c289d924d","source":"ghsa-malware"},{"id":"IN-MAL-2026-021466","import_time":"2026-10-13T07:32:01.557245622Z","modified_time":"2026-10-13T06:54:14Z","sha256":"77e10f9b682c7a34a63468b31a47d982a98bf6d0308b5dbe96b0df7bdb51fdd6","source":"amazon-inspector","versions":["2.2.5"]},{"id":"IN-MAL-2026-021467","import_time":"2026-10-13T07:32:01.5870231Z","modified_time":"2026-10-13T06:54:24Z","sha256":"f36bbd92f268ccdeec610b1494add9a0bda52f78162c47d0666cc6aa12dcdad2","source":"amazon-inspector","versions":["2.2.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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