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

# bungoma@1.0.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 & quarantined** — No unconsented install-time action, persistence, harvesting, or exfiltration established.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.0.1
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

Trusted malware advisory MAL-2026-17389 identifies this version as malicious. Firewall keeps the version blocked under its trusted-intelligence policy. An AI recommendation to allow or warn does not override that advisory.

AI assessment: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

No confirmed malicious attack surface. Network and file operations are runtime WhatsApp messaging/media functions invoked through the library API.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 96.0%
- **Started:** 2026-09-30T10:34:05.816Z
- **Finished:** 2026-09-30T10:35:08.617Z
- **Download time:** 509 ms
- **Static scan time:** 1904 ms
- **AI review time:** 60387 ms
- **Total time:** 62801 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 confirmed malicious attack surface. Network and file operations are runtime WhatsApp messaging/media functions invoked through the library API.

- **Trigger:** Consumer creates a WhatsApp socket or requests media processing.

- **Impact:** No unconsented install-time action, persistence, harvesting, or exfiltration established.

- **Evidence paths:** package.json, lib/index.js, lib/Defaults/index.js, lib/Socket/socket.js, lib/Utils/messages-media.js, lib/Utils/messages.js, lib/Utils/use-multi-file-auth-state.js, lib/Utils/generics.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-30T10:35:08.617Z

### AI review details

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

- **Mechanism:** WhatsApp WebSocket communication and encrypted media handling.

- **Rationale:** The suspicious primitives are confined to expected, user-invoked WhatsApp media and connection functionality. Source inspection found no lifecycle execution or concrete malicious chain.

- **Network endpoints:** wss://web.whatsapp.com/ws/chat, https://mmg.whatsapp.net/, https://raw.githubusercontent.com/WhiskeySockets/Baileys/master/src/Defaults/baileys-version.json

### Review decision

- **Verdict:** Clean

- **Confidence:** 96.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** Media helper invokes ffmpeg through child\_process.exec., Audio helper uses eval only to dynamically import audio-decode., Runtime networking supports the declared WhatsApp Web client.

- **Evidence against:** package.json has no lifecycle scripts or bin entrypoint., Main entrypoint only exports socket, protocol, utility, and type modules., ffmpeg is called by video thumbnail generation using a generated temporary image path., No credential harvesting, environment access, persistence, or unsolicited exfiltration was found.

## Affected versions and remediation

This report applies to bungoma@1.0.1.

- Avoid installing bungoma@1.0.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. High: High Secret
- **Category:** Secrets
- **Confidence:** 85.0%
- **Path:** lib/WABinary/constants.js
- **Public source:** [View source](<https://unpkg.com/bungoma@1.0.1/lib/WABinary/constants.js>)

Package contains a high-severity secret pattern.

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 603
matchedText = 'AIzaSyD...Lk',
```

### 2. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** lib/Utils/messages-media.js
- **Public source:** [View source](<https://unpkg.com/bungoma@1.0.1/lib/Utils/messages-media.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L256: try {
L257: const { default: decoder } = await eval("import('audio-decode')");
L258: let audioData;
```

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

Package source references network APIs.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 7. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/GenerateStatics.sh
- **Public source:** [View source](<https://unpkg.com/bungoma@1.0.1/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 = 140
magicHex = [redacted]
```

### 8. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/index.js
- **Public source:** [View source](<https://unpkg.com/bungoma@1.0.1/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 = 8402651
magicHex = [redacted]
```

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

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

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

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

Google API key in lib/WABinary/constants.js

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 603
matchedText = 'AIzaSyD...Lk',
```

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

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

### Published dependency entries
- @cacheable/node-cache ^1.4.0 (Dependency)
- @hapi/boom ^9.1.3 (Dependency)
- async-mutex ^0.5.0 (Dependency)
- axios ^1.6.0 (Dependency)
- libsignal 6.0.0 (Dependency)
- lodash ^4.17.21 (Dependency)
- music-metadata ^7.12.3 (Dependency)
- node-fetch ^2.6.1 (Dependency)
- pino ^9.6 (Dependency)
- protobufjs ^7.2.4 (Dependency)
- ws ^8.13.0 (Dependency)

## Package metadata
- **Package:** bungoma
- **Ecosystem:** npm
- **Version:** 1.0.1
- **License:** MIT
- **Version published:** 2026-08-19T09:47:17.049Z
- **Package first seen:** 2026-09-30T10:35:08.617Z
- **Package last seen:** 2026-09-30T10:35:08.617Z
- **Known versions:** 2
- **Latest version:** 1.1.0
- **Appeal under review:** No
- **Description:** A lightweight, full-featured WhatsApp Web API library for Node.js
- **Author:** Ibrahim Adams
- **Maintainers:** ibraah
- **Keywords:** whatsapp, whatsapp-api, whatsapp-web, baileys, whatsapp-bot, messaging, chat
- **Artifact files:** 110
- **Artifact unpacked size:** 9,643,665 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/bungoma/v/1.0.1>)
- [Homepage](<https://bwmxmd.co.ke/>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-17389>)
- [ARTICLE](<https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/>)
