zero2-baileys
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-79c7-wq2p-hx6p
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in zero2-baileys (npm)
zero2-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363402057133599@newsletter, 120363428269086636@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (7a5235f91f44e7bef307c2645a86d6c7f8c110ce131628b1bcfb2f7a6f646075)
[email protected] declares its libsignal dependency as npm:@otaxayun/libsignal-node@latest in package.json. The alias points at an unrelated third-party npm scope with no version pin and no integrity check, so each npm install resolves @latest fresh and installs whatever that scope currently publishes. The resolved package is then loaded via require("libsignal") in lib/Signal/libsignal.js, which routes all end-to-end encrypt/decrypt operations through it, placing attacker-controlled code inside the Signal/crypto path of any bot built on this fork. The dependency source is off-registry in effect (an unrelated-scope alias at a mutable tag) and whoever controls @otaxayun/libsignal-node can ship arbitrary code into every installer on any subsequent install.
Source: ghsa-malware (ba57fc7bb4bcf036443073304ad388fbd23b2cfff4aeebfca8fcf50baf1ee0a3)
Any 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0