@zyrennofficiall/baileys@5.4.0
A WebSockets library for interacting with WhatsApp Web.
AI Security Review
scanned 2h ago · by lpm-firewall-aiThe package automatically follows hard-coded publisher-selected WhatsApp channels when its socket is created, using the user's account. This is an unauthorized account action and warrants blocking publication.
Decision evidence
public snapshot- The default connection config sets autoFollow to true.
- When the socket connection opens, makeWASocket follows a hard-coded publisher-selected WhatsApp channel.
- Socket construction reaches makeNewsletterSocket, which schedules automatic follows of four additional hard-coded newsletter IDs using WhatsApp's FOLLOW query.
- The preinstall script only checks that Node.js is version 20 or later.
- The package describes itself as a WhatsApp Web library, so connecting to WhatsApp is expected.
- The top-level auto-follow behavior has an opt-out, though the four scheduled newsletter follows do not use it.
Source & flagged code
9 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage 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 · L600Findings
Affected versions and remediation
This report applies to @zyrennofficiall/baileys@5.4.0.
See all versions of @zyrennofficiall/baileys for other recorded verdicts.
- Avoid installing @zyrennofficiall/baileys@5.4.0. 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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.