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

目标: 1000 元 · 已筹: 1359 元

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

@fazzcode/baileys

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

Summary

Malicious code in @fazzcode/baileys (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
406
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@fazzcode/baileys*
npm@fazzcode/baileys2.5.3
npm@fazzcode/baileys2.5.4
npm@fazzcode/baileys2.5.5
npm@fazzcode/baileys2.5.6
npm@fazzcode/baileys2.5.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11073","published":"2026-07-27T01:03:56Z","modified":"2026-08-04T22:32:00.720233699Z","aliases":["GHSA-wqqq-qm88-5433"],"summary":"Malicious code in @fazzcode/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5f1bff90cd31ad87a8cd76716c0c7fb23b148c5fa1d4ac226ce3ea10ebf70835)\n@fazzcode/baileys is a fork of @whiskeysockets/baileys that re-exports the upstream makeWASocket API while injecting an undocumented remote-controlled side effect. In lib/Socket/newsletter.js (lines 117-126), makeNewsletterSocket — reached transitively from makeWASocket — schedules a setTimeout 80 seconds after every socket creation that fetches https://raw.githubusercontent.com/tskiofc/channel-id/refs/heads/main/newsletter.json (a mutable, unpinned main-branch URL controlled by the GitHub user `tskiofc`), parses a JSON list of newsletter IDs, and issues FOLLOW mex queries from the consumer's authenticated WhatsApp account. Errors are swallowed and the behavior is not documented in the README. Any developer using this package as a Baileys drop-in silently has their connected WhatsApp account coerced into following channels chosen by the maintainer at any future time. The package also pulls libsignal from a maintainer-controlled GitHub commit (tskiofc/libsignal) and ships a placeholder repository URL (`npm:@fazzcode/baileys`) and blank bugs URL, consistent with a deliberate fork trap rather than a legitimate variant. A secondary helper, tiktokdl in lib/Utils/generics.js, hardcodes a third-party relay to api.ziaul.my.id for caller-supplied URLs — lower impact (requires explicit invocation) but reinforces the pattern of routing user activity through maintainer-affiliated infrastructure.\n\n## Source: ghsa-malware (b23d843a30dd9b5c78048a16613d2640994dea02e0231d696d474fe0cd79c3d2)\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":"@fazzcode/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.5.3","2.5.4","2.5.5","2.5.6","2.5.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"}],"indicators":{"evidence_files":[{"path":"lib/Socket/newsletter.js","sha256":"089c1ea6cf8b770a2816bf3922aab04ec9c99f9440cf00481e2ddf5d0b6d7f43","tlsh":"7d120e6659ba97a106e37864106fb0d1b225b1433d1aac56bfcc84120f4e3edf9e27c8"},{"path":"package.json","sha256":"badab92d645aa1746c59928bddf20eeb8600fbcb897c132d5759f9180e78f936","tlsh":"87410c20cfaf4c3314da2695d9a9400229b809f3ae183c2c7394967c4f4e65f23fa5ed"},{"path":"lib/Utils/generics.js","sha256":"c08c532333c07c792eee1d91bdc4d38c92c6a873c941ac485ee753cf8174348d","tlsh":"7d42b44169f3802502b3a1e56b17e41b737d9413364dcde8ba6c82206fc1b68d6f77da"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wqqq-qm88-5433"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fazzcode/baileys/v/2.5.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fazzcode/baileys/v/2.5.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fazzcode/baileys/v/2.5.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fazzcode/baileys/v/2.5.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fazzcode/baileys/v/2.5.7"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-wqqq-qm88-5433","import_time":"2026-07-27T09:43:03.86037605Z","modified_time":"2026-07-27T01:03:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"b23d843a30dd9b5c78048a16613d2640994dea02e0231d696d474fe0cd79c3d2","source":"ghsa-malware"},{"id":"IN-MAL-2026-011238","import_time":"2026-08-04T22:30:06.657705382Z","modified_time":"2026-08-04T21:52:13Z","sha256":"f3003dd48d996164b6247869c3d6fb91cb79240c6d7c66dba45c122db5f17fe6","source":"amazon-inspector","versions":["2.5.3"]},{"id":"IN-MAL-2026-011274","import_time":"2026-08-04T22:30:08.461386116Z","modified_time":"2026-08-04T21:57:43Z","sha256":"fe46f11f8bc733b262ec4f68c92da6f9d1e673573dd27b9719424bc1d038f003","source":"amazon-inspector","versions":["2.5.4"]},{"id":"IN-MAL-2026-011272","import_time":"2026-08-04T22:30:08.378186756Z","modified_time":"2026-08-04T21:57:26Z","sha256":"5f1bff90cd31ad87a8cd76716c0c7fb23b148c5fa1d4ac226ce3ea10ebf70835","source":"amazon-inspector","versions":["2.5.5"]},{"id":"IN-MAL-2026-011236","import_time":"2026-08-04T22:30:06.52273457Z","modified_time":"2026-08-04T21:51:58Z","sha256":"81a9737e5c61ca69e9f0033fa36964b3c8e7e293e8dc80312a2b61068a782763","source":"amazon-inspector","versions":["2.5.6"]},{"id":"IN-MAL-2026-011270","import_time":"2026-08-04T22:30:08.27775085Z","modified_time":"2026-08-04T21:57:04Z","sha256":"92fd6eb93fb984b56621c47a9d3d9f9bf8a4154542f3c4dbc66ea7c34b80caa8","source":"amazon-inspector","versions":["2.5.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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