@wanzforme/bails
A WebSockets library for interacting with WhatsApp Web.
This report shows the evidence for @wanzforme/bails@2.0.0, the only known version.
AI Security Review
scanned 10d ago · by lpm-firewall-aiSource inspection confirms an automatic, publisher-selected WhatsApp account action during normal socket construction. The preinstall hook is only a Node version check and does not change that runtime finding.
Decision evidence
public snapshot- The package exports a socket constructor through its main entrypoint.
- Building the message sending socket constructs the username socket, which constructs the newsletter socket.
- The newsletter socket schedules a FOLLOW request for a hardcoded newsletter ten seconds after construction, without checking consent or configuration.
- The request is sent through the WhatsApp messaging query path.
- The socket constructor merges default and caller configuration before creating the communities socket layer.
- The preinstall hook only checks for Node.js 20 or newer and exits on older versions.
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 @wanzforme/bails@2.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @wanzforme/bails@2.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.