registry  /  foco-cli  /  0.21.0

foco-cli@0.21.0

FOCO CLI - 题库管理与工单管理命令行工具

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 12 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
Manifest
NoLicense
scanned 41 file(s), 186 KB of source, external domains: app.focolization.com, dav.example.com, registry.npmjs.org

Source & flagged code

2 flagged · loading source
dist/lib/version-check.jsView file
3import { join } from "node:path"; L4: import { execSync } from "node:child_process"; L5: const CACHE_PATH = join(homedir(), ".foco", "version-cache.json");
High
Child Process

Package source references child process execution.

dist/lib/version-check.jsView on unpkg · L3
65try { L66: execSync(`npm install -g ${PKG_NAME}@${latestVersion}`, { L67: stdio: "pipe",
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/lib/version-check.jsView on unpkg · L65

Findings

3 High3 Medium6 Low
HighChild Processdist/lib/version-check.js
HighShell
HighRuntime Package Installdist/lib/version-check.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License