cvelo
P2 · HighMalware

Malicious code in @yshtxxproject/baileys (npm)

  • GHSA-xq62-3m74-wjpp

Description

Malicious package. `@yshtxxproject/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: 120363403764263127@newsletter, 120363413797603665@newsletter, 120363421563597486@newsletter, 120363423614575184@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/725066b701a6a1f61e14fc076032e543c8c9d46d/osv/malicious/npm/@yshtxxproject/baileys/MAL-2026-19072.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • @yshtxxproject/baileysnpm

    Affected versionsFixed in
    all versionsnone stated

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.