amiudmodz@5.0.7
Malicious code in amiudmodz (npm)
Analysis
This package is a modified WhatsApp (Baileys) library that silently enrols the installing account into the distributor's WhatsApp channel and delegates execution to unresolvable dependencies. When a socket is created, lib/Socket/newsletter.js schedules an unconditional 90-second timer that sends a WhatsApp `w:mex` query with the FOLLOW query id for the hardcoded channel JID 120363400725985615@newsletter (display name "z4ph"), changing the account's channel subscription state with no user action and no configuration option; the same channel is injected as forwardedNewsletterMessageInfo into outgoing payloads in lib/Utils/messages.js. The package also declares the dependency "cache-manager" as the floating tag `latest` and pulls libsignal from the third-party fork git+hxxps://github[.]com/xhclintohn/libsignal-node, so the code executed during and after install is not fixed by any version range and can be changed by the owners of those targets. The install hook engine-requirements.js only enforces a Node.js >= 20 check. The shipped JavaScript contains no environment-variable access, no reads of .npmrc, SSH or cloud credential paths, no encoded payload blobs and no dynamic code evaluation; its only network destination is wss://web[.]whatsapp[.]com, and its single child_process use is ffmpeg thumbnail generation in lib/Utils/messages-media.js.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 08:48 AM
- analyzed
- Nov 15, 2026, 08:54 AM
- weekly installs
- 114
Related advisories
- amiudmodz@4.1.2 same package
- amiudmodz@5.0.8 same package
- amiudmodz@4.0.6 same package
- amiudmodz@6.1.2 same package
- @hbmodsofc/baileys@3.2.0
- @hanzzy/baileys-mod@8.0.4
- @hbmodsofc/baileys@3.0.0
- alisaai-baileys@10.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.