@hanzofc/baileys@7.2.0
A customized fork of WhiskeySockets/Baileys with additional fixes and modifications for WhatsApp automation.
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 6d ago · by lpm-firewall-aiSource confirms an automatic, publisher-selected account action whenever the socket connects. This is concrete attack behavior and supports blocking the package.
Decision evidence
public snapshot- The package entrypoint is lib/index.js, which exposes the socket implementation.
- When a socket connection opens, the library automatically follows a hard-coded newsletter once, without a caller-selected target or opt-in.
- newsletterFollow sends a join request for the supplied newsletter ID.
Source & flagged code
9 flagged · loading sourcePackage 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 @hanzofc/baileys@7.2.0.
See all versions of @hanzofc/baileys for other recorded verdicts.
- Avoid installing @hanzofc/baileys@7.2.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.