Uses the account’s credentials to follow a target chosen by the package publisher without the user requesting that action.
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 default socket construction path schedules a follow of a fixed newsletter using the user’s WhatsApp session. This is an unrequested account action toward a publisher-selected target, so the package is malicious.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Construction of the standard WhatsApp socket; the follow is scheduled 90 seconds after newsletter socket creation.
Mechanism
Newsletter support sends a FOLLOW query for the hard-coded newsletter JID over the authenticated WhatsApp connection.
Attack narrative
Creating the package’s standard socket reaches newsletter support, which schedules an authenticated FOLLOW query to 120363400725985615@newsletter after 90 seconds. This performs a publisher-chosen account action without a user request.
The exported makeWASocket constructor invokes makeRegistrationSocket.
The standard socket construction chain creates newsletter support.
Newsletter support schedules a FOLLOW request to the fixed target 120363400725985615@newsletter after 90 seconds.
The package’s preinstall script only runs the Node version check.
Evidence against
The preinstall check exits only when the Node major version is below 20.
The follow is sent through the WhatsApp socket connection; the inspected code does not show credential collection or transmission to an unrelated host.
Behavioral surface
SourceChild process · Crypto · Filesystem · Network · Shell · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency · No license · Wildcard dependency
Scanned 97 files · 1.33 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 · 6 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@4.1.2. 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.