MAL-2026-16058
Dashboard / Malicious Package / MAL-2026-16058
MAL-2026-16058
Summary: Malicious code in vinzz-wcli (npm)
Details: Source: amazon-inspector (8dec0212466f7170f1e00ecbfe3f846cbf5d211917c3831a6ee162ca6d44ec10) vinzz-wcli is a WhatsApp CLI whose main entry (index.js) sets `global.ownerr = "[email protected]"` 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.
References: https://www.npmjs.com/package/vinzz-wcli/v/1.0.1
Affected packages
Package
Name: vinzz-wcli
Purl: pkg:npm/vinzz-wcli
Affected ranges
Type: N/A
Events:
