Is ollama/ollama safe?
What ollama/ollama does
Ollama downloads and runs open language models, such as Gemma, Qwen and DeepSeek, on your own machine. You use it from the command line or a local REST API. It lives in the ollama/ollama repository under the MIT license. It stores models locally, serves its API on port 11434, and can connect coding agents such as Claude Code and Codex through ollama launch. The FAQ says it binds to 127.0.0.1 by default and that the OLLAMA_HOST variable changes the bind address. Before installing, keep that default unless other machines need access, and put any exposed server behind a proxy that controls who can reach it.
- Code makes something start again on its own after a reboot or login
- Node.js network egress
What to do: The Go and C/C++ code was not checked for shell, network or file access, so this result is incomplete. Review that code before installing.
ollama/ollama is a GitHub repository analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct is reported for review. Its Go and C/C++ code was not checked for shell, network or file access, so this result is partial. It can: filesystem write and network egress — capabilities are what the code can do, not a verdict on intent. Risk score 10/100 (low).
ollama
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of ollama/ollama's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (2)
The component makes outbound network requests.
const response = await fetch(`${API_BASE}/api/v1/integrations`);const response = await fetch(
const response = await fetch(`${API_BASE}/api/me`, {const response = await fetch(`${API_BASE}/api/me`, {const response = await fetch(`${API_BASE}/api/signout`, {const response = await fetch(`${API_BASE}/api/v1/chats`);const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}`);? fetch(`${API_BASE}/api/v1/models/cloud`)const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}`, {const response = await fetch(`${API_BASE}/api/v1/settings`);const response = await fetch(`${API_BASE}/api/v1/settings`, {const response = await fetch(`${API_BASE}/api/v1/cloud`, {const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}/rename`, {const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}`, {const response = await fetch(`${API_BASE}/api/v1/model/upstream`, {const response = await fetch(`${API_BASE}/api/v1/models/pull`, {const response = await fetch(
const response = await fetch(`${API_BASE}/api/v1/inference-compute`);const response = await fetch(`${API_BASE}/api/version`, {const response = await fetch(`${API_BASE}/api/v1/cloud`);Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
The code installs an operating-system autostart: a LaunchAgent or LaunchDaemon plist, a cron @reboot line or a crontab it pipes in, an enabled systemd unit, a scheduled task that runs at startup or logon, a Run or RunOnce registry value, a file in the Startup folder, or a line appended to a shell profile. What it registers runs again without the component being used. (2 occurrence(s) shown as evidence).
cat <<EOF | $SUDO tee /etc/systemd/system/ollama.service >/dev/null
$SUDO systemctl enable ollama
Fix: Confirm the component tells the user it installs an autostart entry and what the entry runs. Remove entries a package added without asking.
Maintain ollama/ollama?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →