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

# @aboutdisz/baileys@1.0.13 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-18803 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; 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:** 1.0.13
- **Selected version is latest:** Yes
- **Analysis source:** OpenSSF/OSV malicious advisory (OpenSSF/OSV)

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

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

- **LPM AI reviewed:** 2026-11-10T03:08:01.763Z

OpenSSF/OSV advisory MAL-2026-18803 confirms this npm version as malicious. @aboutdisz/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) 120363303656790201@newsletter (stored as base64 strings), using the victim's authenticated session and without telling them...

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 89.0%
- **Started:** 2026-11-10T03:07:18.339Z
- **Finished:** 2026-11-10T03:08:01.763Z
- **Download time:** 1013 ms
- **Static scan time:** 2076 ms
- **AI review time:** 40333 ms
- **Total time:** 43424 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:** No attack was identified. The reviewed code provides WhatsApp messaging and media upload functionality.

- **Trigger:** Application import prints a banner; sending media or an event message triggers the corresponding helper.

- **Impact:** No automatic credential collection, unrelated transmission, or unsolicited account action was found in the reviewed paths.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-10T03:08:01.763Z

### AI review details

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

- **Mechanism:** Media uploads use WhatsApp-provided host and auth details. The hard-coded newsletter ID is included in event-message metadata, while the message itself is relayed to the caller-supplied JID.

- **Rationale:** The flagged media code handles media processing and uploads through WhatsApp-provided connection details. The hard-coded newsletter ID is message metadata in a helper called for an explicitly supplied event message, and the reviewed code does not show an unsolicited account action.

- **Files touched:** lib/index.js, lib/Socket/messages-send.js, lib/Socket/dugong.js, lib/Utils/messages-media.js

- **Network endpoints:** https://${hostname}${media}/${fileEncSha256B64} (hostname supplied by the WhatsApp media connection)

### Review decision

- **Verdict:** Clean

- **Confidence:** 89.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The package manifest points to lib/index.js and declares no lifecycle scripts., The hard-coded newsletter ID appears in event-message metadata; event handling is dispatched only when sendMessage receives content detected as an event., Media uploads use an auth token and host supplied by the WhatsApp media connection flow.

- **Evidence against:** Importing lib/index.js prints a package banner to the console., The package includes helpers that construct and relay WhatsApp message types, including event messages.

## Affected versions and remediation

This report applies to @aboutdisz/baileys@1.0.13.

- Avoid installing @aboutdisz/baileys@1.0.13. 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. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 5. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/GenerateStatics.sh
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/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]
```

### 6. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/index.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/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]
```

### 7. 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.

### 8. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/Utils/messages-media.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/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 = nyttt-baileys@1.0.1
matchedPath = lib/Utils/messages-media.js
matchedIdentity = npm:bnl0dHQtYmFpbGV5cw:1.0.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 9. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/Utils/messages.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/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 = @yun-xiao/baileys@2.0.0
matchedPath = lib/Utils/messages.js
matchedIdentity = npm:QHl1bi14aWFvL2JhaWxleXM:2.0.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 10. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** lib/Utils/messages-media.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/lib/Utils/messages-media.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = 473d45566fa1a32f
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = @aboutdisz/baileys@1.0.12
matchedPath = lib/Utils/messages-media.js
matchedIdentity = npm:QGFib3V0ZGlzei9iYWlsZXlz:1.0.12
similarity = 1.000
shingleOverlap = 68
summary = package final verdict is malicious
```

### 11. High: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 89.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/package.json>)

The package manifest points to lib/index.js and declares no lifecycle scripts.

Public source snippet (untrusted):

```json
"main": "lib/index.js",
  "dependencies": {
    "@adiwajshing/keyed-db": "^0.2.4",
    "@cacheable/node-cache": "^3.1.1",
    "@hapi/boom": "^9.1.4",
    "async-mutex": "^0.5.0",
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 89.0%
- **Path:** lib/Socket/messages-send.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.13/lib/Socket/messages-send.js>)

The hard-coded newsletter ID appears in event-message metadata; event handling is dispatched only when sendMessage receives content detected as an event.

Public source snippet (untrusted):

```javascript
case 'EVENT':
                        return await rahmi.handleEvent(content, jid, quoted)
                    case 'POLL_RESULT':
                        return await rahmi.handle
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 25
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 25

### Published dependency entries
- @adiwajshing/keyed-db ^0.2.4 (Dependency)
- @cacheable/node-cache ^3.1.1 (Dependency)
- @hapi/boom ^9.1.4 (Dependency)
- async-mutex ^0.5.0 (Dependency)
- audio-decode ^2.1.3 (Dependency)
- axios ^1.6.8 (Dependency)
- cache-manager ^5.7.6 (Dependency)
- crypto-js ^4.2.0 (Dependency)
- eventemitter3 ^5.0.4 (Dependency)
- fflate ^0.8.2 (Dependency)
- file-type ^16.5.4 (Dependency)
- futoin-hkdf ^1.5.3 (Dependency)
- jimp ^0.22.12 (Dependency)
- libsignal ^2.0.1 (Dependency)
- link-preview-js ^3.2.0 (Dependency)
- lodash ^4.18.1 (Dependency)
- long ^5.3.2 (Dependency)
- music-metadata ^7.14.0 (Dependency)
- node-cache ^5.1.2 (Dependency)
- node-fetch ^2.7.0 (Dependency)
- pino ^9.6.0 (Dependency)
- protobufjs ^7.6.6 (Dependency)
- qrcode-terminal ^0.12.0 (Dependency)
- uuid ^14.0.3 (Dependency)
- ws ^8.22.0 (Dependency)

## Package metadata
- **Package:** @aboutdisz/baileys
- **Ecosystem:** npm
- **Version:** 1.0.13
- **License:** MIT
- **Version published:** 2026-10-11T04:29:18.277Z
- **Package first seen:** 2026-11-10T03:08:01.763Z
- **Package last seen:** 2026-11-10T03:15:22.702Z
- **Known versions:** 12
- **Latest version:** 1.0.13
- **Appeal under review:** No
- **Description:** Fork Baileys by aboutdisz
- **Author:** aboutdisz
- **Maintainers:** aboutdisz
- **Artifact files:** 199
- **Artifact unpacked size:** 11,553,122 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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