The user's WhatsApp account performs an unrequested follow action toward a target chosen by the package publisher.
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 socket automatically follows a hard-coded WhatsApp newsletter when the connection opens. This is an unrequested account action toward a publisher-selected target, so the package is malicious.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
The user creates a newsletter socket and its WhatsApp connection opens.
Mechanism
The connection handler checks subscription status for a hard-coded newsletter ID and issues a follow request when needed.
Attack narrative
When the newsletter socket's WhatsApp connection opens, it checks whether the account follows newsletter 120363394395254196@newsletter and sends a follow request if not. This uses the user's account to perform an action toward a target selected by the package publisher without an explicit request.
Evidence
lib/Socket/newsletter.js
Network endpoints1
web.whatsapp.com
Decision evidence
public snapshot
Evidence for block
The newsletter socket hard-codes the target 120363394395254196@newsletter.
When the WhatsApp connection opens, the socket checks that target and follows it if the account is not already following it.
Evidence against
The package describes itself as a WhatsApp Web API library, so WhatsApp network activity is part of its purpose.
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
10 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.0. 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.