ndraawzz-baileys@1.5.0
A WebSockets library for interacting with WhatsApp Web.
AI Security Review
scanned 2h ago · by lpm-firewall-aiThe normal socket creation path schedules a follow action toward a hard-coded WhatsApp newsletter without user consent. This is an unsolicited account action and warrants blocking publication.
Decision evidence
public snapshot- Creating a messages socket constructs the username socket, which constructs the newsletter socket.
- The newsletter socket schedules a FOLLOW request for a hard-coded newsletter ID after a 10-second delay, without checking for user consent.
- The package’s preinstall script only checks whether Node.js is version 20 or newer.
- The package is described as a WebSockets library for interacting with WhatsApp Web, and its default connection URL is WhatsApp’s web socket endpoint.
Source & flagged code
8 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 ndraawzz-baileys@1.5.0.
See all versions of ndraawzz-baileys for other recorded verdicts.
- Avoid installing ndraawzz-baileys@1.5.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.