@ubedsockets/baileys@1.7.2
@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 path automatically follows a hard-coded WhatsApp newsletter using the user's account when the connection opens. This is an unrequested account action toward a publisher-selected target, which meets the malicious account-action rule.
Decision evidence
public snapshot- When the WhatsApp connection opens, the code checks whether the account follows the hard-coded newsletter `120363410154606795@newsletter` and sends a FOLLOW request if it does not.
- The normal `makeWASocket` path constructs the business, receive, message, and newsletter sockets, so the automatic follow is part of ordinary socket use.
- Socket initialization also queries `api.ipify.org` and exits unless the public IP matches a hard-coded address.
Source & flagged code
11 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.2.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.7.2. 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.