Malicious code in @zannstore/baileys (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11179
Published--- _-= Per source details. Do not edit below this line.=-_ ## 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.
- Source published
- 29 Jul 2026 18:07:14 UTC
- Source modified
- 5 Aug 2026 07:21:00 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.