raiden-baileys schedules WhatsApp channel follows. GitHub lists the package as malware, and the inspected code confirms the timer.
GitHub flags raiden-baileys as a trojanized fork of the Baileys WhatsApp library.
We inspected the newsletter timer in releases 2.1.0, 2.1.7 and 2.2.5 inside a locked container.
What happened
The inspected code schedules channel follow requests without a user action.
lib/Socket/newsletter.jssets a timer for120000milliseconds, or two minutes.- The timer passes hardcoded channel IDs to
newsletterWMexQuerywithTypes_1.QueryIds.FOLLOW. - The inspected timer lists one channel in
2.1.0and two in2.1.7and2.2.5. - The advisory lists a third channel. That third ID is absent from these inspected timers.
Affected versions
- GitHub marks all published versions as affected and lists no patched version.
- npm currently lists
2.2.5as latest. Its inspected timer still contains the follow requests.
Indicators of compromise
120363407277177688@newsletter, present in all three inspected timers.120363407702752541@newsletter, present in the inspected2.1.7and2.2.5timers.120363411769951302@newsletter, reported by the advisory but absent from these inspected timers.
How to check
List the installed package without executing its code.
npm ls raiden-baileys
What to do now
- Remove
raiden-baileysfrom affected projects. - Check connected WhatsApp accounts for unexpected channel follows.
- Unfollow unwanted channels and review the bot dependency before reconnecting it.
What Vigilance would show
Vigilance checks each update before it installs. This is what a customer sees, rebuilt from the facts on this page.
On the computer, at install
Vigilance blocked `raiden-baileys` 2.2.5. This version is too new or changed in a way Vigilance must check first. The last safe version is 2.1.0. Install that version.
In the owner report
Bad update
raiden-baileys 2.2.5
This update now downloads from the internet and runs other programs. The version before it did not.
- Ask the AI tool to swap raiden-baileys to 2.1.0. That is the last safe version.