sauruspro-bail@5.0.0
Sauruspro Baileys - Custom WhatsApp Web API with SPR (Selective Relay), Newsletter Status, Rich Messages and pairing support.
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe normal socket construction path starts a delayed task that fetches a publisher-controlled newsletter list and automatically follows every returned ID using the user’s WhatsApp connection. This is an unsolicited account action toward targets chosen by the publisher, so the package is malicious.
Decision evidence
public snapshot- Creating the normal socket reaches makeNewsletterSocket through the package’s socket constructor chain.
- makeNewsletterSocket schedules a fetch to a Base64-encoded URL, then follows newsletter IDs supplied by its response.
- The follow requests use WhatsApp’s w:mex protocol, so the automatic action affects the user’s WhatsApp account.
- The preinstall hook only checks the Node.js major version and exits when it is below 20.
- No source evidence shows credentials being sent to the external list host.
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 sauruspro-bail@5.0.0.
See all versions of sauruspro-bail for other recorded verdicts.
- Avoid installing sauruspro-bail@5.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.