Changes the user’s WhatsApp account by subscribing it to a fixed channel without a request or notice in the inspected code.
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 path reaches code that silently follows a hard-coded WhatsApp newsletter after connection. This is an unrequested account action, so the package is malicious.
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
A socket created through the normal message socket path receives a connection.update event with connection set to open.
Mechanism
After a three-second delay, the newsletter layer sends a FOLLOW query for newsletter ID 120363400725985615@newsletter.
Attack narrative
When the package’s ordinary socket connects, it silently issues a WhatsApp newsletter follow for a hard-coded ID. This acts on the user’s account without an explicit request and is unrelated to the package’s stated messaging purpose.
When the WhatsApp connection opens, the newsletter socket schedules a follow request for hard-coded channel 120363400725985615@newsletter. The request runs automatically without a user action.
The normal message socket constructor creates the newsletter socket, making the automatic follow reachable through the package’s ordinary socket path.
The package describes itself as a WhatsApp Baileys mod; the automatic channel follow is unrelated to the stated messaging function.
Evidence against
The preinstall hook only checks the Node.js version and exits when it is below 20.
The follow request uses the existing WhatsApp socket rather than an explicit unrelated collector.
Behavioral surface
SourceChild process · Crypto · Dynamic require · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestNo license
Scanned 122 files · 1.99 MB of source
5 external domains referenced
call.whatsapp.com
raw.githubusercontent.com
wa.me
web.whatsapp.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 · 5 medium · 7 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing amiudmodz@6.2.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.