@ubedsockets/baileys@1.7.0
@ubedsockets/baileys,baileys A high-performance WhatsApp Web API wrapper based on Baileys, optimized for bot developers with integrated utility scrapers.
AI Security Review
scanned 13h ago · by lpm-firewall-aiThe standard socket automatically follows a hard-coded WhatsApp newsletter when the connection opens. This is an unsolicited account action using the user's authenticated session, so the package is malicious.
Decision evidence
public snapshot- The socket registers a handler that checks whether the account follows the hard-coded newsletter JID 120363410154606795@newsletter when the connection opens, then sends a follow query if it does not.
- The normal socket construction path creates the newsletter socket, so the automatic follow runs for clients using the package's standard socket.
- The package describes itself as a WhatsApp Web API wrapper, and its normal purpose includes WhatsApp socket operations.
- The preinstall script only checks the Node.js major version and exits if it is below 20.
Source & flagged code
12 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L603Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L603Findings
Affected versions and remediation
This report applies to @ubedsockets/baileys@1.7.0.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.7.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.