Subscribes the user's account to a target chosen by the package publisher without consent.
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 runtime socket handler performs an unsolicited account action toward a hard-coded newsletter. This publisher-chosen subscription is unrelated to the library's requested connection behavior and runs automatically.
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 socket connection opens; the action runs after a 90-second delay.
Mechanism
The code constructs a fixed newsletter JID from numeric character codes and calls sock.newsletterFollow().
Attack narrative
After a WhatsApp socket connects, the package silently follows a hard-coded newsletter after 90 seconds. The target is obscured as character codes, and the action uses the user's account without a request.
Evidence
lib/Socket/messages-recv.js
Decision evidence
public snapshot
Evidence for block
When the socket connection opens, the code waits 90 seconds, decodes a hard-coded newsletter JID from character codes, and calls newsletterFollow without a user request.
The package exports makeWASocket as its runtime entry point, which creates the socket that runs this connection handler.
Evidence against
The preinstall script only checks the Node.js major version and exits if it is below 20.
The flagged protobuf updater is a build script that generates protobuf sources and installs temporary generator dependencies when run.
Behavioral surface
SourceChild process · Crypto · Environment variables · Eval · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency
Scanned 308 files · 1.50 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
1 critical · 11 high · 6 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@4.1.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.