amiudmodz@6.1.2
Malicious code in amiudmodz (npm)
Analysis
The package is a republished fork of the Baileys WhatsApp Web API library ("What"sApp Baileys mod") whose dependency tree is compromised: it declares and imports @cacheable/node-cache (^1.4.0) in lib/Utils/auth-utils.js, lib/Utils/identity-change-handler.js, lib/Socket/messages-send.js, lib/Socket/messages-recv.js and lib/Socket/chats.js via makeCacheableSignalKeyStore / new NodeCache(...). Installing the package therefore pulls the malicious dependency into the installer's environment automatically. The package ships its own preinstall hook, engine-requirements.js, which only checks the local Node.js major version and exits below Node 20. Other observed behaviour: single ffmpeg execFile call for video thumbnail extraction in lib/Utils/messages-media.js, and outbound traffic constants limited to web[.]whatsapp[.]com, call[.]whatsapp[.]com and www[.]whatsapp[.]com. There are no hardcoded C2 hosts, no obfuscated payloads and no credential-collection code inside this package; the exposure is entirely the malicious dependency it installs.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 11:57 PM
- analyzed
- Nov 9, 2026, 11:58 PM
- weekly installs
- 114
Related advisories
- amiudmodz@4.1.2 same package
- amiudmodz@5.0.7 same package
- amiudmodz@5.0.8 same package
- amiudmodz@4.0.6 same package
- @langitdeveloper/baileys@2.2.0
- alip-baileys@1.0.3
- @langitdeveloper/baileys@2.1.0
- @langitdeveloper/baileys@2.0.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.