@zaidevx/baileys
A WebSockets library for interacting with WhatsApp Web.
This report shows the evidence for @zaidevx/baileys@1.0.4. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 7d ago · by lpm-firewall-aiThe package automatically uses the connected WhatsApp account to follow newsletters chosen by a remote list controlled by the publisher. This is an unsolicited account action, so the package is malicious.
Decision evidence
public snapshot- The package's main export points to its JavaScript client entry point.
- Constructing the message socket constructs the username socket, which constructs the newsletter socket.
- The newsletter socket decodes a hard-coded URL for a remote channel list.
- The socket fetches that list automatically and accepts newsletter IDs from it.
- After the WhatsApp connection opens, it schedules follow requests for each listed ID without an explicit user request.
- The package is a WhatsApp Web client, and it provides an explicit newsletter-follow API.
- The observed follow requests go to WhatsApp through its normal MEX query mechanism; the separate remote request retrieves the list of targets.
Source & flagged code
8 flaggedPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L600Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L600Package source references dynamic require/import behavior.
lib/antiban.cjsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @zaidevx/baileys@1.0.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing @zaidevx/baileys@1.0.4. 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.