@ubedsockets/baileys@1.7.7
@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 default socket stack follows a hard-coded newsletter on the user's WhatsApp account when the connection opens, without a user request. This is an unauthorized account action and warrants blocking.
Decision evidence
public snapshot- When a WhatsApp connection opens, the newsletter socket checks a publisher-chosen newsletter ID and follows it if the account is not already subscribed.
- The default message socket constructs the newsletter socket, and the default exported socket uses that socket stack.
- The package is a WhatsApp Web API wrapper, but following this hard-coded newsletter is unrelated to a caller's requested operation.
- The manifest has no lifecycle scripts, so the action is triggered at runtime rather than during installation.
- The package's stated purpose is WhatsApp API access, which explains its WhatsApp network and account operations generally.
Source & flagged code
11 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.7.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.7.7. 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.