@hanzofc/baileys@7.2.1
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 4d ago · by lpm-firewall-aiSource inspection confirms an automatic, publisher-selected account action on connection open. This is concrete behavior that can alter a consumer’s WhatsApp subscriptions without an explicit request.
Decision evidence
public snapshot- The package entrypoint exports the socket factory that contains the automatic follow callback.
- On connection open, the callback follows a fixed newsletter JID without caller-selected input.
- The follow uses the connected account and runs once per socket.
- The default connection targets WhatsApp’s WebSocket service.
Source & flagged code
10 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.1.
See all versions of @hanzofc/baileys for other recorded verdicts.
- Avoid installing @hanzofc/baileys@7.2.1. 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.