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

目标: 1000 元 · 已筹: 1359 元

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

dzyhaxz-baileys

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

Summary

Malicious code in dzyhaxz-baileys (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
728
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdzyhaxz-baileys*
npmdzyhaxz-baileys1.1.0
npmdzyhaxz-baileys1.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17622","published":"2026-10-05T15:41:10Z","modified":"2026-10-29T13:38:36.074266121Z","aliases":["GHSA-xwv2-25hq-j64g"],"summary":"Malicious code in dzyhaxz-baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (03631e9889407ee8976e020933fa6984bd173c9a5de6b7a89ba7a5629437e705)\ndzyhaxz-baileys is a fork of the Baileys WhatsApp library that, on every WhatsApp `connection.open` event, silently calls `sock.newsletterFollow` for a hardcoded channel ID `120363411407993897@newsletter` with `autoFollowChannels` defaulting to true. The README explicitly states 'No hidden auto-follow: Channel operations (sock.newsletterFollow) are strictly explicit', directly contradicting the shipped behavior — any application built on this library causes its WhatsApp-authenticated users to follow the author's channel without consent. Separately, `package.json` aliases the Signal protocol crypto library to an author-owned package via a mutable dist-tag: `\"libsignal\": \"npm:dzyhaxz-libsignal@latest\"`, with no version pin. The aliased module provides the ECDH curve primitives used by `lib/Utils/crypto.js` for WhatsApp end-to-end key agreement, and `md5`/`hkdf` are additionally re-exported from the author-controlled `@rexxhayanasi/wangcap-id-bridge`. Each install resolves whatever bytes the publisher currently points `latest` at. The auto-follow uses the installer's WhatsApp identity for reach-padding (no credential theft, no RCE, no account takeover), and the aliased crypto dependency has not been observed to contain malicious bytes in this version — but the combination is a deceptive cover-story and a weaponizable supply-chain shape.\n\n## Source: ghsa-malware (08fd08c1026dee023b11946f939f5fb1c5763566c9577ccb99c2aa7a3c0c2684)\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":"dzyhaxz-baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.1","1.1.0"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"3ae60d433f2d7a8801b64eac18dde1aa6622c630ce965b2ffdf00c4418029f29","tlsh":"fe618945ca7c8db320d136a8a8af9542b1318a4b9c157c2c378c43ad4f8e75f50be75e"},{"path":"lib/Socket/index.js","sha256":"312afc7ab662a2d36be9aa121ac455ec3ed5f461c2862b2d48ccdcf6ed763e52","tlsh":"4261da77e6222912c5632405a64b70a2ed20bfc2aa0ac814733e7716dff71e0e15778e"},{"path":"lib/Utils/generics.js","sha256":"876f72585127af5f4641988d082891b8c469981e259e11e938693cb3d09c99ec","tlsh":"a942b3515cf3912902a3f1ee5b6fe41a7339a4133649cd94be1c83209f82868d6e77d8"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xwv2-25hq-j64g"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dzyhaxz-baileys/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dzyhaxz-baileys/v/1.1.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-xwv2-25hq-j64g","import_time":"2026-10-05T16:31:06.824203742Z","modified_time":"2026-10-05T15:41:20Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"08fd08c1026dee023b11946f939f5fb1c5763566c9577ccb99c2aa7a3c0c2684","source":"ghsa-malware"},{"id":"IN-MAL-2026-021913","import_time":"2026-10-29T13:37:16.37701257Z","modified_time":"2026-10-29T13:24:24Z","sha256":"49537e015784fcff79176fd07547746f64e85b6629fce1552eca8038e90d9261","source":"amazon-inspector","versions":["1.1.1"]},{"id":"IN-MAL-2026-021982","import_time":"2026-10-29T13:37:18.665508529Z","modified_time":"2026-10-29T13:33:36Z","sha256":"03631e9889407ee8976e020933fa6984bd173c9a5de6b7a89ba7a5629437e705","source":"amazon-inspector","versions":["1.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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