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

# @qmuse/qmuse-cli@1.0.13 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 12 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:** 1.0.13
- **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 CLI automatically reports the authenticated QMuse user ID and command category to an analytics collector, without a documented disclosure or opt-out. This supports a suspicious telemetry verdict; the inspected payload does not show credential or file-content theft.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-11-06T07:30:37.939Z
- **Finished:** 2026-11-06T07:31:37.195Z
- **Download time:** 511 ms
- **Static scan time:** 666 ms
- **AI review time:** 58078 ms
- **Total time:** 59256 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 analytics sends an account identifier and command event to a collector.

- **Trigger:** Automatically when an authenticated user runs most mapped CLI commands.

- **Impact:** Links CLI usage to the user's QMuse account without a documented disclosure or opt-out.

- **Evidence paths:** dist/tracker.js, dist/cli.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-06T07:31:37.195Z

### AI review details

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

- **Mechanism:** The tracker obtains the QMuse user ID and POSTs it with a command category and tracking fields to collect.alipay.com.

- **Rationale:** The CLI automatically reports the authenticated QMuse user ID and command category to an analytics collector, without a documented disclosure or opt-out. This supports a suspicious telemetry verdict; the inspected payload does not show credential or file-content theft.

- **Files touched:** ~/.qmuse-cli-telemetry.jsonl

- **Network endpoints:** https://collect.alipay.com/dwcookie, https://api.qmuse.cn

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** Authenticated command tracking obtains the QMuse account user ID and includes it with the command event., The tracker posts events to `https://collect.alipay.com/dwcookie`., The CLI invokes tracking automatically before most commands when a session is configured., The package describes no user-facing disclosure or opt-out for this tracking.

- **Evidence against:** This is a functional QMuse CLI, and its normal network requests support its advertised features., Tracking is limited to mapped commands with a valid QMuse session; the inspected payload contains an account ID and command category, not credentials or file contents.

## Affected versions and remediation

This report applies to @qmuse/qmuse-cli@1.0.13.

- Review the evidence and your use of @qmuse/qmuse-cli@1.0.13 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: 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. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/credentials.js
- **Public source:** [View source](<https://unpkg.com/@qmuse/qmuse-cli@1.0.13/dist/credentials.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L2: import { createRequire } from 'node:module';
L3: const require = createRequire(import.meta.url);
L4: const KEYRING_ERROR = '无法访问系统凭证库。请解锁 macOS 钥匙串或 Windows 凭据管理器；Linux 请安装 libsecret 的 secret-tool 并启用、解锁 Secret Service。未回退到明文文件。';
```

### 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: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@qmuse/qmuse-cli@1.0.13/dist/cli.js>)

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

Public source snippet (untrusted):

```javascript
L15: import { randomBytes } from 'node:crypto';
L16: import { execFile, spawn } from 'node:child_process';
L17: import { promisify } from 'node:util';
...
L129: if (typeof value === 'string') {
L130: process.stdout.write(value.endsWith('\n') ? value : `${value}\n`);
L131: return;
...
L189: try {
L190: parsed = JSON.parse(raw);
L191: }
...
L480: if (flags['--wait'] === true) {
L481: const candidateManagedProject = await loadManagedProject(process.cwd(), cfg, str(flags, '--env'));
L482: const pendingImport = candidateManagedProject
```

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

### 11. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@qmuse/qmuse-cli@1.0.13/dist/cli.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 = @qmuse/qmuse-cli@1.0.9
matchedIdentity = npm:QHFtdXNlL3FtdXNlLWNsaQ:1.0.9
similarity = 0.839
summary = stored previous version shares package body but lacks this dangerous source file
```

### 12. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 88.0%
- **Path:** dist/tracker.js
- **Public source:** [View source](<https://unpkg.com/@qmuse/qmuse-cli@1.0.13/dist/tracker.js>)

Authenticated command tracking obtains the QMuse account user ID and includes it with the command event.

Public source snippet (untrusted):

```javascript
const fields = [
            'DW-COOKIE',
            sessionId,
            userId,
            'clicked',
            spm,
            '', '', '', '', '',
            '',
```

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

### Published dependency entries
- @napi-rs/keyring 2.0.0 (Dependency)
- ignore ^7.0.8 (Dependency)
- open ^11.0.4 (Dependency)
- semver 7.7.4 (Dependency)
- typescript ^5.9.3 (Dependency)
- yauzl ^3.4.0 (Dependency)
- yazl ^3.3.1 (Dependency)

## Package metadata
- **Package:** @qmuse/qmuse-cli
- **Ecosystem:** npm
- **Version:** 1.0.13
- **License:** MIT
- **Version published:** 2026-11-06T07:28:09.037Z
- **Package first seen:** 2026-09-08T10:34:21.297Z
- **Package last seen:** 2026-11-19T04:32:33.355Z
- **Known versions:** 16
- **Latest version:** 1.0.19
- **Appeal under review:** No
- **Description:** QMuse 命令行客户端：在本地创建/导入 React 项目、与 QMuse 对话、拉取发布与云端调试
- **Maintainers:** yupeng-fe, muli\_theo, dyxuan, saga.wr, jinmingyao\_16, hanjiawang, fengqin, zlyyyy, mrtreasure, nothing, ryan-yang125, yuheng\_lh
- **Runtime engines:** node: \>=20
- **Artifact files:** 54
- **Artifact unpacked size:** 420,562 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@qmuse/qmuse-cli/v/1.0.13>)
