@xayz/baileys
This report shows the evidence for @xayz/baileys@6.1.8. 20 of 24 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
This package appears in our research on the malicious Baileys forks, with how it works, the full package list and what to do if you installed it.
OpenSSF/OSV Malicious Advisory
imported 23d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-17384 confirms this npm version as malicious.
Independent LPM AI assessment
CleanIndependent AI assessment: clean. LPM AI assessed this version as clean; the assessments disagree.
Install and library code implement a WhatsApp Web client: the lifecycle scripts only check Node 20 and WhatsApp reachability, and outbound helpers are caller-invoked. No self-install chain, hidden exfiltration, or unconsented agent-control writes were found.
Independent scan evidence
public snapshot- preinstall only runs a Node 20 version check, and postinstall runs a self-test that always exits 0.
- The postinstall reachability check opens a WebSocket only to the WhatsApp Web endpoint wss://web.whatsapp.com/ws/chat.
- lib/WABinary/constants.js is a WhatsApp binary protocol tag and token table.
- lib/Utils/business.js parses WhatsApp catalog and order nodes from protocol data.
- Antiban webhook alerts default to an empty URL list and send to Telegram or Discord only when the caller supplies that config.
- The package does not depend on its own name, so there is no nested install-lifecycle chain.
- checkWhatsAppBanStatus can send a caller-supplied phone number to kyuux-r.indevs.in, but only when application code calls it.
- The libsignal dependency is pinned to npm:@xayz/libsignal-node@latest, which can move independently of this release.
- Importing lib/index.js prints a promotional banner, including during the postinstall import check.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L600Findings
Affected versions and remediation
This report applies to @xayz/baileys@6.1.8.
The versions list below shows the verdict for each recorded version.
- Avoid installing @xayz/baileys@6.1.8. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.