@zaidevx/baileys@1.0.3
A WebSockets library for interacting with WhatsApp Web.
AI Security Review
scanned 7d ago · by lpm-firewall-aiThe normal socket path silently fetches publisher-controlled newsletter IDs and follows them through the user’s WhatsApp account after connection. That is an unrequested account action toward targets chosen by the publisher, so this version is malicious.
Decision evidence
public snapshot- The newsletter socket decodes a base64 URL pointing to a raw GitHub channel list.
- Constructing the newsletter socket automatically fetches that list and parses newsletter IDs.
- After the WhatsApp connection opens, the package schedules follows for every listed ID without user action.
- The normal socket construction path calls makeNewsletterSocket through makeUsernameSocket and makeMessagesSocket.
- The package is described as a WhatsApp WebSocket library, and its ordinary WhatsApp networking serves that purpose.
- The package’s declared prepublishOnly script is not an install-time hook.
Source & flagged code
9 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.3.
See all versions of @zaidevx/baileys for other recorded verdicts.
- Avoid installing @zaidevx/baileys@1.0.3. 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.