ruby-baileys@1.5.18
WhatsApp Web API — Ruby-Baileys by Kyuu. 100% Powered by @rexxhayanasi/elaina-baileys with integrated MessageBuilder, native flow, VoIP calling, and database auth stores.
AI Security Review
scanned 2h ago · by lpm-firewall-aiThe package silently uses the user's WhatsApp account to follow two hard-coded channels whenever a connection opens. This is an unrequested account action toward publisher-chosen targets.
Decision evidence
public snapshot- makeWASocket registers a connection-update handler that runs when the WhatsApp connection opens.
- On connection open, the handler looks up two hard-coded newsletter invite codes and follows each channel with an ID returned by WhatsApp.
- The preinstall hook only checks the Node.js major version and exits if it is below 20.
- The package presents itself as a WhatsApp Web API library, so creating a WhatsApp socket is expected.
Source & flagged code
13 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references a known benign dynamic code generation pattern.
src/Voip/worker-bootstrap.jsView on unpkg · L337Findings
Affected versions and remediation
This report applies to ruby-baileys@1.5.18.
See all versions of ruby-baileys for other recorded verdicts.
- Avoid installing ruby-baileys@1.5.18. 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.