{"id":"MAL-2026-20815","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 -\u003e username.js -\u003e 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.","modified":"2026-12-01T09:30:04.358470761Z","published":"2026-11-27T00:00:00Z","affected":[{"package":{"name":"reycode-baileys","ecosystem":"npm","purl":"pkg:npm/reycode-baileys"},"versions":["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"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}