cvelo
P2 · HighMalware

Malicious code in dinocode-baileys (npm)

  • GHSA-h858-x9m7-xq5c

Description

Malicious package. `dinocode-baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). In `lib/Socket/messages-recv.js` it hides two channel JIDs as character-code arrays (120363428355171197@newsletter, 120363428984357510@newsletter). When the connection opens, it waits 30 seconds, then sends a newsletter FOLLOW followed by a MUTE for each one, silently subscribing the victim account to attacker-controlled WhatsApp channels and hiding their notifications. Legitimate Baileys never hardcodes channel JIDs. Version 0.0.0-stage is a placeholder stub without this code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/7a58398413e7adba0aefb462c1e3bce07cf0b4d7/osv/malicious/npm/dinocode-baileys/MAL-2026-20429.json))

Text from the GitHub Advisory record.

Affected

  • dinocode-baileysnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.