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-19109 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as suspicious; 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-19109 confirms this npm version as malicious.
Advisory
MAL-2026-19109
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @lekzsync/baileys (npm)
Details
Malicious package. `@lekzsync/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). it silently subscribes every victim (via the injected WhatsApp newsletter/channel FOLLOW on connect) to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363399602691477@newsletter, 120363421563597486@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious.
LPM's AI review found this version suspicious. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The install hook only enforces a Node.js version requirement, and the credential transport examined targets WhatsApp's service. Hard-coded newsletter attribution in special outgoing messages creates a real risk of misleading recipients, but the evidence does not establish an automatic account action or a malicious campaign.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
A caller invokes sendMessage with event or poll-result content.
Impact
Messages may misleadingly attribute content to publisher-selected WhatsApp newsletters. The inspected code does not show automatic posting to those channels.
Mechanism
The transformation code inserts fixed newsletter identifiers into forwarded-message metadata; the message is then relayed to the caller-supplied recipient.
Avoid installing @lekzsync/baileys@1.0.5. 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.