@monze1239/baileys@1.0.1
A WebSockets library for interacting with WhatsApp Web.
AI Security Review
scanned 2h ago · by lpm-firewall-aiSocket construction schedules an authenticated WhatsApp follow action toward a hard-coded newsletter, without an explicit user request. This is a concrete account action benefiting a publisher-selected target, so the package is malicious.
Decision evidence
public snapshot- The exported socket factory constructs the socket layers that reach makeNewsletterSocket.
- makeNewsletterSocket schedules a WhatsApp newsletter FOLLOW request after 10 seconds, using a hard-coded newsletter ID encoded in base64.
- The follow request is sent through the WhatsApp socket using a w:mex query.
- The preinstall hook only checks that Node.js is version 20 or newer.
- The package is presented as a WhatsApp Web socket library, where sending requests through an authenticated WhatsApp socket is expected.
- Other newsletter follow methods accept a caller-supplied JID, but the scheduled follow runs automatically during socket construction.
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 @monze1239/baileys@1.0.1.
See all versions of @monze1239/baileys for other recorded verdicts.
- Avoid installing @monze1239/baileys@1.0.1. 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.