@zhengliyoux/baileys@1.0.4
A WebSockets library for interacting with WhatsApp Web
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe package automatically uses the connected WhatsApp account to follow a fixed newsletter when a socket connects. This is an unsolicited account action toward a publisher-selected target, so the package is malicious.
Decision evidence
public snapshot- Every call to makeWASocket registers autoFollow on the created socket.
- When the WhatsApp connection opens, autoFollow calls newsletterFollow with a fixed channel ID; the only opt-out is an environment variable.
- newsletterFollow sends the channel ID through the WhatsApp newsletter FOLLOW query.
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 @zhengliyoux/baileys@1.0.4.
See all versions of @zhengliyoux/baileys for other recorded verdicts.
- Avoid installing @zhengliyoux/baileys@1.0.4. 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.