@ubedsockets/baileys@1.6.3
@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 runtime code automatically follows a hard-coded WhatsApp newsletter when a messages socket is created. This uses the user's account for an action toward a target selected by the package publisher, so the package is malicious.
Decision evidence
public snapshot- Creating the messages socket constructs the newsletter socket, which schedules an action after 90 seconds.
- The scheduled callback decodes a hard-coded newsletter ID and invokes the FOLLOW operation without user input.
- Newsletter operations are sent as WhatsApp IQ requests to the WhatsApp service.
- The package manifest has no lifecycle scripts.
- The package is a WhatsApp Web API wrapper, so ordinary WhatsApp network access is part of its stated purpose.
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.3.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.6.3. 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.