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

# kevinx-baileys@1.2.1 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-18688 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:** 1.2.1
- **Selected version is latest:** No
- **Analysis source:** OpenSSF/OSV Malicious Advisory (OpenSSF/OSV)

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

Independent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.

OpenSSF/OSV advisory MAL-2026-18688 confirms this npm version as malicious. kevinx-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) 120363408893555851@newsletter, 120363424295522327@newsletter, 120363426470081124@newsletter, 120363427718144294@newsletter (stored...

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 79.0%
- **Started:** 2026-11-05T07:08:03.563Z
- **Finished:** 2026-11-05T07:09:30.415Z
- **Download time:** 3341 ms
- **Static scan time:** 1108 ms
- **AI review time:** 82402 ms
- **Total time:** 86852 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:** A socket helper discloses the supplied phone number to a hard-coded third-party host when explicitly called.

- **Trigger:** A caller invokes checkBan(number) on a created socket.

- **Impact:** The external service receives the phone number; the source does not establish who operates the host or how it handles the number.

- **Evidence paths:** kevinx-baileys/lib/Socket/socket.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-05T07:09:30.415Z

### AI review details

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

- **Mechanism:** The helper strips non-digits and sends the number in a GET request to https://kyuux-r.indevs.in/api/check-whatsapp?phone=….

- **Rationale:** The checkBan helper sends a caller-supplied phone number to a hard-coded host outside WhatsApp, with no source explanation of the service relationship or data handling. The request is explicit rather than automatic, so this is a privacy risk warranting a warning, not evidence of malicious behavior.

- **Network endpoints:** https://kyuux-r.indevs.in/api/check-whatsapp?phone={normalizedNumber}

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 79.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for AI warning decision:** Calling the exposed checkBan(number) helper sends the normalized phone number to the hard-coded host kyuux-r.indevs.in in a GET query., The helper is returned on the socket for callers to invoke; its request is not limited to WhatsApp endpoints.

- **Evidence against:** The preinstall hook only checks the Node.js major version and exits when it is below 20., Import prints a banner; its update check runs only when KEVINX\_CHECK\_UPDATE is enabled.

## Affected versions and remediation

This report applies to kevinx-baileys@1.2.1.

- Avoid installing kevinx-baileys@1.2.1. 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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: High Secret
- **Category:** Secrets
- **Confidence:** 85.0%
- **Path:** kevinx-baileys/lib/WABinary/constants.js
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx-baileys/lib/WABinary/constants.js>)

Package contains a high-severity secret pattern.

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 600
```

### 3. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** kevinx-baileys/lib/Utils/validate-connection.js
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx-baileys/lib/Utils/validate-connection.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L107: pull: false,
L108: devicePairingData: {
L109: buildHash: appVersionBuf,
...
L134: const { details, hmac, accountType } = proto.ADVSignedDeviceIdentityHMAC.decode(deviceIdentityNode.content);
L135: let hmacPrefix = Buffer.from([]);
L136: if (accountType !== undefined && accountType === proto.ADVEncryptionType.HOSTED) {
...
L158: ]);
L159: account.deviceSignature = Curve.sign(signedIdentityKey.private, deviceMsg);
L160: const identity = createSignalIdentity(lid, accountSignatureKey);
```

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

Package source references network APIs.

### 5. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = kevinx-baileys/WAProto/GenerateStatics.sh
kind = build_helper
sizeBytes = 302
magicHex = [redacted]
```

### 10. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** kevinx\_baileys\_v1\_2\_1-1.2.1.tgz
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx_baileys_v1_2_1-1.2.1.tgz>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = kevinx_baileys_v1_2_1-1.2.1.tgz
kind = compressed_blob
sizeBytes = 1520880
magicHex = [redacted]
```

### 11. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** kevinx\_baileys\_v1\_2\_1-1.2.1.tgz
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx_baileys_v1_2_1-1.2.1.tgz>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = kevinx_baileys_v1_2_1-1.2.1.tgz
kind = high_entropy_blob
sizeBytes = 1520880
magicHex = [redacted]
```

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

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

Public source snippet (untrusted):

```javascript
path = kevinx-baileys/WAProto/index.js
kind = oversized_source_file
sizeBytes = 12145764
magicHex = [redacted]
```

### 13. Low: Nested Archive Needs Inspection
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** kevinx\_baileys\_v1\_2\_1-1.2.1.tgz
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx_baileys_v1_2_1-1.2.1.tgz>)

Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.

Public source snippet (untrusted):

```text
path = kevinx_baileys_v1_2_1-1.2.1.tgz
kind = nested_archive_needs_inspection
sizeBytes = 1520880
magicHex = [redacted]
```

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

### 15. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** kevinx-baileys/lib/Utils/business.js
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx-baileys/lib/Utils/business.js>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 3
```

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

### 17. High: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** kevinx-baileys/lib/WABinary/constants.js
- **Public source:** [View source](<https://unpkg.com/kevinx-baileys@1.2.1/kevinx-baileys/lib/WABinary/constants.js>)

Google API key in kevinx-baileys/lib/WABinary/constants.js

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 600
```

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

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

## Package metadata
- **Package:** kevinx-baileys
- **Ecosystem:** npm
- **Version:** 1.2.1
- **License:** ISC
- **Version published:** 2026-10-30T08:14:03.018Z
- **Package first seen:** 2026-11-05T07:09:30.415Z
- **Package last seen:** 2026-11-05T07:09:48.710Z
- **Known versions:** 3
- **Latest version:** 1.2.2
- **Appeal under review:** No
- **Maintainers:** kevinxxcccc
- **Artifact files:** 150
- **Artifact unpacked size:** 19,431,166 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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