Uses the user’s WhatsApp account to follow a channel the package publisher selected, without an explicit user 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 performs a publisher-selected WhatsApp follow as a default side effect of messages socket setup. This unauthorized account action is malicious.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Creating the messages socket; the follow request is scheduled for 90 seconds later.
Mechanism
The newsletter socket sends a FOLLOW query to the hard-coded channel JID. Media annotation defaults also embed that JID and newsletter name.
Attack narrative
When an application creates the package’s messages socket, it initializes the newsletter socket, which schedules a WhatsApp FOLLOW query to channel 120363400725985615@newsletter. The package also supplies this channel’s metadata on media messages when callers do not provide annotations. These are publisher-selected account actions that occur without a user request.
Newsletter socket setup schedules a FOLLOW request to the hard-coded channel 120363400725985615@newsletter after 90 seconds.
Creating the messages socket initializes the newsletter socket, so the follow is triggered by normal socket startup without an explicit follow request.
When media annotations are omitted, the package adds metadata naming the same newsletter channel.
Evidence against
The preinstall script only checks the Node.js major version and exits on versions below 20.
The package’s WhatsApp network calls otherwise serve its stated WhatsApp client purpose.
Behavioral surface
SourceChild process · Crypto · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency · No license · Wildcard dependency
Scanned 97 files · 1.34 MB of source
4 external domains referenced
raw.githubusercontent.com
v.whatsapp.net
web.whatsapp.com
www.whatsapp.com
Oversized source lightweight scan
WAProto/index.js8.00 MB file, sampled 256 KB
No sampled risky behavior triggered.
Findings
1 critical · 5 high · 5 medium · 6 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing amiudmodz@5.1.0. 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.