@modss/baileys
Websocket Whatsapp API for Node.js
This report shows the evidence for @modss/baileys@1.0.2. 4 of 6 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
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 2mo ago · by lpm-firewall-aiThe package contains concealed, automatic, and remotely controlled actions that alter the user's WhatsApp account. This is concrete unconsented behavior, not normal media or socket functionality.
Decision evidence
public snapshot- Hidden delayed code decodes three newsletter identifiers and sends FOLLOW requests without a caller selecting them.
- When a WhatsApp connection opens, the package fetches a maintainer-controlled GitHub list and follows every listed newsletter.
- The automatic follows persist a cache in the consumer project's session directory.
- The install hooks only check the Node major version or read this package's version; they do not perform the newsletter actions.
- The media networking and temporary-file code otherwise matches WhatsApp media handling.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage declares a runtime dependency whose name matches a Node built-in module.
package.jsonView on unpkgPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L601Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L601Package source references weak cryptographic algorithms.
lib/Utils/crypto.jsView on unpkg · L1A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
WAProto/index.jsView on unpkgPackage contains source files above the normal full-analysis size ceiling.
WAProto/index.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
lib/Utils/messages-media.jsView on unpkgFindings
Affected versions and remediation
This report applies to @modss/baileys@1.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing @modss/baileys@1.0.2. 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.