Advisory

MAL-2026-18682

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @wanzforme/bails (npm)

Details

@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.

Severity

Not rated by the source.

Dates

Published
2026-10-26 00:00 UTC
Modified
2026-11-13 03:45 UTC

Affected packages and fixes

@wanzforme/bails

npm · All systems

Affected

  • Versions: 1.0.0, 2.0.0

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences