---
canonical: "https://firewall.lpm.dev/npm/dsh-console-hm/v/0.5.96"
markdown: "https://firewall.lpm.dev/npm/dsh-console-hm/v/0.5.96.md"
package: "dsh-console-hm"
report_status: "published"
title: "dsh-console-hm@0.5.96 npm security report"
verdict: "suspicious"
version: "0.5.96"
---

# dsh-console-hm@0.5.96 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
**Flagged — allowed with a warning** — Allowed by default policy, but 15 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 0.5.96
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package automatically uploads stored phone push tokens to its cloud service at runtime, though its README describes local-network use as not depending on cloud services and does not disclose the upload. This appears connected to its push-notification feature, so it warrants a warning rather than a block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-21T15:13:57.053Z
- **Finished:** 2026-11-21T15:15:21.789Z
- **Download time:** 255 ms
- **Static scan time:** 2021 ms
- **AI review time:** 82458 ms
- **Total time:** 84736 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:** Undisclosed runtime upload of stored phone push tokens to the package’s cloud service.

- **Trigger:** When the DSH plugin starts, it schedules backfillTokensToCloud without an opt-in check.

- **Impact:** The cloud service receives device push tokens that can be used to deliver notifications, plus associated device identifiers when present.

- **Evidence paths:** lib/index.js, lib/cloud-link.mjs, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-11-21T15:15:21.789Z

### AI review details

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

- **Mechanism:** The package reads stored push tokens and registers them with its cloud service, associating them with the node ID and optionally device metadata.

- **Rationale:** The package automatically uploads stored phone push tokens to its cloud service at runtime, though its README describes local-network use as not depending on cloud services and does not disclose the upload. This appears connected to its push-notification feature, so it warrants a warning rather than a block.

- **Files touched:** lib/index.js, lib/cloud-link.mjs

- **Network endpoints:** https://gaoshou25.cn/api/cloud

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 91.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** On plugin startup, the package automatically backfills stored phone push tokens to its cloud service., The cloud registration sends each push token with the package node ID and may include device identifiers and model., The README says local-network use does not depend on cloud services, without disclosing this automatic token upload.

- **Evidence against:** The package’s stated purpose includes connecting its DSH desktop plugin to a phone app, and push notifications support that feature., The inspected Huawei push path uses a service account supplied by the user and sends notifications through Huawei’s OAuth and push APIs.

## Affected versions and remediation

This report applies to dsh-console-hm@0.5.96.

- Review the evidence and your use of dsh-console-hm@0.5.96 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** lib/lan-server.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/lan-server.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L7: import dgram from 'node:dgram'
L8: import { spawn } from 'node:child_process'
L9:
```

### 3. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** lib/custom-server.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/custom-server.mjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L5: 
L6: export const CUSTOM_CONFIG_PATH = path.join(os.homedir(), '.dsh', 'dsh-console-custom.json')
L7: 
...
L16: const parts = []
L17: try { parts.push(String(os.hostname() || '')) } catch (e) { }
L18: try {
...
L57: '【拿到机器信息后要做的（先看懂原理，别改方案）】',
L58: '1. 原理：我的电脑上跑着 DSH 和 dsh-console-plugin，插件在本机 127.0.0.1:8899 提供 HTTP 服务；插件内置 frpc 会主动连到你的服务器上的 frps，把服务器的一个公网端口转发回我电脑的 8899。手机 App 访问 http://服务器公网IP:公网端口 就等于访问我这台电脑。',
L59: '2. 服务器上只装 frps 就够：不用装 DSH、不用跑网页、不用域名、不用 HTTPS 证书、不用 Nginx/Caddy。',
...
L150: }
L151: const cfg = normalizeCustom(JSON.parse(fs.readFileSync(cfgPath, 'utf8')))
L152: return { ok: true, exists: true, cfg, error: '' }
```

### 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. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** lib/ffmpeg-bootstrap.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/ffmpeg-bootstrap.mjs>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L4: import { createHash } from 'node:crypto'
L5: import { spawn } from 'node:child_process'
L6: import { ossGateCheck, ossGateCommit, resetManualAttempt } from './dl-gate.mjs'
L7: 
L8: export const FFMPEG_MANIFEST_URL = 'https://gaoshou25.cn/ffmpeg/manifest.json'
L9: 
...
L13: 
L14: { id: 'oss', base: String(process.env.DSH_FFMPEG_OSS_BASE || 'https://dsh-bin.oss-cn-hangzhou.aliyuncs.com/ffmpeg').trim() },
L15:
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 10. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/lan-server.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/lan-server.mjs>)

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 = dsh-console-hm@0.5.94
matchedPath = lib/lan-server.mjs
matchedIdentity = npm:ZHNoLWNvbnNvbGUtaG0:0.5.94
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 11. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/ffmpeg-bootstrap.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/ffmpeg-bootstrap.mjs>)

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 = dsh-console-hm@0.5.94
matchedPath = lib/ffmpeg-bootstrap.mjs
matchedIdentity = npm:ZHNoLWNvbnNvbGUtaG0:0.5.94
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 12. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/tunnel.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/tunnel.mjs>)

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 = dsh-console-hm@0.5.94
matchedPath = lib/tunnel.mjs
matchedIdentity = npm:ZHNoLWNvbnNvbGUtaG0:0.5.94
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/dsh-console-cloud.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/dsh-console-cloud.mjs>)

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 = dsh-console-hm@0.5.94
matchedPath = lib/dsh-console-cloud.mjs
matchedIdentity = npm:ZHNoLWNvbnNvbGUtaG0:0.5.94
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/screen-stream.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/screen-stream.mjs>)

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 = dsh-console-hm@0.5.94
matchedPath = lib/screen-stream.mjs
matchedIdentity = npm:ZHNoLWNvbnNvbGUtaG0:0.5.94
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/websocket.js
- **Public source:** [View source](<https://unpkg.com/dsh-console-hm@0.5.96/lib/websocket.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 = dsh-console-hm@0.5.94
matchedPath = lib/websocket.js
matchedIdentity = npm:ZHNoLWNvbnNvbGUtaG0:0.5.94
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

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

### Published dependency entries
- qrcode ^1.5.4 (Dependency)
- @deepseek-ai/cordis \>=4.0.1 (PeerDependency)
- @deepseek-ai/dsh-client-locale \>=0.1.0-rc.5 (PeerDependency)
- @deepseek-ai/dsh-client-ui-settings \>=0.1.0-rc.5 (PeerDependency)
- react ^18.2.0 (PeerDependency)

## Package metadata
- **Package:** dsh-console-hm
- **Ecosystem:** npm
- **Version:** 0.5.96
- **License:** MIT
- **Version published:** 2026-11-21T15:02:52.302Z
- **Package first seen:** 2026-11-13T21:28:45.940Z
- **Package last seen:** 2026-11-21T17:02:11.268Z
- **Known versions:** 15
- **Latest version:** 0.5.97
- **Appeal under review:** No
- **Description:** DSH控制台面板：在 DSH 设置里显示扫码配对面板，手机扫一下就连上这台电脑的 DSH。
- **Author:** CJ \<ChenJun25@users.noreply.github.com\>
- **Maintainers:** chenjun25
- **Artifact files:** 32
- **Artifact unpacked size:** 841,309 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dsh-console-hm/v/0.5.96>)
- [Repository](<https://github.com/ChenJun25/dsh-console-hm>)
