@ubedsockets/baileys@1.7.1
@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 package silently follows a hard-coded newsletter when the user's WhatsApp connection opens, an account action toward a publisher-selected target that the user did not request. This is concrete behavior in the normal socket path and warrants blocking.
Decision evidence
public snapshot- On WhatsApp connection open, the newsletter socket checks a hard-coded publisher-selected newsletter and follows it if the account is not already subscribed.
- The standard message socket constructs the newsletter socket, making the follow handler part of normal socket use.
- The preinstall script only checks the Node.js major version and exits on versions below 20.
- The package presents itself as a WhatsApp Web API wrapper, where WhatsApp network access and account actions are part of its purpose.
- The inspected preinstall hook does not contact the network or collect host data.
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.1.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.7.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.