MAL-2026-20815

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/reycode-baileys/MAL-2026-20815.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20815
Published
2026-11-27T00:00:00Z
Modified
2026-12-01T09:30:04Z
Summary
Malicious code in reycode-baileys (npm)
Details

Malicious package. reycode-baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). lib/Socket/newsletter.js holds a list of hardcoded channels (120363421096003443@newsletter in 2.0.1; 2.0.2 and 2.0.3 add 120363416370859892, 120363431275243639 and 120363412719371901) and, 150 seconds after the socket is created, sends a newsletter FOLLOW for each. The newsletter layer is wired into makeWASocket (messages-send.js -> username.js -> makeNewsletterSocket), so every socket does this, silently subscribing the victim account. The README claims makeWASocket does not include the newsletter layer and that it should not be assumed to run automatically. Legitimate Baileys never hardcodes or auto-follows a channel. Version 0.0.0-stage is a placeholder stub without this code.

Credits

Affected packages

npm / reycode-baileys

Package

Name
reycode-baileys
View open source insights on deps.dev
Purl
pkg:npm/reycode-baileys

Affected ranges

Affected versions

2.*
2.0.1
2.0.2
2.0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/reycode-baileys/MAL-2026-20815.json"