{"id":"MAL-2026-20677","summary":"Malicious code in @alexiddev/baileys (npm)","details":"Malicious package. `@alexiddev/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). `lib/Alex/auto-follow.js` defines a default auto-follow list containing the hardcoded attacker-controlled WhatsApp channel 120363404367589225@newsletter. `attachAutoFollow`, called from `lib/Socket/index.js` for every socket, waits for the connection to open and then calls `newsletterFollow` for that channel, silently subscribing the victim account. The behaviour is enabled by default. Legitimate Baileys never hardcodes a channel JID or auto-follows a channel. Versions 1.0.0 and 1.0.1 carry this code; the `0.0.0-stage` placeholder does not.","modified":"2026-11-27T01:15:04.381429628Z","published":"2026-11-13T14:19:11Z","database_specific":{"iocs":{}},"references":[{"type":"WEB","url":"https://wormsign.io/portfolio/@alexiddev/baileys/"}],"affected":[{"package":{"name":"@alexiddev/baileys","ecosystem":"npm","purl":"pkg:npm/%40alexiddev%2Fbaileys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@alexiddev/baileys/MAL-2026-20677.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}