Uses the user's WhatsApp account to subscribe to targets selected by the publisher without a user request, and can attach publisher newsletter attribution to outgoing prepared media.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
The package silently performs publisher-selected newsletter follows on the user's WhatsApp account after a normal connection opens, an unrequested account action. Its media helper also inserts a default YEMOBYTE newsletter annotation.
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; previous stored version diff introduced dangerous source
Trigger
A client created with makeWASocket connects successfully; media annotation is added when media preparation runs without caller-provided annotations.
Mechanism
A timer follows two hard-coded newsletter JIDs 90 seconds after connection opens. The media helper also constructs a default annotation with a YEMOBYTE newsletter JID.
Attack narrative
When a normal WhatsApp socket connection opens, the package waits 90 seconds and follows two hard-coded newsletters using the user's account. The socket factory reaches this handler by default, and the errors are silently ignored. The media preparation helper also adds a default annotation naming the YEMOBYTE newsletter when none is supplied.
When the connection opens, a 90-second timer decodes two hard-coded newsletter JIDs and calls newsletterFollow on both, swallowing errors.
The normal makeWASocket factory builds the communities socket, which builds the business socket and then the receive socket containing the automatic follow handler.
Media preparation adds a default annotation naming the YEMOBYTE newsletter when the caller has not supplied annotations.
Evidence against
The preinstall script only checks the Node.js major version and exits on versions below 20.
Behavioral surface
SourceChild process · Crypto · Eval · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency
Scanned 299 files · 1.43 MB of source
12 external domains referenced
call.whatsapp.com
catbox.moe
ezgif.com
mmg.whatsapp.net
qu.ax
raw.githubusercontent.com
registry.npmjs.org
scdn.pdi.moe
tmpfiles.org
uguu.se
web.whatsapp.com
www.whatsapp.com
Oversized source lightweight scan
WAProto/index.js10.1 MB file, sampled 256 KB
High entropy strings
Findings
7 high · 5 medium · 5 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing @yemo-dev/yebail@3.0.2. 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.