@ubedsockets/baileys@1.6.6
@ubedsockets/baileys,baileys A high-performance WhatsApp Web API wrapper based on Baileys, optimized for bot developers with integrated utility scrapers.
OpenSSF/OSV Malicious Advisory
imported 13h ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18600 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 a benign Node.js version check, but the album handler adds unexplained spoofed metadata to outgoing media. The source supports a real messaging-integrity concern, though not a concrete attack objective.
Independent scan evidence
public snapshot- The album handler generates and relays a separate media message for each album item to the supplied recipient.
- Those media messages are assigned spoofed forwarded, starred and status-broadcast metadata.
- The album media messages are relayed automatically when the album handler runs.
- The preinstall script only checks the Node.js major version and exits if it is below 20.
- The package entry exports the socket constructor and utilities; the flagged behavior is in a message handler.
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 @ubedsockets/baileys@1.6.6.
See all versions of @ubedsockets/baileys for other recorded verdicts.
- Avoid installing @ubedsockets/baileys@1.6.6. 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.