registry  /  @yearhe9900/mb-toolbox-cli  /  1.1.3

@yearhe9900/mb-toolbox-cli@1.1.3

MB ToolBox CLI - 项目创建与模板管理工具

Static Scan Results

scanned 5d ago · by rust-scanner

Static 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 snapshot
Behavioral surface
Source
ChildProcessDynamicRequireFilesystemShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 9 file(s), 24.5 KB of source, external domains: dot.net, dotnet.microsoft.com

Source & flagged code

5 flagged · loading source
src/utils/dotnet.jsView file
1const { execSync } = require('child_process'); L2: const path = require('path');
High
Child Process

Package source references child process execution.

src/utils/dotnet.jsView on unpkg · L1
64if (isWin) { L65: // Windows: 使用 PowerShell 脚本安装 L66: console.log(chalk.blue('正在通过 PowerShell 脚本安装 .NET 10 SDK...'));
High
Shell

Package source references shell execution.

src/utils/dotnet.jsView on unpkg · L64
1const { execSync } = require('child_process'); L2: const path = require('path'); ... L40: console.error(chalk.red('错误: 未找到 dotnet 命令,请先安装 .NET SDK')); L41: console.error(chalk.gray(' 下载地址: https://dotnet.microsoft.com/download')); L42: return false; ... L60: function installDotnet10() { L61: const isWin = process.platform === 'win32'; L62: ... L126: try { L127: const parsed = JSON.parse(searchResult); L128: const version = parsed.searchResult?.[0]?.packages?.[0]?.latestVersion;
High
Sandbox Evasion Gated Capability

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

src/utils/dotnet.jsView on unpkg · L1
src/utils/config.jsView file
1const fs = require('fs'); L2: const path = require('path');
Medium
Dynamic Require

Package source references dynamic require/import behavior.

src/utils/config.jsView on unpkg · L1
src/commands/update.jsView file
11// 获取当前版本 L12: const currentVersion = exec('mb-cli --version'); L13: console.log(chalk.gray(`当前版本: ${currentVersion || '未知'}`)); ... L20: try { L21: // 使用 npm install -g @latest 强制更新到最新版本 L22: exec('npm install -g @yearhe9900/mb-toolbox-cli@latest', { stdio: 'inherit' });
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

src/commands/update.jsView on unpkg · L11

Findings

4 High2 Medium4 Low
HighChild Processsrc/utils/dotnet.js
HighShellsrc/utils/dotnet.js
HighSandbox Evasion Gated Capabilitysrc/utils/dotnet.js
HighRuntime Package Installsrc/commands/update.js
MediumDynamic Requiresrc/utils/config.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings