Skip to content

MAL-2026-11176 Malicious code in @bowozzz/baileys (npm)

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
Cloud Platforms

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (4722e281a0d76eb608340d11a90f25453d5804124aebdd842b462fb03986891f)

Package is a fork of the Baileys WhatsApp Web library. A single static pattern fired on lib/Utils/generics.js where the tokens 'ping' and 'GET' appear alongside identifier strings, matching a generic network+command keyword co-occurrence rule. In Baileys, 'ping' refers to the WhatsApp XMPP-style ping/keepalive stanza used to maintain the WebSocket connection, and 'GET' refers to protocol query types — not to OS ping execution or HTTP exfiltration. No install/postinstall lifecycle scripts, no top-level import-time network activity to attacker infrastructure, no reads of installer secrets (~/.aws, ~/.ssh, ~/.npmrc, browser stores), no credential-harvest fingerprint, and no hardcoded C2 destination were observed. The finding is consistent with a false-positive keyword match on the library's WhatsApp protocol code.

Source: ghsa-malware (b5a0f9d286871016613604a770135c19922be4f3b7005cf52276e5258a7423a0)

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.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
bowozzz @bowozzz/baileys(npm) = 1.0.0; = 6.6.6; = 6.6.7; = 7.0.0 +7 more No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
bowozzz @bowozzz/baileys(npm) All versions No fix listed
bowozzz @bowozzz/baileys(npm) = 6.6.7 No fix listed
bowozzz @bowozzz/baileys(npm) = 8.8.8 No fix listed
bowozzz @bowozzz/baileys(npm) = 6.6.6 No fix listed
bowozzz @bowozzz/baileys(npm) = 7.0.0 No fix listed
bowozzz @bowozzz/baileys(npm) = 7.0.2 No fix listed
bowozzz @bowozzz/baileys(npm) = 9.9.9 No fix listed
bowozzz @bowozzz/baileys(npm) = 1.0.0 No fix listed
bowozzz @bowozzz/baileys(npm) = 7.0.3 No fix listed
bowozzz @bowozzz/baileys(npm) = 7.7.7 No fix listed
bowozzz @bowozzz/baileys(npm) = 7.0.1 No fix listed

References