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

目标: 1000 元 · 已筹: 1359 元

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

@lendxntaa/baileys

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

Summary

Malicious code in @lendxntaa/baileys (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
956
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@lendxntaa/baileys*
npm@lendxntaa/baileys0.0.7
npm@lendxntaa/baileys9.0.1
npm@lendxntaa/baileys9.0.2
npm@lendxntaa/baileys9.1.0
npm@lendxntaa/baileys9.3.0
npm@lendxntaa/baileys9.5.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17365","published":"2026-10-08T05:33:30Z","modified":"2026-10-12T15:32:05.535329795Z","aliases":["GHSA-cqcv-g3vq-g6wr"],"summary":"Malicious code in @lendxntaa/baileys (npm)","details":"This package is part of a large family (100+ identified as of September 2026) of near-identical\nforks of the Baileys WhatsApp Web library that inject a covert channel-subscription action into\nthe WhatsApp socket layer. On connect, the injected code issues an authenticated `w:mex` FOLLOW\nquery (query_id 7871414976211147) against one or more attacker-chosen WhatsApp Channel/Newsletter\nJIDs, using the installer's own authenticated WhatsApp session -- silently subscribing the\nvictim's account to channels it never asked to join.\n\nThe target JID(s) are hidden from casual source review via one of several obfuscation techniques\nobserved across the family: a plain string literal, base64 encoding, base64+XOR, or a char-code\narray reconstructed at runtime. Some variants instead fetch a mutable, attacker-controlled remote\nJSON/JS list of target JIDs from GitHub or another host at runtime, letting the target list change\nafter installation without a new npm publish. Every sample in the family shares the same underlying\nmechanism (a wrapped/patched socket-connect routine that fires the FOLLOW query some seconds after\nconnect), even though the package name, JID value(s), and obfuscation/delivery method differ per\nfork.\n\nThe malicious action abuses the installer's own authenticated WhatsApp session to gain reach and\nsubscribers for attacker-controlled channels; it does not exfiltrate credentials, establish\npersistence, or execute arbitrary remote code.\n\nAffected package: @lendxntaa/baileys (npm), version(s): 9.5.0, 9.3.0, 9.1.0, 9.0.2, 9.0.1.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0f844237b0db70e56f303c5780ea3a9bd92ae29696bb299ca739961fbc1422a0)\n@lendxntaa/baileys is a fork of the Baileys WhatsApp client that declares `\"libsignal\": \"npm:@bellaxchuu/libsignal-node@latest\"` in package.json. The `libsignal` module id is loaded on the crypto/signal path of the WhatsApp client, so `require('libsignal')` inside this package resolves to code published under the unrelated `@bellaxchuu` scope, pinned to the mutable `latest` tag with no version and no integrity metadata. Every `npm install` can resolve to different bytes chosen by whoever controls that scope, and those bytes execute in-process whenever a consumer of this package uses the WA client. Package metadata further reduces reviewability: `homepage` and `repository.url` both point at a Telegram channel (`https://t.me/lendd3`) rather than a source repository, and the tarball ships a ~130 KB `lib/antiban.js` bundle not present in upstream Baileys.\n\n## Source: ghsa-malware (7ee7bfa4e96d338ab7d8a6762a9f758218f34953d934bb86cd5321dfbe03fd68)\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":"@lendxntaa/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["9.5.0","9.3.0","9.1.0","9.0.2","9.0.1","0.0.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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"caff243d0c070afdf915e70e69fd750eac54f42cc56b6d1e50363120ecc8b203","tlsh":"d981ea74cd18cea30ac526e8a9bc0042a4b559539ec1fc1cb35547ac8f1e24fb2b9f2d"}],"package_integrity":[{"filename":"baileys-0.0.7.tgz","hashes":{"sha1":"e2e838705b92098e2d728e92262652da6a7729b7","sha512_sri":"sha512-RujSLKRRQSwuhl1FtsNIWCGymMP/zhJDcnDhwT9AEBQSDEYV2sQU6gYNfnkObevAqrdh5JORtQ1/sVgaj1XrQw=="}}]},"iocs":{"domains":["api.telegram.org","s.whatsapp.net"],"files":[],"ips":[],"urls":["https://t.me/lendd3"]}}}],"references":[{"type":"ARTICLE","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lendxntaa/baileys/v/9.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lendxntaa/baileys/v/9.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lendxntaa/baileys/v/9.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lendxntaa/baileys/v/9.3.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lendxntaa/baileys/v/0.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lendxntaa/baileys/v/9.5.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cqcv-g3vq-g6wr"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021137","import_time":"2026-10-08T05:46:11.122421748Z","modified_time":"2026-10-08T05:33:30Z","sha256":"0f844237b0db70e56f303c5780ea3a9bd92ae29696bb299ca739961fbc1422a0","source":"amazon-inspector","versions":["9.1.0"]},{"id":"IN-MAL-2026-021196","import_time":"2026-10-08T06:34:05.228380112Z","modified_time":"2026-10-08T06:11:05Z","sha256":"f6cdce0b5a7d41dcc7b52fcd34e9010f32dddafab03f64e6db57ec52cc143c0b","source":"amazon-inspector","versions":["9.0.1"]},{"id":"IN-MAL-2026-021193","import_time":"2026-10-08T06:34:05.048569081Z","modified_time":"2026-10-08T06:10:35Z","sha256":"028dd4f1db7a1636fb080d1442185a9d93f5836e4d1d2d6f433a2f1a3b099963","source":"amazon-inspector","versions":["9.0.2"]},{"id":"IN-MAL-2026-021195","import_time":"2026-10-08T06:34:05.165510817Z","modified_time":"2026-10-08T06:10:58Z","sha256":"7a74b802fb12236aba10566b865fcd8aa8d4d8568d0a9a413afb5501adc3a04b","source":"amazon-inspector","versions":["9.3.0"]},{"id":"IN-MAL-2026-021198","import_time":"2026-10-08T06:34:05.423321946Z","modified_time":"2026-10-08T06:11:24Z","sha256":"b9a9affe6e6f4ce9f9785cf40699d42baa963b9a8457b3a306d0b85d741dc76c","source":"amazon-inspector","versions":["0.0.7"]},{"id":"IN-MAL-2026-021197","import_time":"2026-10-08T06:34:05.361820513Z","modified_time":"2026-10-08T06:11:16Z","sha256":"c19ead4c6ad7d080a4e74987c464a2791ae1483d271908f88fe855c3301d26f5","source":"amazon-inspector","versions":["9.5.0"]},{"id":"GHSA-cqcv-g3vq-g6wr","import_time":"2026-10-12T15:30:17.19380068Z","modified_time":"2026-10-12T15:22:46Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"7ee7bfa4e96d338ab7d8a6762a9f758218f34953d934bb86cd5321dfbe03fd68","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OX Security","type":"FINDER"}]}

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