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

目标: 1000 元 · 已筹: 1336

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

@prototypevip/baileys

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

Summary

Malicious code in @prototypevip/baileys (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
272
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@prototypevip/baileys0.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-06T23:57:30Z","published":"2026-08-06T23:57:30Z","schema_version":"1.7.4","id":"MAL-2026-13480","summary":"Malicious code in @prototypevip/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f4b0068015e90b8e47dd9b67c66ed1d0b0cc4c1ebccd985f08efd31837d27ce8)\n@prototypevip/baileys is a fork of the Baileys WhatsApp library. lib/Store/prototype-store.js registers a listener on the 'messages.upsert' event that runs on every incoming message. The listener body is obfuscated behind a base64 string table and a decoder (Buffer.from(s,'base64').toString('utf8')), which resolves to the property names 'type', 'md', 'ws', 'sendMessage', an Arabic message body ('you are no longer authorized to use this bot'), and the marker 'gintoki'. When the routine walks the message object and locates the active WhatsApp socket (type=='md', ws truthy), it compares an adjacent key against the decoded literal 'gintoki'. On any installer whose bot is not tagged with that hardcoded owner string, the code invokes the installer's own socket's sendMessage to broadcast the Arabic 'no longer authorized' notice through the installer's WhatsApp account and then throws 'Blocked' (also base64-decoded) to halt message handling. The behavior is undocumented, is hidden by base64 obfuscation of every relevant string, and abuses the installer's authenticated WhatsApp session as the delivery channel to send attacker-authored content to the installer's own contacts.\n","affected":[{"package":{"ecosystem":"npm","name":"@prototypevip/baileys"},"versions":["0.0.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/Store/prototype-store.js","sha256":"e0c92c05bd5a2306e56689e127d39d8b01221ea659b915cf8f3a135c48fe86ec","tlsh":"ccc2429449f21c1406b3317aae4b7001726590973949ed687f8e93d81fce0b9e6f2bed"}],"package_integrity":[{"filename":"baileys-0.0.3.tgz","hashes":{"sha1":"056c06d25543a834f070d247688778ccafb53acb","sha512_sri":"sha512-oh6SvWMNIgy99glPlbWYA4Orp6atbm6b1Lq2+nHZUyeHl4jB0jvcLxVFbtw2/4vM4pp6c6vfXP066TmX7xsohA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@prototypevip/baileys/v/0.0.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016854","import_time":"2026-08-07T00:59:22.11237425Z","modified_time":"2026-08-06T23:57:30Z","sha256":"f4b0068015e90b8e47dd9b67c66ed1d0b0cc4c1ebccd985f08efd31837d27ce8","source":"amazon-inspector","versions":["0.0.3"]}]}}

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