---
canonical: "https://firewall.lpm.dev/npm/u1s1-cli/v/0.9.1"
markdown: "https://firewall.lpm.dev/npm/u1s1-cli/v/0.9.1.md"
package: "u1s1-cli"
report_status: "under_review"
title: "u1s1-cli@0.9.1 npm security report"
verdict: "suspicious"
version: "0.9.1"
---

# u1s1-cli@0.9.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
**Flagged — allowed with a warning** — Allowed by default policy, but 14 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Under Review
- **Threat category:** None published
- **Selected version:** 0.9.1
- **Selected version is latest:** No
- **Analysis source:** Static Scan Results (rust-scanner)

Static analysis flagged 14 finding(s) at 93.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Suspicious
- **Confidence:** 93.0%
- **Started:** 2026-08-16T14:49:55.797Z
- **Finished:** 2026-08-16T14:49:56.282Z
- **Download time:** 251 ms
- **Static scan time:** 231 ms
- **AI review time:** Not available
- **Total time:** 485 ms

## Security analysis

No additional public attack-surface or AI-review details are available.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

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

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/web.js
- **Public source:** [View source](<https://unpkg.com/u1s1-cli@0.9.1/dist/web.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: import { spawn, spawnSync } from "node:child_process";
L2: import { mkdirSync } from "node:fs";
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/shortcut.js
- **Public source:** [View source](<https://unpkg.com/u1s1-cli@0.9.1/dist/shortcut.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L78: ].join("; ");
L79: const out = spawnSync("powershell", ["-NoProfile", "-NonInteractive", "-Command", script], {
L80: encoding: "utf8",
```

### 5. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/web.js
- **Public source:** [View source](<https://unpkg.com/u1s1-cli@0.9.1/dist/web.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L8: import { fetchModels } from "./api.js";
L9: const require = createRequire(import.meta.url);
L10: /**
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 9. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/update.js
- **Public source:** [View source](<https://unpkg.com/u1s1-cli@0.9.1/dist/update.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L1: import { execSync } from "node:child_process";
L2: import { createRequire } from "node:module";
L3: const require = createRequire(import.meta.url);
L4: export const VERSION = require("../package.json").version;
L5: export const PACKAGE_NAME = "u1s1-cli";
...
L8: // Check common global install locations for clues
L9: const userAgent = process.env.npm[redacted] ?? "";
L10: if (userAgent.startsWith("pnpm"))
...
L19: export async function getLatestVersion() {
L20: const url = `https://registry.npmjs.org/${PACKAGE_NAME}/latest`;
L21: try {
...
L27: return undefined;
```

### 10. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/web.js
- **Public source:** [View source](<https://unpkg.com/u1s1-cli@0.9.1/dist/web.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/web.js spawns dist/webui-brand.js; helper contains network access plus dynamic code execution.
L1: import { spawn, spawnSync } from "node:child_process";
L2: import { mkdirSync } from "node:fs";
...
L21: console.error("现在请直接运行 u1s1 web,Ctrl+C 停止。");
L22: process.exitCode = 1;
L23: return;
...
L69: env: {
L70: ...process.env,
L71: PI_CODING_AGENT_DIR: agentDir,
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

### 14. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/u1s1-cli@0.9.1/dist/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 = u1s1-cli@0.6.0
matchedIdentity = npm:dTFzMS1jbGk:0.6.0
similarity = 0.429
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 3
- **Optional dependencies:** 1
- **Peer dependencies:** 0
- **Development dependencies:** 3
- **Published dependency-graph edges:** 4

### Published dependency entries
- @earendil-works/pi-coding-agent 0.84.2 (Dependency)
- @earendil-works/pi-tui 0.84.2 (Dependency)
- typebox 1.3.7 (Dependency)
- pi-web-ui 0.20.1 (OptionalDependency)

## Package metadata
- **Package:** u1s1-cli
- **Ecosystem:** npm
- **Version:** 0.9.1
- **License:** MIT
- **Version published:** 2026-08-16T14:48:23.605Z
- **Package first seen:** 2026-08-14T10:40:58.652Z
- **Package last seen:** 2026-09-05T03:41:52.422Z
- **Known versions:** 28
- **Latest version:** 1.8.1
- **Appeal under review:** No
- **Description:** u1s1 — 有一说一,最省心的 AI 编程搭子。终端里用中文说需求,AI 帮你读文件、改代码、跑命令。
- **Maintainers:** u1s1.io
- **Keywords:** ai, cli, coding-agent, deepseek, u1s1
- **Runtime engines:** node: \>=22.19.0
- **Artifact files:** 22
- **Artifact unpacked size:** 109,813 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/u1s1-cli/v/0.9.1>)
- [Homepage](<https://u1s1.io/>)
