@denzz221/baileys@8.0.8
WhatsApp API Modification By denzz221
AI Security Review
scanned 1h ago · by lpm-firewall-aiThe package automatically follows a hard-coded WhatsApp newsletter when its normal client socket is created. This is an unrequested account action toward a target chosen by the publisher, so the package is malicious.
Decision evidence
public snapshot- Creating the newsletter socket schedules a request after 90 seconds to follow the hard-coded newsletter 120363400780200098@newsletter.
- The normal message-socket constructor calls makeNewsletterSocket, so the scheduled action runs when the client socket is created.
- The hard-coded request uses QueryIds.FOLLOW, which is defined as the FOLLOW query.
- The package is a WhatsApp API library, so connecting to WhatsApp and implementing user-requested newsletter actions fit its purpose.
- The preinstall script only checks that Node.js is version 20 or newer; prepare is empty.
Source & flagged code
5 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains source files above the normal full-analysis size ceiling.
WAProto/index.jsView on unpkgFindings
Affected versions and remediation
This report applies to @denzz221/baileys@8.0.8.
See all versions of @denzz221/baileys for other recorded verdicts.
- Avoid installing @denzz221/baileys@8.0.8. 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.