The user's account is made to follow channels they did not choose.
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 automatically uses the user's WhatsApp account to follow two publisher-selected newsletters after connection, without a user request. This is an unauthorized account action.
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 WhatsApp connection opens.
Mechanism
A delayed callback decodes hard-coded newsletter identifiers and calls newsletterFollow for each, while suppressing errors.
Attack narrative
After a WhatsApp connection opens, the package waits 90 seconds, decodes two fixed newsletter identifiers, and silently follows both through the connected account. The follow operations are automatic and their errors are swallowed.
Evidence
lib/Socket/messages-recv.js
Decision evidence
public snapshot
Evidence for block
When the WhatsApp connection opens, a delayed callback decodes two hard-coded newsletter identifiers.
The callback automatically calls newsletterFollow for both identifiers and suppresses errors.
The follow actions run from the connection update handler without a user request.
Evidence against
The preinstall hook only checks the Node.js major version and exits on versions below 20.
The package describes itself as a WhatsApp Web API library, so ordinary WhatsApp network activity fits its purpose.
Behavioral surface
SourceChild process · Crypto · Environment variables · Eval · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency
Scanned 303 files · 1.47 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@3.0.6. 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.