Advisory

MAL-2026-11176

Also known as: GHSA-f9vh-885g-hv2f

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @bowozzz/baileys (npm)

Details

---
_-= 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.

Severity

Not rated by the source.

Dates

Published
2026-07-29 04:34 UTC
Modified
2026-08-05 06:35 UTC

Affected packages and fixes

@bowozzz/baileys

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences