@zyrennofficiall/baileys@5.1.0
A WebSockets library for interacting with WhatsApp Web.
AI Security Review
scanned 2h ago · by lpm-firewall-aiThe package performs WhatsApp account actions toward publisher-selected channels by default: it schedules four newsletter follows during socket construction and follows another channel when connected. The opt-out does not make these unrequested actions user-directed, so this is malicious.
Decision evidence
public snapshot- Creating the newsletter socket schedules follows for four hard-coded, base64-encoded newsletter IDs.
- The scheduled requests decode each ID and invoke the WhatsApp newsletter FOLLOW operation.
- The package’s socket setup follows a hard-coded update channel when the WhatsApp connection opens; this is enabled by default.
- The newsletter follow behavior is reached through the socket construction chain.
- The preinstall script only checks the Node.js major version and exits for versions below 20.
- The package describes itself as a WebSockets library for interacting with WhatsApp Web, so WhatsApp network access is expected.
- The install-time Node.js version check does not itself collect or transmit data.
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.1.0.
See all versions of @zyrennofficiall/baileys for other recorded verdicts.
- Avoid installing @zyrennofficiall/baileys@5.1.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.