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

# hiura@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 by malware advisory** — OpenSSF/OSV malware advisory MAL-2026-18979 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.0.1
- **Selected version is latest:** Yes
- **Analysis source:** OpenSSF/OSV malicious advisory (OpenSSF/OSV)

OpenSSF/OSV malware advisory MAL-2026-18979 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:17:12.088Z

OpenSSF/OSV advisory MAL-2026-18979 confirms this npm version as malicious. hiura 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 a list downloaded at runtime from https://github.com/kagarii/Screaper/blob/main/idChannel.json, using the victim's authenticated session and without telling...

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-11-10T02:16:20.457Z
- **Finished:** 2026-11-10T02:17:12.088Z
- **Download time:** 513 ms
- **Static scan time:** 3834 ms
- **AI review time:** 47283 ms
- **Total time:** 51631 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 newsletter-follow behavior is started when the WhatsApp socket is constructed.

- **Trigger:** A caller creates the package's normal WhatsApp socket; the follow attempt is scheduled for 80 seconds later.

- **Impact:** If the response is valid JSON, the user's WhatsApp account follows publisher-selected newsletters without an explicit request. The \`/blob/\` URL likely returns HTML, which may prevent the follow loop from running.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-11-10T02:17:12.088Z

### AI review details

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

- **Mechanism:** The package fetches newsletter IDs from a fixed GitHub URL, parses the response as JSON, and sends a WhatsApp follow query for each ID.

- **Rationale:** The package wires an automatic newsletter-follow attempt into normal socket construction, using IDs from a fixed publisher-selected URL. The URL appears to return HTML rather than JSON, making successful follows uncertain; this is a suspicious account-action capability rather than a confirmed attack.

- **Files touched:** lib/Socket/newsletter.js

- **Network endpoints:** https://github.com/kagarii/Screaper/blob/main/idChannel.json

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for AI warning decision:** Creating the normal WhatsApp socket constructs the newsletter socket, which schedules a delayed fetch and attempts to follow every returned newsletter ID automatically., The follow request uses the WhatsApp newsletter follow operation without a user request or consent check.

- **Evidence against:** The ID list is fetched from a GitHub \`/blob/\` page and parsed as JSON; that page normally returns HTML, so the automatic follow may fail before any follow request is sent., The manifest has no install lifecycle scripts.

## Affected versions and remediation

This report applies to hiura@1.0.1.

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

Package declares npm scripts.

### 2. High: High Secret
- **Category:** Secrets
- **Confidence:** 85.0%
- **Path:** lib/WABinary/constants.js
- **Public source:** [View source](<https://unpkg.com/hiura@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 = 601
```

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

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: //=======================================================//
L2: import { createCipheriv, createDecipheriv, createHash, createHmac, randomBytes } from "crypto";
L3: import { KEY_BUNDLE_TYPE } from "../Defaults/index.js";
...
L11: return {
L12: private: Buffer.from(privKey),
L13: public: Buffer.from(pubKey.slice(1))
```

### 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: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** WAProto/index.js
- **Public source:** [View source](<https://unpkg.com/hiura@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 = 4263226
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. Medium: Git Dependency
- **Category:** Manifest
- **Confidence:** 85.0%

Package manifest contains a git dependency.

### 11. Medium: Wildcard Dependency
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

### 12. High: Node Builtin Dependency Squat
- **Category:** Manifest
- **Confidence:** 86.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/hiura@1.0.1/package.json>)

Package declares a runtime dependency whose name matches a Node built-in module.

Public source snippet (untrusted):

```json
Runtime dependency names matching Node built-ins: fs, os, path, readline
```

### 13. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** WAProto/index.js
- **Public source:** [View source](<https://unpkg.com/hiura@1.0.1/WAProto/index.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_path_work_budget_exceeded; limitedFiles = 4
```

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

### 15. High: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** lib/WABinary/constants.js
- **Public source:** [View source](<https://unpkg.com/hiura@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 = 601
```

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

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

### Published dependency entries
- @cacheable/node-cache \* (Dependency)
- @hapi/boom \* (Dependency)
- @whiskeysockets/eslint-config github:whiskeysockets/eslint-config (Dependency)
- async-mutex \* (Dependency)
- axios \* (Dependency)
- cache-manager \* (Dependency)
- figlet \* (Dependency)
- fs \* (Dependency)
- gradient-string 2.0.2 (Dependency)
- libsignal-xeuka \* (Dependency)
- lodash \* (Dependency)
- lru-cache \* (Dependency)
- moment-timezone \* (Dependency)
- music-metadata \* (Dependency)
- os \* (Dependency)
- p-queue \* (Dependency)
- path \* (Dependency)
- pbjs ^0.0.14 (Dependency)
- pino \* (Dependency)
- protobufjs \* (Dependency)
- readline \* (Dependency)
- ws \* (Dependency)
- audio-decode \* (PeerDependency)
- jimp \>=0.16.0 (PeerDependency)
- link-preview-js \* (PeerDependency)

## Package metadata
- **Package:** hiura
- **Ecosystem:** npm
- **Version:** 1.0.1
- **License:** MIT
- **Version published:** 2026-02-26T15:52:39.543Z
- **Package first seen:** 2026-11-10T02:17:12.088Z
- **Package last seen:** 2026-11-10T02:17:12.088Z
- **Known versions:** 1
- **Latest version:** 1.0.1
- **Appeal under review:** No
- **Description:** Websocket Whatsapp API for Node.js
- **Author:** kynna
- **Maintainers:** kyunna
- **Keywords:** whatsapp, websocket, api, nodejs, baileys, wabot, proto, whatsapp-websocket
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 106
- **Artifact unpacked size:** 5,627,363 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/hiura>)
- [Repository](<https://github.com/kynna/Baileys>)
- [Issues](<https://github.com/kynna/Baileys/issues>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-18979>)
- [PACKAGE](<https://www.npmjs.com/package/hiura>)
- [WEB](<https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/>)
