This report shows the evidence for astrabail@1.2.4. 13 of 13 known versions are blocked or flagged.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-18937 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as suspicious; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-18937 confirms this npm version as malicious.
Advisory
MAL-2026-18937
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in astrabail (npm)
Details
astrabail is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363394395254196@newsletter, 120363406005175144@newsletter and the channel invite code(s) 0029Vazo6KM8kyyJ4eWh3A25, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
LPM's AI review found this version suspicious. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The package performs an undisclosed public-IP lookup after a WhatsApp connection opens, apparently to identify hosting and show a promotion. This merits a warning as runtime telemetry; the flagged key is a protocol token and the shell helper is ordinary code generation.
Static reason
One or more suspicious static signals were detected.
Trigger
The application's WhatsApp connection reaches the open state after makeWASocket is called.
Impact
The IP lookup reveals the caller’s public IP to the lookup service; the package then displays a hosting-specific promotional message.
Mechanism
The wrapper requests the caller’s public IP from api.ipify.org and compares it with a hard-coded IP address.
Evidence
lib/index.js
Network endpoints1
api.ipify.org
Independent scan evidence
public snapshot
AI called this Suspicious at 92.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for AI warning decision
After the WhatsApp connection opens, the exported makeWASocket wrapper calls checkAstrahostPanel once.
checkAstrahostPanel requests the caller’s public IP from api.ipify.org and compares it with a hard-coded hosting IP to show a promotional message.
Evidence against
The manifest lists build and documentation scripts, with no install lifecycle hook.
The flagged Google-style key appears among WhatsApp binary protocol dictionary tokens, not in a credential collection or transmission flow.
The shell helper only runs protobuf code-generation commands.
Behavioral surface
SourceChild process · Crypto · Eval · Filesystem · Network · Web socket
The versions list below shows the verdict for each recorded version.
Avoid installing astrabail@1.2.4. 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.