registry  /  code-ollama  /  0.39.0

code-ollama@0.39.0

Ollama coding agent that runs in your terminal

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 11 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
UrlStrings
ManifestNo manifest risk signals triggered.
scanned 4 file(s), 213 KB of source, external domains: duckduckgo.com, github.com, html.duckduckgo.com, ollama.com, r.jina.ai, registry.npmjs.org

Source & flagged code

4 flagged · loading source
dist/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
Child Process

Package source references child process execution.

dist/cli.jsView on unpkg · L5
628function readWindowsClipboardImage(path) { L629: execFileSync("powershell", [ L630: "-NoProfile",
High
Shell

Package source references shell execution.

dist/cli.jsView on unpkg · L628
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 · L5
5Cross-file remote execution chain: dist/cli.js spawns dist/assets/tui-618czcEE.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 · L5

Findings

4 High3 Medium4 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
LowUrl Strings