Skip to content
OpenAdvisories
Malicious MAL-2026-11179 GHSA-vw26-8qc4-8hmg

@zannstore/baileys

npm package · versions 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.9, 2.3.7, 2.3.6, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.3.1, 2.3.0, 2.2.8, 2.2.7, 2.2.6

Reported Jul 29, 2026 · Updated Aug 5, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (708c069b088fb74064262b95a516de8d4b3f3128bd6705d98ee7e8dc10e942c8)
@zannstore/baileys is a fork of the Baileys WhatsApp Web library. A a static rule fired on lib/Utils/generics.js due to keyword co-occurrence of 'ping', 'GET', and 'id' in the same file, but these tokens correspond to the library's normal protocol-level operations (WhatsApp WebSocket ping/keepalive and message id handling), not to shell execution or exfiltration. No install/postinstall lifecycle script fetches or executes external content, no hardcoded attacker C2 endpoint is bound to a network sink, no reads of installer secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser stores) are present, and no dropper, backdoor, or silent-relay mechanism is observed against the installer.

Source: ghsa-malware (b310179032a3c10c00d359e9152740aa830a1d9d5ea97367f7b8b4d6d1f42569)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.