cvelo
P2 · HighMalware

Malicious code in @ubedsockets/baileys (npm)

  • GHSA-qwpw-cwrq-333j

Description

Malicious package. `@ubedsockets/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). On connection it issues an authenticated `w:mex` newsletter FOLLOW mutation (query_id 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363410154606795@newsletter, 120363423295236859@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. Detected by wormsign static analysis of the injected channel-subscription code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6282ccd01cbcaeab639c2217d5515a4869847d8b/osv/malicious/npm/@ubedsockets/baileys/MAL-2026-18600.json))

Text from the GitHub Advisory record.

Affected

  • @ubedsockets/baileysnpm

    • all versions, no fix listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.