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

目标: 1000 元 · 已筹: 1359 元

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

@crysnovax/baileys

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

Summary

Malicious code in @crysnovax/baileys (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4,127
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
2.7.10unavailable———
2.7.11unavailable———
2.7.12unavailable———
2.7.13unavailable———
2.7.14unavailable———
2.7.15unavailable———
2.7.16unavailable———
2.7.17unavailable———
2.7.18unavailable———
2.7.19unavailable———
2.7.20unavailable———
2.7.21unavailable———
2.7.6unavailable———
2.8.0unavailable———
2.8.1unavailable———
2.8.2unavailable———
2.8.3unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@crysnovax/baileys*
npm@crysnovax/baileys2.7.10
npm@crysnovax/baileys2.7.11
npm@crysnovax/baileys2.7.12
npm@crysnovax/baileys2.7.13
npm@crysnovax/baileys2.7.14
npm@crysnovax/baileys2.7.15
npm@crysnovax/baileys2.7.16
npm@crysnovax/baileys2.7.17
npm@crysnovax/baileys2.7.18
npm@crysnovax/baileys2.7.19
npm@crysnovax/baileys2.7.20
npm@crysnovax/baileys2.7.21
npm@crysnovax/baileys2.7.6
npm@crysnovax/baileys2.8.0
npm@crysnovax/baileys2.8.1
npm@crysnovax/baileys2.8.2
npm@crysnovax/baileys2.8.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-15917","published":"2026-09-03T18:09:54Z","modified":"2026-09-07T02:06:53.313946872Z","aliases":["GHSA-c34p-4828-cg5g"],"summary":"Malicious code in @crysnovax/baileys (npm)","details":"@crysnovax/baileys is a renamed fork of the Baileys WhatsApp Web library. On every successful connection (connection.update with connection === 'open', wired in lib/Socket/socket.js) it silently makes the user's own authenticated WhatsApp account follow two channels controlled by the publisher, 120363402922206865@newsletter and 120363423670814885@newsletter, through the xwa2_newsletter_join_v2 FOLLOW query, with no opt-out and a creds.additionalData.crysnovaxFollowed once-flag. From 2.7.10 the module that performs the follow (lib/Utils/channel-policy.js) is the only file in the package run through javascript-obfuscator (declared as a devDependency with an 'obfuscate' npm script); pkgwarden re-implemented the rotated string-table decoder to recover the channel ids without executing the code. Separately, from 2.7.6, lib/Utils/integrity.js POSTs the package name and version plus a SHA-256 machine fingerprint to https://bailey.crysnovax.link/api/v1/verify on every connect (a publisher-controlled kill switch that fails open), and the update check is repointed to web.crysnovax.link. Earlier versions (1.0.3 through 2.7.5) carry the same forced follow in plaintext with a comment calling it a 'condition of use'; they are not listed here. The listed versions combine the concealed follow with the fingerprint phone-home. Reachability was confirmed by following the socket chain from makeWASocket. No credential or session-key theft was observed. All listed versions were fetched from the npm registry and read by hand on 2026-09-03; the current latest tag (2.8.3) is armed. Related family: MAL-2026-13932 and MAL-2026-15819 (Baileys-fork newsletter auto-follow campaign).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (2d2f02ca84b3529942643704a1fd8e05dd25f63a293ec05bf6c33cf004b1b31c)\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":"@crysnovax/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.7.6","2.7.10","2.7.11","2.7.12","2.7.13","2.7.14","2.7.15","2.7.16","2.7.17","2.7.18","2.7.19","2.7.20","2.7.21","2.8.0","2.8.1","2.8.2","2.8.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@crysnovax/baileys"},{"type":"ADVISORY","url":"https://osv.dev/vulnerability/MAL-2026-15819"},{"type":"ADVISORY","url":"https://osv.dev/vulnerability/MAL-2026-13932"},{"type":"WEB","url":"https://pkgwarden.com/incidents/baileys-whatsapp-auto-follow-npm-september-2026/"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c34p-4828-cg5g"}],"database_specific":{"iocs":{"domains":["bailey.crysnovax.link"],"files":[{"digests":{"sha256":"ee0dc4f66c39603e12b014cc09bee260bb80b9bbfe3d2f1428faccf95bebfec3"},"note":"javascript-obfuscator-processed forced-follow module (digest from 2.8.3)","paths":["lib/Utils/channel-policy.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"851ebe678d46a63fadc8e85def5f657e75cf1dd73e482e82f53d9ef71ac2750e"},"note":"machine-fingerprint POST to bailey.crysnovax.link on every connect (digest from 2.8.3)","paths":["lib/Utils/integrity.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"d6ad429de0e0723c2f19e38c197feb28f60e62526bff155a8da26d52353f66c6"},"note":"connection.update hook that invokes the forced follow (digest from 2.8.3)","paths":["lib/Socket/socket.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://bailey.crysnovax.link/api/v1/verify"]},"malicious-packages-origins":[{"id":"GHSA-c34p-4828-cg5g","import_time":"2026-09-07T01:51:49.59835Z","modified_time":"2026-09-04T13:15:54Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"2d2f02ca84b3529942643704a1fd8e05dd25f63a293ec05bf6c33cf004b1b31c","source":"ghsa-malware"}]},"credits":[{"name":"pkgwarden","contact":["https://pkgwarden.com"],"type":"FINDER"}]}

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