@chatunitycenter/baileys@1.0.0
Build WhatsApp bots and integrations with ChatUnity Baileys: a powerful, open-source multi-device WhatsApp Web API for Node.js.
This package appears in our research on the malicious Baileys forks, with how it works, the full package list and what to do if you installed it.
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe package performs an unrequested, publisher-selected account action after login, which is concrete attack behavior. The preinstall script is only a Node version check and does not change this runtime finding.
Decision evidence
public snapshot- After successful login, the socket automatically starts a default-newsletter subscription check.
- The target newsletter ID is hard-coded, and the code subscribes the account when it is not already subscribed.
- The subscription is sent through a WhatsApp query; no user consent check guards this account action.
- The preinstall hook only checks the Node.js major version and exits on versions below 20.
- The inspected subscription path does not establish credential exfiltration or remote code execution.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage 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 @chatunitycenter/baileys@1.0.0.
See all versions of @chatunitycenter/baileys for other recorded verdicts.
- Avoid installing @chatunitycenter/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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.