@ubedsockets/baileys@1.6.4
@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 performs a WhatsApp account action toward a hardcoded publisher-selected newsletter whenever its default socket is constructed. This meets the malicious account-action rule; the auto-follow is unrelated to an explicit user request.
Decision evidence
public snapshot- The package’s main entry is lib/index.js, and package.json defines no lifecycle scripts.
- The default makeWASocket factory constructs the business, receive, message-send, and newsletter socket layers.
- lib/Socket/newsletter.js hardcodes a newsletter ID in base64.
- During newsletter socket construction, a 90-second timer decodes that ID and sends a FOLLOW request without an explicit user action.
- The request uses the WhatsApp newsletter protocol and targets the WhatsApp service.
- No install-time scripts are defined.
- The inspected follow behavior does not itself show credential or file exfiltration.
- WhatsApp network access is expected for a WhatsApp API wrapper.
Source & flagged code
7 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 · L603Package ships non-JavaScript build or shell helper files.
WAProto/GenerateStatics.shView on unpkgFindings
Affected versions and remediation
This report applies to @ubedsockets/baileys@1.6.4.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.6.4. 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.