Static Scan Results
scanned 2d ago · by rust-scannerStatic 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 snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
4 flagged · loading sourcesrc/device.jsView file
5L6: import { spawn } from 'node:child_process';
L7: import { c } from './colors.js';
High
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 · L10src/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
src/memory.jsView file
1// 长期记忆(跨会话):按项目目录归属,存于 ~/.huicai/memory/<hash>.md。
L2: // 模型经内置 memory_write 工具主动记录「值得跨会话记住的事实」(用户偏好、项目结论、约定等),
Low
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