@bil-rgb/baileys@1.0.0
A WebSockets library for interacting with WhatsApp Web — bil-rgb fork of Baileys
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package automatically uses the user's WhatsApp account to follow a hard-coded publisher-selected newsletter during ordinary socket setup. This is an unrequested account action and meets the malicious account-action rule.
Decision evidence
public snapshot- The newsletter socket contains a fixed, base64-encoded newsletter ID and schedules a FOLLOW request for it.
- Creating the standard socket reaches the username socket, which creates the newsletter socket; this does not require a separate follow command.
- The follow request is sent through WhatsApp's service query and runs after a 150-second delay.
- The preinstall script only checks the Node.js major version.
- The package describes itself as a WhatsApp Web library, so WhatsApp network activity is expected.
- The lifecycle hook exits on Node versions below 20 and does not collect or transmit data.
Source & flagged code
9 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L600Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L600Findings
Affected versions and remediation
This report applies to @bil-rgb/baileys@1.0.0.
See all versions of @bil-rgb/baileys for other recorded verdicts.
- Avoid installing @bil-rgb/baileys@1.0.0. 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.