This package appears in our research on the malicious Baileys forks, with how it works, the full package list and what to do if you installed it.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-18812 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-18812 confirms this npm version as malicious.
Advisory
MAL-2026-18812
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @bufferstudio/baileys-natsu (npm)
Details
@bufferstudio/baileys-natsu 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/index.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363430188538810@newsletter (stored as base64 strings), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The package behaves as a WhatsApp Web API library: its connection targets WhatsApp and starts only under caller-provided configuration. The bundled newsletter follow is opt-in, and the inspected dependency install hook only checks version formatting.
Static reason
No blocking static signals were detected.
Trigger
A caller creates a socket with auth or enables QR output; newsletter following requires an explicit autoFollowNewsletter setting.
Impact
No unauthorized collection, account action, or unrelated execution was found.
Mechanism
The client connects to WhatsApp’s WebSocket service, and the inspected dependency hook performs a local version check and may print a warning.
Network endpoints1
web.whatsapp.com
Independent scan evidence
public snapshot
AI called this Clean at 96.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The manifest points to a library entry point and defines only build, check, and test scripts; it has no install lifecycle hook.
The entry point exports WhatsApp socket, authentication-state, and message utilities.
The socket connects to WhatsApp’s WebSocket endpoint and starts only when auth or the QR option is supplied.
Following the bundled newsletter requires setting autoFollowNewsletter; the default config does not enable it.
The inspected protobufjs postinstall only checks dependency version formatting and may print a warning.
Evidence against
Behavioral surface
SourceCrypto · Filesystem · Network · Web socket
Supply chainURL strings
ManifestNo manifest risk signals triggered.
Scanned 30 files · 359 KB of source
1 external domain referenced
web.whatsapp.com
Oversized source lightweight scan
WAProto/index.js4.23 MB file, sampled 256 KB
No sampled risky behavior triggered.
Findings
5 high · 3 medium · 4 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing @bufferstudio/baileys-natsu@1.2.3. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.