{"id":"MAL-2026-21037","summary":"Malicious code in aetheria-baileys (npm)","details":"aetheria-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to channels chosen by its author. When an application that imports it creates a socket with `makeWASocket`, `lib/Socket/index.js` registers a `connection.update` handler that, every time the connection opens, calls `newsletterFollow` on the user's authenticated session for each ID in a hardcoded `AETHERIA_NEWSLETTER_JIDS` list (120363415212796706@newsletter and 120363414877334847@newsletter, plus 120363408668270262@newsletter from 1.0.1), ignoring errors. There is no option to turn it off, and the README does not mention it.","modified":"2026-12-03T08:30:05.561132722Z","published":"2026-12-01T09:00:55Z","database_specific":{"iocs":{"files":[{"paths":["lib/Socket/index.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"311faf1d1488787920ddbb29c5b739a70c349e414c1254d1451e6f75939e69b5"},"note":"1.0.0: follows 2 hardcoded newsletter IDs on every connection open, no opt-out."},{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"68dea7a46904df6a64ec91df039900098a9711989a04c8c5ace383dab3634627"},"note":"1.0.1-1.0.2: follows 3 hardcoded newsletter IDs on every connection open, no opt-out.","paths":["lib/Socket/index.js"]}]}},"affected":[{"package":{"name":"aetheria-baileys","ecosystem":"npm","purl":"pkg:npm/aetheria-baileys"},"versions":["1.0.0","1.0.1","1.0.2"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aetheria-baileys/MAL-2026-21037.json"}}],"schema_version":"1.9.2","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}