Advisory

MAL-2026-18670

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 @axo_cuy/baileyss (npm)

Details

@axo_cuy/baileyss 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) 120363412451922209@newsletter (stored base64-encoded), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

Version 4.0.0 (published 2026-11-05, the latest release when checked) keeps this behaviour. Its lib/Socket/newsletter.js is byte-identical to that of 3.0.1 (sha256 a72abc445c6f71496fa9cb7e3df892eea508ff00711d199d410c04fe3c9a74f4), and every other file on the socket chain from makeWASocket to makeNewsletterSocket is byte-identical to 3.0.1 except lib/Socket/socket.js, whose only change is the default pairing code. 10 seconds after the socket is created, makeNewsletterSocket sends the FOLLOW for the base64-stored channel ID; errors are swallowed and the user is not told. The autoFollow: true default in lib/Defaults/index.js is never read, so it cannot turn the follow off. CyberXYZ added this version after reading it statically on 2026-11-06; nothing was executed.

Severity

Not rated by the source.

Dates

Published
2026-10-26 00:00 UTC
Modified
2026-11-10 00:30 UTC

Affected packages and fixes

@axo_cuy/baileyss

npm · All systems

Affected

  • Versions: 1.0.0, 1.0.1, 3.0.1, 4.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