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

目标: 1000 元 · 已筹: 1359 元

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

@modss/baileys

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

Summary

Malicious code in @modss/baileys (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@modss/baileys*
npm@modss/baileys1.0.0
npm@modss/baileys1.0.1
npm@modss/baileys1.0.2
npm@modss/baileys2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-15918","published":"2026-09-03T18:09:54Z","modified":"2026-10-16T06:59:41.036485234Z","aliases":["GHSA-4c9v-m7qm-2mpr"],"summary":"Malicious code in @modss/baileys (npm)","details":"@modss/baileys is a renamed fork of the Baileys WhatsApp Web library published 2026-09-01 and 2026-09-02 under a scope created the same day. lib/Socket/newsletter.js sets NEWSLETTER_LIST_URL to https://raw.githubusercontent.com/Dayyy-19/Anu/main/Newsletter.json. On every connection.update with connection === 'open', autoFollowConfiguredNewsletters() fetches that list and issues an executeWMexQuery FOLLOW for each id on the user's own authenticated WhatsApp session, caching followed ids in session/followed-newsletters.json. An Indonesian comment in the file explains that the list lives on GitHub so channels can be added or removed without redeploying the code, i.e. the follow targets are publisher-controlled at runtime. All three published versions carry the identical handler. The package also aliases its libsignal dependency to @modss/libsignal, which pkgwarden read as a plain rename with no malicious content. No credential or session-key theft was observed, and the dead-drop URL was not requested by pkgwarden. All versions were fetched from the npm registry and read by hand on 2026-09-03. Same remote-dead-drop shape as MAL-2026-15819 (@mrlegendbot/baileys) and MAL-2026-13932 (my-auto-follow).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0b6522f1f967259853346030f220d40ef098fc3d54116a23161fb4ccf97f9bd3)\npackage.json declares a runtime dependency `libsignal` whose source is `github:RILLYZY/libsignal-node` — a GitHub reference with no commit SHA, tag, or version pin. On `npm install`, npm fetches whatever HEAD of that personal repository currently returns and runs any lifecycle scripts it contains on the installer's machine, with no integrity check. Whoever controls that GitHub account controls code that executes on any machine installing @modss/baileys, and the fetched content can change silently between installs. The named dependency also shadows the legitimate `libsignal` cryptographic library, meaning callers of the package's signal-protocol paths load code from the unpinned third-party fork rather than a registry-audited artifact.\n\n## Source: ghsa-malware (f380df417118802ce37118bae231cadcd5f41d20c60ac6ad830d9f62a53c8601)\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":"@modss/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.1","1.0.2","2.0.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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"73c1fa53ef8b4274314edb8f670942bef74714742d86bec0388ea2a02cc45502","tlsh":"0f510e25cc5cceb304c636e9a9b60102647845534e95fc2c336c4bac4f5e2af32b9b6e"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@modss/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-4c9v-m7qm-2mpr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@modss/baileys/v/2.0.0"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"935e65a1525ca7d4b11ca19d4aed36f92fd99dd9ddd20aca295f92134892f46c"},"note":"runtime dead-drop fetch and forced follow loop (digest from 1.0.2)","paths":["lib/Socket/newsletter.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://raw.githubusercontent.com/Dayyy-19/Anu/main/Newsletter.json"]},"malicious-packages-origins":[{"id":"GHSA-4c9v-m7qm-2mpr","import_time":"2026-10-12T16:30:26.92721009Z","modified_time":"2026-10-12T15:31:43Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"f380df417118802ce37118bae231cadcd5f41d20c60ac6ad830d9f62a53c8601","source":"ghsa-malware"},{"id":"IN-MAL-2026-021494","import_time":"2026-10-16T06:57:51.967649864Z","modified_time":"2026-10-16T06:56:43Z","sha256":"0b6522f1f967259853346030f220d40ef098fc3d54116a23161fb4ccf97f9bd3","source":"amazon-inspector","versions":["2.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"pkgwarden","contact":["https://pkgwarden.com"],"type":"FINDER"}]}

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