The user's WhatsApp account joins a channel without a request or confirmation.
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 normal socket startup path silently follows a hard-coded WhatsApp newsletter when the connection opens. This is an unrequested account action and meets the blocking rule for silent follows or joins.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
The user creates the package's normal socket and its WhatsApp connection opens.
Mechanism
A connection.update handler schedules a FOLLOW request for newsletter ID 120363400725985615@newsletter after three seconds.
Attack narrative
Creating the normal socket reaches the newsletter socket handler. When the WhatsApp connection opens, the handler silently schedules a FOLLOW request for a fixed newsletter. This uses the user's account to join a channel without an explicit request or confirmation.
When the WhatsApp connection opens, the socket automatically sends a FOLLOW request for the hard-coded newsletter ID 120363400725985615@newsletter.
The default socket path constructs the newsletter socket through makeMessagesSocket, making the connection handler reachable when the package creates its normal socket.
Evidence against
The preinstall script only checks the Node.js major version and exits if it is below 20.
The package is described as a WhatsApp Baileys modification, and the reviewed finding does not show credential collection or unrelated network exfiltration.
Behavioral surface
SourceChild process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestNo license
Scanned 131 files · 3.34 MB of source
8 external domains referenced
call.whatsapp.com
emscripten.org
fburl.com
raw.githubusercontent.com
wa.me
web.whatsapp.com
www.internalfb.com
www.whatsapp.com
Oversized source lightweight scan
WAProto/index.js5.01 MB file, sampled 256 KB
No sampled risky behavior triggered.
Findings
7 high · 8 medium · 8 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing amiudmodz@6.2.7. 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.