@monze1239/baileys@1.0.0
A WebSockets library for interacting with WhatsApp Web.
OpenSSF/OSV Malicious Advisory
imported 3h ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18679 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
The install hook is only a Node version check, and the inspected GraphQL transport uses WhatsApp endpoints. However, message handlers automatically add fabricated forwarding/newsletter metadata to outgoing messages, creating a user-visible deception risk; the evidence does not establish a direct account action against the embedded channel targets.
Independent scan evidence
public snapshot- The `preinstall` script only checks the Node.js major version and exits on versions below 20.
- When `sendMessage` receives an album, it automatically routes it through `handleAlbum`.
- `handleAlbum` adds fabricated forwarded-newsletter and message-context metadata to each album item before relaying it.
- Other message handlers also embed hard-coded newsletter identifiers in outgoing message metadata.
- GraphQL requests target WhatsApp hosts and use a token acquired through the socket’s nonce exchange.
- The main entry point’s visible import-time behavior prints package branding; it does not show an automatic account action.
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 @monze1239/baileys@1.0.0.
See all versions of @monze1239/baileys for other recorded verdicts.
- Avoid installing @monze1239/baileys@1.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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.