← Back to scan
File as GitHub Issue repo: ollama/ollama

Push this scan report to ollama/ollama

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Go Recover Without Log

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED019 [MINED019] Ssti Jinja From String: jinja2.Environment().from_string(user_input) — full RC… llm/server.go:66
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. app/dialog/cocoa/dlg.m:203
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). server/upload.go:5
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… x/mlxrunner/mlx/compile.go:134
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… x/internal/mlxthread/thread.go:168
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… server/internal/testutil/testutil.go:69
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. cmd/launch/kimi.go:310
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … server/internal/client/ollama/trace.go:31
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … readline/readline.go:190
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/ui/app/src/routes/c.$chatId.tsx:28
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… app/ui/app/src/utils/remarkCitationPars…:16
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… app/ui/app/src/components/ErrorMessage.…:13
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. app/updater/updater.go:190
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. app/store/cloud_config.go:24
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. app/server/server_windows.go:56
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… app/server/server_windows.go:23
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… app/server/server_unix.go:24
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… app/cmd/app/app_windows.go:417
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/tools/web_fetch.go:70
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/tools/url_policy.go:23
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/auth/connect.go:15
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yaml:304
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/release.yaml:280
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/release.yaml:252
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yaml:251
HIGH MINED115 [MINED115] Action `actions/cache/save` pinned to mutable ref `@v4`: `uses: actions/cache/… .github/workflows/release.yaml:243
HIGH MINED115 [MINED115] Action `actions/cache/restore` pinned to mutable ref `@v4`: `uses: actions/cac… .github/workflows/release.yaml:173
HIGH MINED115 [MINED115] Action `al-cheb/configure-pagefile-action` pinned to mutable ref `@v1.5`: `use… .github/workflows/release.yaml:151
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/release.yaml:68
HIGH MINED115 [MINED115] Action `actions/setup-go` pinned to mutable ref `@v5`: `uses: actions/setup-go… .github/workflows/release.yaml:55
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yaml:46
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yaml:21
HIGH MINED126 [MINED126] Workflow container/services image `nvidia/cuda:13.0.0-devel-ubuntu22.04` unpin… .github/workflows/test.yaml:114
HIGH MINED126 [MINED126] Workflow container/services image `ubuntu:22.04` unpinned: `container/services… .github/workflows/test.yaml:104
HIGH MINED126 [MINED126] Workflow container/services image `rocm/dev-ubuntu-22.04:7.2.1` unpinned: `con… .github/workflows/test.yaml:97
HIGH MINED126 [MINED126] Workflow container/services image `nvidia/cuda:13.0.0-devel-ubuntu22.04` unpin… .github/workflows/test.yaml:91
HIGH MINED115 [MINED115] Action `golangci/golangci-lint-action` pinned to mutable ref `@v9`: `uses: gol… .github/workflows/test.yaml:417
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/test.yaml:383
HIGH MINED115 [MINED115] Action `actions/setup-go` pinned to mutable ref `@v5`: `uses: actions/setup-go… .github/workflows/test.yaml:375
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yaml:374
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yaml:361
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/test.yaml:324
HIGH MINED115 [MINED115] Action `actions/setup-go` pinned to mutable ref `@v5`: `uses: actions/setup-go… .github/workflows/test.yaml:321
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yaml:319
HIGH MINED115 [MINED115] Action `actions/cache/save` pinned to mutable ref `@v4`: `uses: actions/cache/… .github/workflows/test.yaml:311
HIGH MINED115 [MINED115] Action `actions/cache/restore` pinned to mutable ref `@v4`: `uses: actions/cac… .github/workflows/test.yaml:241
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/test.yaml:152
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yaml:124
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yaml:65
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yaml:28
HIGH MINED118 [MINED118] Dockerfile FROM `ubuntu:24.04` not pinned by digest: `FROM ubuntu:24.04` resol… Dockerfile:294
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… x/mlxrunner/runner.go:195
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… x/imagegen/runner.go:80
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… readline/history.go:141
MED SEC011 [SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execut… convert/reader_torch.go:15
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. app/ui/app/src/components/LaunchCommand…:129
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … app/webview/webview.go:132
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … app/ui/app/src/utils/remarkCitationPars…:16
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … app/ui/app/src/components/ErrorMessage.…:13
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… app/ui/app/src/components/DisplayLogin.…:53
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR001 Docker final stage has no non-root USER Dockerfile:295
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:247
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 15.8% of discovered …
MED AGT015 Remote install command pipes network code directly to a shell docs/integrations/opencode.mdx:12
MED AGT015 Remote install command pipes network code directly to a shell docs/integrations/hermes.mdx:59
MED AGT015 Remote install command pipes network code directly to a shell docs/integrations/droid.mdx:11
MED AGT015 Remote install command pipes network code directly to a shell docs/integrations/copilot-cli.mdx:24
MED AGT015 Remote install command pipes network code directly to a shell docs/integrations/claude-code.mdx:18
MED AGT015 Remote install command pipes network code directly to a shell docs/faq.mdx:12
MED AGT015 Remote install command pipes network code directly to a shell README.md:16
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1851
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1848
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1846
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1844
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1842
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1841
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1840
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1838
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes.go:1837
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/upload.go:283
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. x/imagegen/mlx/compile.go:115
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… model/renderers/glm47.go:119
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… model/renderers/glm46.go:74
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… model/renderers/functiongemma.go:159
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. app/wintray/eventloop.go:91
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. app/updater/updater.go:230
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. app/dialog/dlgs_windows.go:171
LOW AIC003 Duplicated implementation block across source files x/imagegen/models/zimage/zimage.go:36
LOW AIC003 Duplicated implementation block across source files x/imagegen/models/zimage/vae.go:46
LOW AIC003 Duplicated implementation block across source files x/imagegen/image.go:51
LOW AIC003 Duplicated implementation block across source files x/imagegen/cli.go:431
LOW AIC003 Duplicated implementation block across source files types/model/name.go:210
LOW AIC003 Duplicated implementation block across source files tokenizer/sentencepiece.go:47
LOW AIC003 Duplicated implementation block across source files server/internal/internal/names/name.go:40
LOW AIC003 Duplicated implementation block across source files model/renderers/glmocr.go:21
LOW AIC003 Duplicated implementation block across source files model/renderers/gemma4.go:181
LOW AIC003 Duplicated implementation block across source files model/parsers/laguna.go:492
LOW AIC003 Duplicated implementation block across source files ml/path.go:90
LOW AIC003 Duplicated implementation block across source files fs/ggml/ggml.go:152
LOW AIC003 Duplicated implementation block across source files discover/native_probe_windows.go:38
LOW AIC003 Duplicated implementation block across source files convert/convert_nomicbert.go:34
LOW AIC003 Duplicated implementation block across source files convert/convert_mistral_causal.go:133
LOW AIC003 Duplicated implementation block across source files convert/convert_mistral_causal.go:72
LOW AIC003 Duplicated implementation block across source files convert/convert_mistral_causal.go:12
LOW AIC003 Duplicated implementation block across source files convert/convert_mistral.go:171
LOW AIC003 Duplicated implementation block across source files convert/convert_mistral.go:109
LOW AIC003 Duplicated implementation block across source files convert/convert_llama_adapter.go:70
LOW AIC003 Duplicated implementation block across source files convert/convert_llama_adapter.go:45
LOW AIC003 Duplicated implementation block across source files convert/convert_llama.go:174
LOW AIC003 Duplicated implementation block across source files convert/convert_llama.go:142
LOW AIC003 Duplicated implementation block across source files convert/convert_llama.go:12
LOW AIC003 Duplicated implementation block across source files convert/convert_glm4moelite.go:15
LOW AIC003 Duplicated implementation block across source files convert/convert_gemma2.go:30
LOW AIC003 Duplicated implementation block across source files convert/convert_deepseekocr.go:65
LOW AIC003 Duplicated implementation block across source files cmd/start_windows.go:74
LOW AIC003 Duplicated implementation block across source files app/tools/web_search.go:1
LOW DKR010 Dockerfile leaves apt package indexes in the image layer Dockerfile:179
LOW DKR010 Dockerfile leaves apt package indexes in the image layer Dockerfile:159
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:298
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:179
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:159
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… app/webview/glue.c:28
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… app/updater/updater_darwin.m:130
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. app/ui/app/src/components/ThinkButton.t…:49
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. app/ui/app/src/components/ModelPicker.t…:92
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. app/ui/app/src/components/MessageList.t…:57
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. app/ui/app/src/components/MessageList.t…:26
INFO MINED088 [MINED088] React Conditional Hook: useState/useEffect inside if/loop violates Rules of Ho… app/ui/app/src/components/Message.stori…:228
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… app/ui/app/src/components/ErrorMessage.…:28
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/ui/app/src/components/DisplayStale.…:34
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/ui/app/src/components/DisplayLogin.…:57
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/ui/app/src/components/CopyButton.tsx:56
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… app/tools/url_policy.go:56
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. convert/convert_phi3.go:65
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. app/dialog/dlgs_windows.go:138
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. app/dialog/cocoa/dlg_darwin.go:136
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. app/dialog/cocoa/dlg.m:50
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … app/ui/app/src/components/FileUpload.tsx:177
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … app/dialog/cocoa/dlg.m:49
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… api/examples/generate/main.go:25
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… api/examples/generate-streaming/main.go:23
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… api/examples/chat/main.go:36
Reset to top 5 144 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `ollama/ollama`

**Score: 77/100 (A-)**  ·  144 findings  ·  scanned 2026-06-05 04:39 UTC  ·  321,788 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 49 |
| MEDIUM | 31 |
| LOW | 41 |

📊 [Full filterable report](https://repobility.com/scan/ff72a002-360c-4f68-8a75-bd77281b31a1/)  ·  ![scorecard](https://repobility.com/scan/ff72a002-360c-4f68-8a75-bd77281b31a1/report.png?v=1780634344-s2)

### Top findings

1. **CRITICAL** `MINED019` — Ssti Jinja From String
   `llm/server.go:66` · CWE-94 · ✓ Repobility
2. **CRITICAL** `MINED022` — C Strcpy
   `app/dialog/cocoa/dlg.m:203` · CWE-120 · ✓ Repobility
3. **HIGH** `MINED004` — Weak Crypto
   `server/upload.go:5` · CWE-327 · ✓ Repobility
4. **HIGH** `MINED033` — Go Recover Without Log
   `x/mlxrunner/mlx/compile.go:134` · CWE-755 · ✓ Repobility
5. **HIGH** `MINED033` — Go Recover Without Log
   `x/internal/mlxthread/thread.go:168` · CWE-755 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/ff72a002-360c-4f68-8a75-bd77281b31a1/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 11 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'ollama/ollama' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.