Static Scan Results
scanned 2d 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.jsView file
5import { join, relative, resolve } from "node:path";
L6: import { exec, execFile, execFileSync, spawnSync } from "node:child_process";
L7: import { randomUUID } from "node:crypto";
High
628function readWindowsClipboardImage(path) {
L629: execFileSync("powershell", [
L630: "-NoProfile",
High
5import { join, relative, resolve } from "node:path";
L6: import { exec, execFile, execFileSync, spawnSync } from "node:child_process";
L7: import { randomUUID } from "node:crypto";
...
L181: Follow these rules:
L182: 1. Use available tools rather than guessing file contents, paths, or code behavior
L183: 2. When a tool is needed, call it immediately instead of saying you will call it
...
L456: try {
L457: return JSON.parse(readFileSync(CONFIG_PATH, "utf8"));
L458: } catch {
...
L467: mcpServers: file.mcpServers,
L468: searxngBaseUrl: file.searxngBaseUrl,
L469: theme: file.theme ?? "github-dark",
High
Remote Agent Bridge
Source exposes local file and command tools to a remote model endpoint.
dist/cli.jsView on unpkg · L55Cross-file remote execution chain: dist/cli.js spawns dist/assets/tui-DuTsvT5y.js; helper contains network access plus dynamic code execution.
L5: import { join, relative, resolve } from "node:path";
L6: import { exec, execFile, execFileSync, spawnSync } from "node:child_process";
L7: import { randomUUID } from "node:crypto";
...
L66: //#endregion
L67: //#region package.json
L68: var name = "code-ollama";
...
L75: //#region src/constants/config.ts
L76: var DIRECTORY = join(homedir(), `.${NAME}`);
L77: //#endregion
...
L99: /**
L100: * @see https://ollama.com/library
L101: */
High
Cross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/cli.jsView on unpkg · L5Findings
4 High3 Medium5 Low
HighChild Processdist/cli.js
HighShelldist/cli.js
HighRemote Agent Bridgedist/cli.js
HighCross File Remote Execution Contextdist/cli.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings