grepai-ollama-setup

skills-sh:yoanbernabeu_grepai-skills__grepai-ollama-setup

View source
C
70/100

First Seen

Feb 18, 2026

Last Scanned

Feb 20, 2026

Findings

5

Score

70/100

HIGH 2
LOW 3

Findings (5)

HIGH
Download-and-execute
L48

Detects patterns of downloading and piping to shell execution

curl -fsSL https://ollama.com/install.sh | sh
FIX

Download the file first, verify its integrity (checksum, signature), inspect it, then run it. Prefer package managers over raw downloads. Never fetch-and-run in one step.

FP?

Likely FP if the target is a well-known installer (e.g., rustup, Homebrew) from its canonical HTTPS domain, though the pattern is inherently risky.

HIGH
Curl or wget piped to shell
L48

Detects downloading scripts piped directly to a shell interpreter

curl -fsSL https://ollama.com/install.sh | sh
FIX

Download the script first, inspect it, verify its checksum, then run it. Do not pipe curl/wget output directly to sh/bash. Prefer package manager installs.

FP?

Likely FP if the download is from a well-known installer domain (e.g., brew.sh, rustup.rs), though this pattern is inherently risky even with trusted sources.

LOW
System package manager install
L32

Detects system-level package installation via brew, apt, yum, or dnf

brew install o
FIX

Pin system packages to specific versions where the package manager supports it. Document the exact packages required and prefer containerized environments to avoid system-wide changes.

FP?

Likely FP if the match is standard setup documentation listing well-known system packages (e.g., apt install git curl) that are prerequisites.

LOW
Runtime URL controlling behavior
L40

Detects URLs fetched at runtime that control or influence agent behavior without pinning

Download from [ollama.com](https:// + setting
FIX

Avoid loading configuration or behavior-controlling content from runtime URLs. Bundle required configurations locally or pin remote config to versioned, integrity-verified endpoints.

FP?

Likely FP if the URL in the match is a documentation link or example URL (e.g., example.com) rather than an actual runtime-fetched configuration endpoint.

LOW
Chained shell command execution
L48

Detects chained commands using shell operators with dangerous operations

curl -fsSL https://ollama.com/install.sh | sh
FIX

Break chained commands into discrete, individually validated steps. Avoid piping untrusted output directly into a shell interpreter.

FP?

Likely FP if the matched text is a documentation example showing a common installer one-liner for a well-known tool with a canonical URL.