The user’s WhatsApp account joins a newsletter without an explicit request.
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 a hard-coded newsletter when its socket connects. This unsolicited account action is malicious under the package firewall rules.
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 WhatsApp socket connection opens.
Mechanism
A connection.update handler waits 2.5 seconds, then sends a FOLLOW request for a hard-coded newsletter ID.
Attack narrative
Creating the normal socket includes the newsletter socket. When the connection opens, it automatically sends a FOLLOW request for the hard-coded newsletter 120363400725985615@newsletter, joining that publisher-selected channel without the user's request.
When the socket connection opens, the package waits 2.5 seconds and sends a FOLLOW request for the hard-coded newsletter 120363400725985615@newsletter.
The newsletter socket is constructed by the message socket, which is part of the package’s normal socket creation chain.
Evidence against
The package describes itself as a WhatsApp Baileys mod, and the newsletter code implements WhatsApp newsletter operations.
The preinstall hook only checks the Node.js version and exits if it is below 20.
Behavioral surface
SourceChild process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Web socket
Avoid installing amiudmodz@6.3.1. 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.