MAL-2026-16058
Malicious code in vinzz-wcli (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (8dec0212466f7170f1e00ecbfe3f846cbf5d211917c3831a6ee162ca6d44ec10) vinzz-wcli is a WhatsApp CLI whose main entry (index.js) sets `global.ownerr = "6285185667890@s.whatsapp.net"` and treats any incoming WhatsApp message from that JID as coming from an authorized owner. The `messages.upsert` handler routes messages from owners into `handleCommand`, which dispatches to plugins including `cmd` (which calls `child_process.exec` on the message text) and `eval` (which builds and runs an `AsyncFunction` from the message text). When an installer runs the CLI and pairs their own WhatsApp account, the hardcoded third-party number is silently added as an owner and can send arbitrary shell commands and JavaScript to be executed on the installer's host with the installer's privileges. The tarball also ships a second file, index2.js, which is not the declared main but contains the same hardcoded owner JID and the same messages.upsert -> handleCommand dispatch, providing an equivalent execution path if that file is invoked directly.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for vinzz-wcli (npm). Pin to a known-safe version or switch to an alternative.