registry  /  @modelgov/cli  /  1.7.1

@modelgov/cli@1.7.1

Modelgov CLI for setup, operations, validation, and policy decisions.

Static Scan Results

scanned 1h 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 1 file(s), 53.8 KB of source, external domains: 127.0.0.1

Source & flagged code

3 flagged · loading source
dist/index.jsView file
412import { basename, resolve as resolve2 } from "path"; L413: import { spawn as spawn2 } from "child_process"; L414: import { parse as parseYaml } from "yaml";
High
Child Process

Package source references child process execution.

dist/index.jsView on unpkg · L412
416// src/browserOpen.ts L417: import { spawn } from "child_process"; L418: var DEFAULT_CONSOLE_PORT = 5174; ... L420: const params = new URLSearchParams({ url: apiUrl, token: apiKey }); L421: return `http://localhost:${consolePort}/login?${params.toString()}`; L422: } ... L428: function maybeOpenBrowser(url) { L429: if (process.env.CI || process.env.MODELGOV_NO_OPEN || !process.stdout.isTTY) return false; L430: try {
High
Same File Env Network Execution

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

dist/index.jsView on unpkg · L416
416// src/browserOpen.ts L417: import { spawn } from "child_process"; L418: var DEFAULT_CONSOLE_PORT = 5174; L419: function buildAutoconnectConsoleUrl(apiUrl, apiKey, consolePort = DEFAULT_CONSOLE_PORT) { L420: const params = new URLSearchParams({ url: apiUrl, token: apiKey }); L421: return `http://localhost:${consolePort}/login?${params.toString()}`; L422: } ... L428: function maybeOpenBrowser(url) { L429: if (process.env.CI || process.env.MODELGOV_NO_OPEN || !process.stdout.isTTY) return false; L430: try {
High
Command Output Exfiltration

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

dist/index.jsView on unpkg · L416

Findings

4 High2 Medium4 Low
HighChild Processdist/index.js
HighShell
HighSame File Env Network Executiondist/index.js
HighCommand Output Exfiltrationdist/index.js
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings