Static Scan Results
scanned 2h ago · by rust-scannerStatic analysis flagged 10 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.
Static reason
One or more suspicious static signals were detected.
Decision evidence
public snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemShell
HighEntropyStringsUrlStrings
Source & flagged code
3 flagged · loading sourcelib/install.jsView file
1import { execSync } from 'node:child_process';
L2: import chalk from 'chalk';
High
12console.log(chalk.blue('正在执行: npm install -g pnpm'));
L13: execSync('npm install -g pnpm', { stdio: 'inherit' });
L14: console.log(chalk.green('✓ pnpm 安装成功!'));
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
lib/install.jsView on unpkg · L12lib/workspace.jsView file
6import { SOUL_MD_TEMPLATE, TOOLS_MD_TEMPLATE, AGENTS_MD_TEMPLATE, ASSISTANT_PROFILE_YML_EXAMPLE } from './templates/bootstrap.js';
L7: const __dirname = path.dirname(fileURLToPath(import.meta.url));
L8: export const BASE_SKILL_NAMES = ['skill-creator', 'summarize', 'github'];
...
L61: const aiDeps = getAIDependencies(options.ai);
L62: // 创建根 package.json(与 test-bot 结构一致)
L63: await fs.writeJson(path.join(projectPath, 'package.json'), {
...
L188: <key>StandardOutPath</key>
L189: <string>${path.resolve(projectPath, 'logs/launchd-stdout.log')}</string>
L190:
...
L198: `);
L199: // 创建 Windows NSSM 安装脚本(PowerShell)
L200: await fs.writeFile(path.join(projectPath, 'install-service.ps1'), `# Windows 服务安装脚本(使用 NSSM)
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
lib/workspace.jsView on unpkg · L6Findings
3 High3 Medium4 Low
HighChild Processlib/install.js
HighShell
HighRuntime Package Installlib/install.js
MediumEnvironment Vars
MediumInstall Persistencelib/workspace.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings