@wanzforme/bails
Affected
- Versions:
1.0.0,2.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @wanzforme/bails (npm)
@wanzforme/bails 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) 120363380357951328@newsletter (stored base64-encoded), 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 (eb7a35c9bfb93ec9fd9055a984738b881a110a8991ee8c583965a369f7584221)
package.json declares libsignal as a direct dependency with the value github:wanzchil/libsignal-node — a bare GitHub reference with no commit SHA, tag, or integrity hash. npm install resolves this to whatever the current state of that repository is at install time and runs any lifecycle scripts it ships. Whoever controls wanzchil/libsignal-node (now or in the future, including after a repo transfer or account compromise) can push arbitrary code that executes on every installer's machine, bypassing the npm registry's artifact and version controls. The yara ping/GET match on lib/Utils/generics.js corresponds to generic WhatsApp protocol handling (keep-alive ping and HTTP GET to media endpoints) and is not itself an installer-side harm.
Not rated by the source.
1.0.0, 2.0.0None 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