{"id":"MAL-2026-20678","summary":"Malicious code in @angkasabaileys/baileys (npm)","details":"Malicious package. `@angkasabaileys/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). `makeNewsletterSocket` in `lib/Socket/newsletter.js` registers a `connection.update` handler that, every time the socket connection opens, issues a newsletter FOLLOW for the hardcoded channel 120363431179022660@newsletter from the victim's account, silently swallowing any error. There is no option to disable it, and the README states the opposite (\"No auto-follow channel (newsletter) behavior\"). Legitimate Baileys never hardcodes a channel or auto-follows one. Version 1.0.1 (published 2026-11-17) carries this code.","modified":"2026-11-27T01:15:04.372037366Z","published":"2026-11-17T06:05:00Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"273fda3da12c111a79baea87592357f2cbd4392f271253435dc908a42dabfa1f"},"paths":["lib/Socket/newsletter.js"]}]}},"affected":[{"package":{"name":"@angkasabaileys/baileys","ecosystem":"npm","purl":"pkg:npm/%40angkasabaileys%2Fbaileys"},"versions":["1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@angkasabaileys/baileys/MAL-2026-20678.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}