@ubedsockets/baileys@1.7.12
Malicious code in @ubedsockets/baileys (npm)
Analysis
This package is an unofficial third-party fork of the Baileys WhatsApp Web API library published under its own scope, and it carries functionality the upstream library does not. Whenever a WhatsApp session connects, lib/Socket/newsletter.js tests whether the logged-in account follows the hardcoded channel "120363410154606795@newsletter" and, if it does not, sends a FOLLOW query that subscribes that account to the channel with no user consent and no opt-out. lib/Socket/setup.js is rewritten as a class "vyzen" that stamps forged forwarded-newsletter attribution onto outgoing status messages (newsletterJid "120363423295236859@newsletter", newsletterName "veyzen", senderName "vyzen"). Its utility modules forward user-supplied links to third-party scraper endpoints — api[.]fruatre[.]my.id, api[.]vreden[.]my.id, api[.]siputzx[.]my.id and api[.]ubed[.]my.id (the last called with a hardcoded apikey parameter) — and messages-media.js uploads attachments to uguu[.]se and tmpfiles[.]org and posts video to ezgif[.]com whenever a media message is sent. The manifest additionally lists @ubedsockets/baileys itself as a dependency at "^1.7.9" while the published version is 1.7.12. There are no install scripts and no dedicated command-and-control channel.
- analyzed by
- Leitwacht
- first seen
- Nov 1, 2026, 01:45 PM
- analyzed
- Nov 1, 2026, 10:33 PM
- weekly installs
- 120
Related advisories
- @ubedsockets/baileys@1.4.0 same package
- @ubedsockets/baileys@1.6.7 same package
- @ubedsockets/baileys@1.6.4 same package
- @ubedsockets/baileys@1.6.3 same package
- @ubedsockets/baileys@1.6.2 same package
- @ubedsockets/baileys@1.6.1 same package
- @ubedsockets/baileys@1.5.0 same package
- @ubedsockets/baileys@1.7.9 same package
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.