Baileys is a lightweight JavaScript library for interacting with the WhatsApp Web API using WebSocket.
OpenSSF/OSV advisory MAL-2026-17377 confirms this npm version as malicious. This package is part of a large family (100+ identified as of September 2026) of near-identical forks of the Baileys WhatsApp Web library that inject a covert channel-subscription action into the WhatsApp socket layer...
Package contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L605Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L605Package source references a known benign dynamic code generation pattern.
lib/Utils/messages-media.jsView on unpkg · L295Package source references dynamic require/import behavior.
lib/Types/Message.jsView on unpkg · L4Package source references weak cryptographic algorithms.
lib/Utils/crypto.jsView on unpkg · L42Package ships non-JavaScript build or shell helper files.
WAProto/GenerateStatics.shView on unpkgPackage contains source files above the normal full-analysis size ceiling.
WAProto/HistorySync/HistorySync.jsView on unpkgThis report applies to @saazkira/baileys@2.1.6.
See version security history for other recorded verdicts.
Evidence last updated: .
Package contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L605Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L605Package ships non-JavaScript build or shell helper files.
WAProto/GenerateStatics.shView on unpkgPackage contains source files above the normal full-analysis size ceiling.
WAProto/HistorySync/HistorySync.jsView on unpkgPackage source references a known benign dynamic code generation pattern.
lib/Utils/messages-media.jsView on unpkg · L295Package source references dynamic require/import behavior.
lib/Types/Message.jsView on unpkg · L4Package source references weak cryptographic algorithms.
lib/Utils/crypto.jsView on unpkg · L42