baileys-web3 is malicious. Its code runs at install and can read the secrets of the machine.

npm

Details

Safe
after 0.1.3 · after 0.1.2 · after 0.1.1 · after 0.1.0
Advisories
1 in 120 days

Used by

Stacks that pull this package.

Not part of a tracked stack.

Alerts(1)

Critical
Conditions could not be extracted

Source summary

baileys-web3 is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363405637529316@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342). --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages)…

Affected
baileys-web3 0.1.0 · baileys-web3 0.1.1 · baileys-web3 0.1.2 · baileys-web3 0.1.3
Fixed in
after 0.1.3 · after 0.1.2 · after 0.1.1 · after 0.1.0
ID
GHSA-3x9g-qxxh-f4xf
Open the alert