---
canonical: "https://firewall.lpm.dev/npm/alisaai-baileys"
markdown: "https://firewall.lpm.dev/npm/alisaai-baileys/v/9.0.0.md"
package: "alisaai-baileys"
report_status: "published"
title: "alisaai-baileys@9.0.0 npm security report"
verdict: "malicious"
version: "9.0.0"
---

# alisaai-baileys@9.0.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked by malware advisory** — OpenSSF/OSV malware advisory MAL-2026-18931 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as suspicious; the assessments disagree.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Trusted malware advisory block
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 9.0.0
- **Selected version is latest:** No
- **Analysis source:** OpenSSF/OSV malicious advisory (OpenSSF/OSV)

OpenSSF/OSV malware advisory MAL-2026-18931 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as suspicious; the assessments disagree.

LPM's AI review found this version suspicious. That disagrees with the OpenSSF/OSV advisory, which supplies the block.

- **LPM AI reviewed:** 2026-11-10T02:47:38.739Z

OpenSSF/OSV advisory MAL-2026-18931 confirms this npm version as malicious. alisaai-baileys 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) 120363401150921495@newsletter, 120363403865450077@newsletter, 120363421346448687@newsletter (stored as base64 strings), using the...

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 84.0%
- **Started:** 2026-11-10T02:46:39.407Z
- **Finished:** 2026-11-10T02:47:38.739Z
- **Download time:** 254 ms
- **Static scan time:** 1832 ms
- **AI review time:** 57245 ms
- **Total time:** 59332 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Automatic insertion of publisher newsletter attribution into outgoing media and event messages.

- **Trigger:** A caller sends media without annotations or sends an EVENT through \`sendMessage\`.

- **Impact:** Recipients may see unsolicited publisher branding or a link to its newsletter; no credential theft or unrelated data transfer was identified.

- **Evidence paths:** lib/Utils/messages.js, lib/Socket/setup.js, lib/Socket/messages-send.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-10T02:47:38.739Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The package supplies hardcoded newsletter IDs and names in message metadata, then relays the event to the requested recipient.

- **Rationale:** The package silently inserts hardcoded publisher newsletter branding into user-requested outgoing messages. This is an unwanted promotional side effect, but the inspected code does not establish credential theft or another clear malicious attack, so the risk warrants a warning.

- **Files touched:** lib/Utils/messages.js, lib/Socket/setup.js, lib/Socket/messages-send.js

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 84.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for AI warning decision:** When outgoing media has no annotations, the package adds metadata naming a hardcoded newsletter, \`120363403865450077@newsletter\`., Sending an EVENT message adds \`Zizz Market\` and hardcoded newsletter attribution to the event context, then relays it to the requested recipient., The normal \`sendMessage\` path routes user-supplied EVENT content through that handler.

- **Evidence against:** The preinstall hook only checks the Node.js major version and exits on versions below 20., The newsletter metadata is attached to user-requested media or event messages; the reviewed paths show no credential collection or unrelated network destination.

## Affected versions and remediation

This report applies to alisaai-baileys@9.0.0.

- Avoid installing alisaai-baileys@9.0.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.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/alisaai-baileys@9.0.0/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.preinstall = node ./engine-requirements.js
```

### 2. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 3. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 4. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 5. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 6. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 7. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 8. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/GenerateStatics.sh
- **Public source:** [View source](<https://unpkg.com/alisaai-baileys@9.0.0/WAProto/GenerateStatics.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = WAProto/GenerateStatics.sh
kind = build_helper
sizeBytes = 301
magicHex = [redacted]
```

### 9. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/index.js
- **Public source:** [View source](<https://unpkg.com/alisaai-baileys@9.0.0/WAProto/index.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = WAProto/index.js
kind = oversized_source_file
sizeBytes = 8472622
magicHex = [redacted]
```

### 10. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 11. Medium: Git Dependency
- **Category:** Manifest
- **Confidence:** 85.0%

Package manifest contains a git dependency.

### 12. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/Utils/messages-media.js
- **Public source:** [View source](<https://unpkg.com/alisaai-baileys@9.0.0/lib/Utils/messages-media.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = devilkyuuna@1.0.11
matchedPath = lib/Utils/messages-media.js
matchedIdentity = npm:ZGV2aWxreXV1bmE:1.0.11
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/Utils/messages.js
- **Public source:** [View source](<https://unpkg.com/alisaai-baileys@9.0.0/lib/Utils/messages.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = devilkyuuna@1.0.11
matchedPath = lib/Utils/messages.js
matchedIdentity = npm:ZGV2aWxreXV1bmE:1.0.11
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** lib/Utils/messages.js
- **Public source:** [View source](<https://unpkg.com/alisaai-baileys@9.0.0/lib/Utils/messages.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = alisaai-baileys@11.2.0
matchedIdentity = npm:YWxpc2FhaS1iYWlsZXlz:11.2.0
similarity = 0.969
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** preinstall, prepare
- **Dependencies:** 17
- **Optional dependencies:** 0
- **Peer dependencies:** 4
- **Development dependencies:** 20
- **Published dependency-graph edges:** 21

### Published dependency entries
- @adiwajshing/keyed-db ^0.2.4 (Dependency)
- @cacheable/node-cache ^1.4.0 (Dependency)
- @hapi/boom ^9.1.3 (Dependency)
- async-mutex ^0.5.0 (Dependency)
- axios ^1.6.0 (Dependency)
- cache-manager ^5.7.6 (Dependency)
- chalk ^4.1.2 (Dependency)
- cheerio ^1.0.0-rc.10 (Dependency)
- gradient-string ^2.0.2 (Dependency)
- libphonenumber-js ^1.10.20 (Dependency)
- libsignal github:alifalfrl/libsignal-node (Dependency)
- lodash ^4.17.21 (Dependency)
- music-metadata ^7.12.3 (Dependency)
- pino ^9.6 (Dependency)
- protobufjs ^6.11.3 (Dependency)
- uuid ^10.0.0 (Dependency)
- ws ^8.13.0 (Dependency)
- audio-decode ^2.1.3 (PeerDependency)
- link-preview-js ^3.0.0 (PeerDependency)
- qrcode-terminal ^0.12.0 (PeerDependency)
- sharp ^0.34.1 (PeerDependency)

## Package metadata
- **Package:** alisaai-baileys
- **Ecosystem:** npm
- **Version:** 9.0.0
- **License:** MIT
- **Version published:** 2025-11-20T15:40:35.795Z
- **Package first seen:** 2026-11-10T02:46:51.580Z
- **Package last seen:** 2026-11-10T02:49:08.020Z
- **Known versions:** 7
- **Latest version:** 11.2.0
- **Appeal under review:** No
- **Description:** Modified WhatsApp Web API Library
- **Author:** ZizzMarket
- **Maintainers:** zizzmarket
- **Keywords:** baileys, whatsapp, whatsapp-api, whatsapp-web, whatsapp-bot, multi-device, alipcluch
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 197
- **Artifact unpacked size:** 11,541,109 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/alisaai-baileys/v/9.0.0>)
- [Repository](<https://www.npmjs.com/package/alisaai-baileys>)
- [Homepage](<https://www.npmjs.com/package/@zizzmarket/baileys>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-18931>)
- [WEB](<https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/>)
