@zyrennofficiall/baileys
A WebSockets library for interacting with WhatsApp Web.
This report shows the evidence for @zyrennofficiall/baileys@5.5.0. 5 of 5 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 54m ago · by lpm-firewall-aiThe package performs unsolicited WhatsApp account actions: socket creation schedules follows of four publisher-chosen newsletters, and connection startup follows another hard-coded channel by default. This is malicious under the account-action rule, even though following channels is otherwise a normal library capability.
Decision evidence
public snapshot- Socket creation defaults autoFollow to true and, after the WhatsApp connection opens, follows a hard-coded channel; the code documents only an opt-out.
- Creating the newsletter socket schedules four more hard-coded newsletter follows, decoding their IDs and issuing FOLLOW queries after delays.
- The newsletterFollow method sends the requested newsletter ID through the WhatsApp newsletter FOLLOW operation.
- The preinstall hook only checks the Node.js major version and exits on versions below 20.
- The package describes itself as a WhatsApp Web interaction library, so its normal socket and newsletter operations fit its stated purpose.
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 · L600Package source references weak cryptographic algorithms.
lib/Utils/validate-connection.jsView on unpkg · L107Package ships non-JavaScript build or shell helper files.
WAProto/GenerateStatics.shView on unpkgPackage contains source files above the normal full-analysis size ceiling.
WAProto/index.jsView on unpkgA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
lib/Utils/business.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
lib/Utils/messages-media.jsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
lib/Utils/messages-media.jsView on unpkgFindings
Affected versions and remediation
This report applies to @zyrennofficiall/baileys@5.5.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @zyrennofficiall/baileys@5.5.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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.