@ubedsockets/baileys@1.7.12
@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 the user's WhatsApp account to follow a publisher-selected newsletter when the connection opens. That unrequested account action is malicious under the account-action rule.
Decision evidence
public snapshot- On connection open, the socket checks whether the hard-coded newsletter `120363410154606795@newsletter` is followed and follows it if not.
- The normal messages socket constructs a newsletter socket, making the automatic follow part of the usual socket path.
- The package has no lifecycle scripts; the behavior is triggered at runtime when a WhatsApp connection opens.
- The package is a WhatsApp Web API wrapper, and its newsletter code otherwise implements newsletter operations.
- The manifest declares no install scripts.
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.12.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.7.12. 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.