registry  /  @huicai/cli  /  2026.709.53670

@huicai/cli@2026.709.53670

在终端运行的智能体 CLI:以 HuiCai_AI 平台的 OpenAI 兼容 /v1 为模型后端,在用户本机执行文件/命令工具。

Static Scan Results

scanned 2d ago · by rust-scanner

Static analysis completed at 65.0% confidence. No malicious behavior was detected; 11 low-signal pattern(s) were surfaced and cleared.

Static reason
No blocking static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 26 file(s), 190 KB of source, external domains: huicai-ai.sjht.com

Source & flagged code

4 flagged · loading source
src/device.jsView file
5L6: import { spawn } from 'node:child_process'; L7: import { c } from './colors.js';
High
Child Process

Package source references child process execution.

src/device.jsView on unpkg · L5
10function openBrowser(url) { L11: if (!url || process.env.HUICAI_NO_BROWSER) return; L12: const platform = process.platform; ... L15: try { L16: const child = spawn(cmd, args, { stdio: 'ignore', detached: true }); L17: child.on('error', () => {}); ... L24: async function postJson(baseUrl, path, body) { L25: const res = await fetch(`${baseUrl}${path}`, { L26: method: 'POST',
High
Same File Env Network Execution

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

src/device.jsView on unpkg · L10
src/executors.jsView file
286const child = isWin L287: ? spawn(process.env.COMSPEC || 'cmd.exe', ['/d', '/s', '/c', command], { cwd, windowsVerbatimArguments: true }) L288: : spawn(process.env.SHELL || '/bin/sh', ['-c', command], { cwd, detached: true });
High
Shell

Package source references shell execution.

src/executors.jsView on unpkg · L286
src/memory.jsView file
1// 长期记忆(跨会话):按项目目录归属,存于 ~/.huicai/memory/<hash>.md。 L2: // 模型经内置 memory_write 工具主动记录「值得跨会话记住的事实」(用户偏好、项目结论、约定等),
Low
Weak Crypto

Package source references weak cryptographic algorithms.

src/memory.jsView on unpkg · L1

Findings

3 High2 Medium6 Low
HighChild Processsrc/device.js
HighShellsrc/executors.js
HighSame File Env Network Executionsrc/device.js
MediumNetwork
MediumEnvironment Vars
LowNon Install Lifecycle Scripts
LowScripts Present
LowWeak Cryptosrc/memory.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings