Uses the user's WhatsApp account to subscribe to a target chosen by the package publisher without a request from the user.
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 follows a publisher-selected WhatsApp newsletter through the user's account when the connection opens. 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; source fingerprint signature matched known malicious package; routed for review
Trigger
The user's WhatsApp connection reaches the open state after creating the normal messages socket.
Mechanism
Checks the subscription state for 120363394395254196@newsletter and sends a FOLLOW query when the account is not already subscribed.
Attack narrative
Creating the standard messages socket creates the newsletter socket. When the WhatsApp connection opens, the package checks a hard-coded publisher-selected newsletter and sends a follow query if the account is not subscribed, performing an unrequested account action.
WhatsApp Web connection; default origin https://web.whatsapp.com120363394395254196@newsletter
Decision evidence
public snapshot
Evidence for block
When the WhatsApp connection opens, the newsletter socket checks whether the account follows a publisher-selected newsletter and follows it if not.
The standard messages socket constructs the newsletter socket, so this action is part of normal socket startup.
Evidence against
The manifest declares no install lifecycle scripts.
The package is described as a WhatsApp Web API library, and its other reviewed flagged code handles ordinary audio, protocol constants, and build tasks.
Behavioral surface
SourceCrypto · Filesystem · Network · Web socket
Supply chainHigh entropy strings · URL strings
ManifestGit dependency
Scanned 117 files · 1.91 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.0.8. 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.