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-18943 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-18943 confirms this npm version as malicious.
Advisory
MAL-2026-18943
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in baileys-new-dtz (npm)
Details
baileys-new-dtz 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) 120363349457176430@newsletter, 120363400706010828@newsletter, 120363421052027188@newsletter, 120363423257544642@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 suspicious. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The media helper adds publisher-chosen newsletter metadata by default and carries it into generated media messages, creating an undisclosed promotional side effect. The install hook only enforces a Node.js version, and I found no evidence of automatic account actions or credential exfiltration.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
A caller prepares media without supplying annotations.
Impact
Recipients may see publisher-selected attribution attached to user media without the caller choosing it.
Mechanism
The media helper adds a fixed newsletter JID and name to annotations, then includes the prepared upload data in the outgoing media message.
Evidence
lib/Utils/messages.js
Independent scan evidence
public snapshot
AI called this Suspicious at 86.0% confidence as Unknown with medium false-positive risk.
Evidence for AI warning decision
When callers do not supply media annotations, media preparation inserts a fixed newsletter reference for “Dew Coders OFC.”
The prepared upload data, including those annotations, is included in the generated WhatsApp media message.
Evidence against
The preinstall hook only checks the Node.js major version and exits on versions below 20.
The inspected event and poll handlers send to the JID supplied to sendMessage; no automatic post or subscription to the hard-coded newsletter was identified.
Behavioral surface
SourceChild process · Crypto · Eval · Filesystem · Network · Shell · Web socket
Avoid installing baileys-new-dtz@1.0.1. 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.