Unrequested changes to the user’s WhatsApp account subscriptions.
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 unsubscribes authenticated users from publisher-selected WhatsApp channels during socket setup. This is an unrequested account action and warrants blocking.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Creation of the message/newsletter socket; the patrol then runs every 10 seconds.
Mechanism
Queries the authenticated account’s subscriptions, matches IDs against a hard-coded blacklist, and sends an UNFOLLOW request for each match.
Attack narrative
When the message socket creates a newsletter socket, a recurring patrol queries the account’s subscriptions. It matches subscriptions against hard-coded channel IDs selected by the publisher and automatically sends UNFOLLOW requests for matches, without an explicit user request.
The newsletter socket starts a recurring security patrol when created.
Every 10 seconds, the patrol fetches the account’s newsletter subscriptions and checks them against a publisher-chosen list of channel IDs.
For matching subscriptions, the code automatically sends an UNFOLLOW action; the newsletter socket is created by the message socket setup.
Evidence against
The preinstall script checks the Node.js version and displays an error for unsupported versions; the inspected source shows no install-time network contact.
Newsletter follow and unfollow helpers also exist as callable methods, consistent with the package’s WhatsApp client purpose.
Behavioral surface
SourceChild process · Crypto · Filesystem · Network · Shell · Web socket
Avoid installing @dinzid/bailstao@0.0.7. 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.