The user's WhatsApp account is subscribed to a target chosen by the package publisher without the user's request.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
The package automatically uses the user's WhatsApp account to follow a publisher-selected newsletter whenever its messages socket is created. This is an unrequested account action and warrants blocking publication.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Creating the messages socket; the follow request runs after a one-second timer.
Mechanism
makeMessagesSocket creates makeNewsletterSocket, which schedules a FOLLOW query for newsletter 120363399205146445@newsletter with subscribed set to true.
Attack narrative
When an application creates the package's messages socket, the package creates its newsletter socket and schedules a WhatsApp FOLLOW query one second later. The query subscribes the authenticated account to the hard-coded publisher-selected newsletter 120363399205146445@newsletter without requiring the user to request that action.
Creating the messages socket creates the newsletter socket, which schedules an automatic follow request to publisher-selected newsletter 120363399205146445@newsletter one second later.
The follow request sets subscribed: true and runs without an explicit user request.
Evidence against
The preinstall hook only checks the Node.js major version and exits if it is below 20.
The package otherwise presents itself as a WhatsApp API library, so socket and WhatsApp network activity fit its stated purpose.
Behavioral surface
SourceChild process · Crypto · Filesystem · Network · Shell · Web socket
Avoid installing supun-baileyz@1.0.1. 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.