Static Scan Results
scanned 2h ago · by rust-scannerStatic 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 snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
4 flagged · loading sourcedist/cli/autostart.jsView file
14import { homedir } from 'node:os';
L15: import { execFileSync } from 'node:child_process';
L16: import * as ui from './ui.js';
High
Child Process
Package source references child process execution.
dist/cli/autostart.jsView on unpkg · L14dist/cli/setup.jsView file
248stdio: ['ignore', 'pipe', 'pipe'],
L249: shell: true,
L250: detached: false, // killProcessTree() handles cleanup on both platforms
High
5* Usage:
L6: * npx tsx src/cli/setup.ts
L7: * npm run setup
...
L13: import { stringify as stringifyYaml } from 'yaml';
L14: import { spawn, exec, execFileSync } from 'node:child_process';
L15: import { resolve as pathResolve, join as pathJoin, dirname } from 'node:path';
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
dist/cli/setup.jsView on unpkg · L513import { stringify as stringifyYaml } from 'yaml';
L14: import { spawn, exec, execFileSync } from 'node:child_process';
L15: import { resolve as pathResolve, join as pathJoin, dirname } from 'node:path';
...
L153: * - Windows: `setx <name> <value>` (user-level, persists across reboots)
L154: * - Linux/macOS: append `export <name>=<value>` to ~/.bashrc or ~/.zshrc
L155: *
...
L159: try {
L160: if (process.platform === 'win32') {
L161: // Use execFileSync to avoid shell injection (setx PATH "foo & calc & ")
...
L165: // Linux/macOS — append to shell profile
L166: const home = process.env.HOME || process.env.USERPROFILE;
L167: if (!home)
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/cli/setup.jsView on unpkg · L13Findings
3 High4 Medium5 Low
HighChild Processdist/cli/autostart.js
HighShelldist/cli/setup.js
HighRuntime Package Installdist/cli/setup.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist/cli/setup.js
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings