This report shows the evidence for @bellachu/bails@0.0.2. 2 of 2 known versions are blocked or flagged.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-18809 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; 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-18809 confirms this npm version as malicious.
Advisory
MAL-2026-18809
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @bellachu/bails (npm)
Details
@bellachu/bails 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) 120363410388316963@newsletter, 120363428745722504@newsletter (stored as base64 strings), 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 clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The preinstall hook only enforces the declared Node.js requirement. The hardcoded newsletter ID is embedded in event-message metadata; the inspected send path routes messages to the caller-supplied recipient when the caller invokes the messaging API.
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 preinstall hook checks the Node.js version; messaging helpers run when the consumer calls them.
Impact
No unauthorized collection, external transmission, or unsolicited account action was identified.
Mechanism
The install hook checks the runtime version, while message handlers relay caller-supplied content to the recipient JID provided by the caller.
Independent scan evidence
public snapshot
AI called this Clean at 86.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The preinstall script only runs a Node.js version check and exits on versions below 20.
The newsletter ID appears as forwarded-message metadata in the event-message handler; the send path handles caller-provided content for the supplied recipient JID.
The package implements WhatsApp messaging and media utilities consistent with its declared purpose.
Evidence against
Behavioral surface
SourceChild process · Crypto · Filesystem · Network · Shell · Web socket
Supply chainHigh entropy strings · URL strings
ManifestNo manifest risk signals triggered.
Scanned 108 files · 1.80 MB of source
5 external domains referenced
call.whatsapp.com
raw.githubusercontent.com
wa.me
web.whatsapp.com
www.whatsapp.com
Oversized source lightweight scan
WAProto/index.js11.6 MB file, sampled 256 KB
No sampled risky behavior triggered.
Findings
6 high · 4 medium · 6 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
The versions list below shows the verdict for each recorded version.
Avoid installing @bellachu/bails@0.0.2. 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.