Changes the user's WhatsApp account by subscribing it to a publisher-selected newsletter without a user 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 connected WhatsApp account to follow a hard-coded newsletter when its socket opens. This is an unsolicited account action toward a target selected by the package, so it is malicious.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The application creates the normal socket and its WhatsApp connection opens.
Mechanism
A connection handler checks whether the account follows newsletter 120363394395254196@newsletter and sends a FOLLOW request if it does not.
Attack narrative
When the app creates its regular message socket and the WhatsApp connection opens, the package checks a hard-coded newsletter and automatically sends a follow request if the account is not already subscribed. This uses the user's connected account to take an unsolicited action toward a target selected in package code.
The package entry point exposes the WhatsApp socket API.
Newsletter socket creation registers a handler that follows a hard-coded newsletter when the connection opens and the account is not already following it.
The normal message socket constructs the newsletter socket, so this action is part of the regular socket path.
The default WhatsApp origin is https://web.whatsapp.com.
Evidence against
The manifest declares no install, preinstall, or postinstall hook.
The follow request uses the WhatsApp socket protocol, consistent with the package's stated WhatsApp library purpose.
Behavioral surface
SourceCrypto · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency
Scanned 116 files · 1.92 MB of source
7 external domains referenced
call.whatsapp.com
mmg.whatsapp.net
nodejs.org
raw.githubusercontent.com
web.whatsapp.com
wppconnect.io
www.whatsapp.com
Oversized source lightweight scan
WAProto/index.js4.27 MB file, sampled 256 KB
No sampled risky behavior triggered.
Findings
9 high · 5 medium · 4 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing astrabail@1.1.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.