@ubedsockets/baileys@1.7.5
@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 automatically uses a connected user's WhatsApp account to follow a hard-coded newsletter, an account action the user did not request. The behavior is directly present in the normal socket construction path and connection-open handler.
Decision evidence
public snapshot- The manifest has no lifecycle scripts, and its main entry is lib/index.js.
- When the connection opens, newsletter.js checks a publisher-chosen newsletter and follows it if the account is not already subscribed.
- The normal messages socket constructor calls makeNewsletterSocket, so the connection handler is part of the standard socket path.
- The package is a WhatsApp Web API wrapper, so WhatsApp network and account operations are within its stated purpose.
- The follow action only runs after a WhatsApp connection opens and is skipped if the account already follows the newsletter.
Source & flagged code
12 flaggedPackage 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.5.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.7.5. 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.