cvelo
P2 · HighMalware

Malicious code in @kazehayadev1/raidenx-baileys (npm)

  • MAL-2026-20947

Description

Show the whole description

@kazehayadev1/raidenx-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that silently subscribes the user's WhatsApp account to two channels. When an application that imports it creates a socket with `makeWASocket`, `makeNewsletterSocket` in `lib/Socket/newsletter.js` schedules a timer that, two minutes later, sends the newsletter FOLLOW query for `120363407277177688@newsletter` and `120363407702752541@newsletter` on the user's authenticated session and discards any error; no option disables it and the README does not mention it. The same two channel IDs are hardcoded in raiden-baileys (MAL-2026-19108), and the npm account kazehayadev1 published this package on 2026-12-01. package.json declares the runtime dependency `libsignal` as `github:RahmadTenpoles/libsignal-node` rather than a registry version range. There is no commit SHA, tag, or integrity hash, so `npm install` fetches whatever that personal repository's default branch contains at install time and executes any lifecycle scripts contained in it. The resolved code is loaded whenever the package is required, and its contents can be changed at any time by whoever controls that repository, outside of any published-version or integrity guarantee. Additionally, lib/index.js performs top-level side effects on require, writing ANSI screen-clear sequences to stdout and printing an ASCII-art banner containing the author's WhatsApp number and Instagram handle; this involves no network traffic or data collection.

Text from the OSV record.

Affected

  • @kazehayadev1/raidenx-baileysnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.