The user’s WhatsApp account is made to follow a channel they did not choose.
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 default socket connection performs an account action toward a hard-coded publisher-selected newsletter without a user request. This meets the malicious account-action rule even though the package has no install hook.
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-update handler checks subscription status for a hard-coded newsletter ID and sends a FOLLOW query when the account is not already following it.
Attack narrative
Creating the package’s ordinary socket stack constructs its newsletter socket. On connection open, that socket checks the user’s follow status for publisher-selected newsletter 120363394395254196@newsletter and automatically follows it if needed, using the connected WhatsApp account.
The package’s default socket stack constructs the newsletter socket when creating the message socket.
The newsletter socket hard-codes the publisher-selected target 120363394395254196@newsletter.
When a WhatsApp connection opens, the handler checks whether the account follows that target and issues a FOLLOW query if it does not.
The package describes itself as a WhatsApp Web API library, but the automatic follow is unrelated to a user-requested socket operation.
Evidence against
The manifest declares no install, preinstall, or postinstall lifecycle hooks.
The inspected media and protocol files contain ordinary WhatsApp library functionality; the scanner’s similarity and secret flags alone do not establish malicious behavior.
Behavioral surface
SourceCrypto · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency
Scanned 116 files · 1.92 MB of source
6 external domains referenced
call.whatsapp.com
mmg.whatsapp.net
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.0.10. 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.