---
canonical: "https://firewall.lpm.dev/npm/@linxin666/dsh-remote-web-ui/v/0.4.6"
markdown: "https://firewall.lpm.dev/npm/@linxin666/dsh-remote-web-ui/v/0.4.6.md"
package: "@linxin666/dsh-remote-web-ui"
report_status: "published"
title: "@linxin666/dsh-remote-web-ui@0.4.6 npm security report"
verdict: "clean"
version: "0.4.6"
---

# @linxin666/dsh-remote-web-ui@0.4.6 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
**Allowed — no malicious behavior detected** — 12 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 0.4.6
- **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: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

Source inspection supports a clean verdict: the manifest has no install lifecycle hook, and the flagged execution and remote-channel behaviors align with the package's remote-access function. The scanner's command and network signals do not establish unrelated command-output exfiltration or another concrete attack.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-10-17T17:59:22.995Z
- **Finished:** 2026-10-17T18:00:03.832Z
- **Download time:** 780 ms
- **Static scan time:** 1547 ms
- **AI review time:** 38509 ms
- **Total time:** 40837 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 attack was identified in the inspected package source. The package implements remote access for the dsh web interface using pairing, optional tunneling, and host exposure checks.

- **Trigger:** The plugin's host or client runtime activates these features when used by the dsh application.

- **Impact:** No harmful effect was established; the inspected runtime checks and reports when the host API is exposed to unpaired clients.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-17T18:00:03.832Z

### AI review details

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

- **Mechanism:** The inspected code runs bounded host commands for firewall support, manages a Cloudflare tunnel, and gates host mode on a server-provided marker.

- **Rationale:** Source inspection supports a clean verdict: the manifest has no install lifecycle hook, and the flagged execution and remote-channel behaviors align with the package's remote-access function. The scanner's command and network signals do not establish unrelated command-output exfiltration or another concrete attack.

### Review decision

- **Verdict:** Clean

- **Confidence:** 88.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The manifest names lib/index.js as the runtime entrypoint and lists only build, test, and typecheck scripts, with no install lifecycle hook., The client bundle defines installPluginCard to register a plugin card with the client slot registry., The host command runner disables shell interpretation and limits execution to 20 seconds., The tunnel manager accepts injected factory and binary-readiness functions for its tunnel lifecycle., The remote boot script grants host mode only when a server-provided grant marker is present., The runtime probe warns when unpaired clients can reach the host API and notes pairing or loopback as protections.

- **Evidence against:** The reviewed shell execution is bounded and associated with host firewall or tunnel support; the inspected source does not show it collecting command output for an unrelated recipient., The remote channel boot applies a server-granted host marker, and the runtime operation checks exposure rather than hiding it.

## Affected versions and remediation

This report applies to @linxin666/dsh-remote-web-ui@0.4.6.

- No action is needed for @linxin666/dsh-remote-web-ui@0.4.6. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** lib/types/tunnel.js
- **Public source:** [View source](<https://unpkg.com/@linxin666/dsh-remote-web-ui@0.4.6/lib/types/tunnel.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L26: import { existsSync } from 'node:fs';
L27: import { spawn } from 'node:child_process';
L28: import { EventEmitter } from 'node:events';
```

### 3. Medium: Network (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. Medium: Environment Vars (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 5. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 6. High: Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** lib/index.js
- **Public source:** [View source](<https://unpkg.com/@linxin666/dsh-remote-web-ui@0.4.6/lib/index.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L9: import { z as z$1 } from "zod";
L10: import http, { request } from "node:http";
L11: import { connect } from "node:net";
L12: import { spawn, spawnSync } from "node:child_process";
L13: import { parseDocument } from "yaml";
...
L124: try {
L125: const saved = JSON.parse(readFileSync(file, "utf8"));
L126: if (typeof saved !== "object" || saved === null) return;
...
L567: /** Expand a leading ~ (or ~user) in a path, platform-style. */
L568: function expandHome(path, home = homedir()) {
L569: const j = home.startsWith("/") ? join$1 : join;
...
L579: */
```

### 7. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 8. Low: Url Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 9. High: Semantic Analysis Limited (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** lib/types/remote-channel-boot.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@linxin666/dsh-remote-web-ui@0.4.6/lib/types/remote-channel-boot.js%23virtual%3Anormalized%3Around1>)

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

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 4
```

### 10. Critical: Previous Version Dangerous Delta (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** lib/index.js
- **Public source:** [View source](<https://unpkg.com/@linxin666/dsh-remote-web-ui@0.4.6/lib/index.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @linxin666/dsh-remote-web-ui@0.3.22
matchedIdentity = npm:[redacted]:0.3.22
similarity = 0.390
summary = stored previous version shares package body but lacks this dangerous source file
```

### 11. Low: Suspicious Lifecycle Evidence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 88.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@linxin666/dsh-remote-web-ui@0.4.6/package.json>)

The manifest names lib/index.js as the runtime entrypoint and lists only build, test, and typecheck scripts, with no install lifecycle hook.

Public source snippet (untrusted):

```json
},
  "repository": {
    "type": "git",
    "url": "https://github.com/zhu1090093659/dsh-web.git"
  },
  "scripts": {
    "build": "tsc -b && tsdown",
    "test": "vitest run",
    "typecheck": "tsc -b --pretty false"
```

### 12. Low: Ai Review Evidence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Ai Review
- **Confidence:** 88.0%
- **Path:** lib/client.js
- **Public source:** [View source](<https://unpkg.com/@linxin666/dsh-remote-web-ui@0.4.6/lib/client.js>)

The client bundle defines installPluginCard to register a plugin card with the client slot registry.

Public source snippet (untrusted):

```javascript
function installPluginCard(ctx, seat) {
			const slots = ctx.slots;
			const component = seat.component;
			const inject = seat.inject;
			let dispose;
			let c
```

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

- **Dependencies:** 6
- **Optional dependencies:** 0
- **Peer dependencies:** 3
- **Development dependencies:** 29
- **Published dependency-graph edges:** 9

### Published dependency entries
- @deepseek-ai/schemastery ^3.18.4 (Dependency)
- cloudflared ^0.7.3 (Dependency)
- clsx ^2.1.1 (Dependency)
- qrcode.react ^4.2.0 (Dependency)
- yaml ^2.8.2 (Dependency)
- zod ^4.4.3 (Dependency)
- @deepseek-ai/dsh \>=0.2.0-rc.2 (PeerDependency)
- react ^18.2.0 (PeerDependency)
- react-dom ^18.2.0 (PeerDependency)

## Package metadata
- **Package:** @linxin666/dsh-remote-web-ui
- **Ecosystem:** npm
- **Version:** 0.4.6
- **License:** Apache-2.0
- **Version published:** 2026-10-10T15:31:18.485Z
- **Package first seen:** 2026-08-13T15:40:12.797Z
- **Package last seen:** 2026-11-22T03:26:59.845Z
- **Known versions:** 55
- **Latest version:** 0.4.21
- **Appeal under review:** No
- **Description:** Scan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and r
- **Maintainers:** linxin666
- **Runtime engines:** node: ^22.19.0 || \>=24.0.0
- **Artifact files:** 210
- **Artifact unpacked size:** 2,255,620 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@linxin666/dsh-remote-web-ui/v/0.4.6>)
- [Repository](<https://github.com/zhu1090093659/dsh-web>)
