Leaderboard github.com
AnoRebel/ollama-proxy
Reverse proxy for my ollama instances
AI provenance
35%
explicit
- Confidence
- 95%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
82/100
strong
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
63/100
weak
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
35% explicit
Explicit AI attribution on 35% of first-party code added; an estimated 35% including velocity signals.
How the score is built
- Explicitly attributed share35%
- Unattributed share in AI-pace bursts34%
- Estimated AI-generated share35%
- AI tool configuration files0
- Work sessions at AI pace6
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)0.03
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 50 | 11,564 | 2026-01-04 | 2026-01-17 |
Lines added per month all AI-attributed share
- 2026-0114,522 · 80% AI
- 2026-0818,459 · 0% AI
Findings in AI-attributed lines vs the rest
From git blame: 4,256 lines trace to AI-attributed commits, 10,525 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 0.94 | 0.28 | 3.30× |
| Security | 0.70 | 0.19 | 3.71× |
Evidence by analyzer
Explicit AI attributionok26 items
- Claude Code: 50 attributed commits, 11,564 lines added
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- Claude Code: author email [email protected]
- attributed_commit_share
- 49.0%
- attributed_commits
- 50
- attributed_loc
- 11,564
- attributed_loc_share
- 35.1%
- commits
- 102
- effective_loc
- 32,981
- tools_detected
- 1
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok6 items
- 3,931 lines of first-party code in ~4.0h (983 lines/hour, 1 commit session)
- 2,550 lines of first-party code in ~3.4h (751 lines/hour, 2 commit session)
- 2,958 lines of first-party code in ~4.0h (740 lines/hour, 1 commit session)
- 2,178 lines of first-party code in ~3.2h (683 lines/hour, 3 commit session)
- 2,515 lines of first-party code in ~4.0h (626 lines/hour, 2 commit session)
- 1,091 lines of first-party code in ~2.0h (559 lines/hour, 3 commit session)
- excluded_import_loc
- 4,951
- flagged_loc
- 15,223
- flagged_loc_share
- 54.3%
- flagged_units
- 6
- max_loc_per_hour
- 982.75
- measured_loc
- 28,030
- median_loc_per_hour
- 335.16
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 45
Release velocityskipped
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 1
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 1
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 0.03
- lines_scanned
- 14,781
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0.07
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 4,256
- blame_failures
- 0
- files_blamed
- 57
- other_lines
- 10,525
- quality:ai_findings
- 4
- quality:ai_per_kloc
- 0.94
- quality:other_findings
- 3
- quality:other_per_kloc
- 0.28
- quality:ratio
- 3.30
- security:ai_findings
- 3
- security:ai_per_kloc
- 0.70
- security:other_findings
- 2
- security:other_per_kloc
- 0.19
- security:ratio
- 3.71
Code quality
82 strong
Code quality is strong: test-to-source ratio 0.88, CI runs tests; 13% of function code in complex or long functions; 5% duplicated lines. Weakest area: type safety.
How the score is built
- Complexity69
- Duplication73
- Lint and smells94
- Tests and CI100
- Documentation80
- Type safety40
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok10 items
- loadFromEnv in internal/config/config.go: complexity 85, 203 lines
- CreateChatCompletion in internal/proxy/openai.go: complexity 26, 155 lines
- UpdateUser in internal/admin/handlers.go: complexity 24, 83 lines
- CreateMessage in internal/proxy/anthropic.go: complexity 19, 131 lines
- main in cmd/proxy/main.go: complexity 18, 175 lines
- RefreshToken in internal/admin/handlers.go: complexity 16, 70 lines
- loadOverview in internal/admin/static/js/modules/overview.js: complexity 16, 63 lines
- renderTokenStatsChart in internal/admin/static/js/modules/tokens.js: complexity 13, 101 lines
- renderUserStatsChart in internal/admin/static/js/modules/users.js: complexity 13, 101 lines
- (anonymous) in internal/admin/static/js/modules/overview.js: complexity 11, 159 lines
- complex_functions
- 7
- function_nloc
- 9,881
- functions
- 696
- long_functions
- 7
- many_param_functions
- 1
- mean_ccn
- 3.40
- p90_ccn
- 8
- risky_nloc_share
- 12.6%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: e2e/lib/dashboard.ts:180 and e2e/lib/dashboard.ts:377
- 6+ duplicated lines: internal/admin/handlers.go:207 and internal/admin/handlers.go:316
- 6+ duplicated lines: internal/admin/static/js/htmx-loading-states.js:104 and internal/admin/static/js/htmx-loading-states.js:129
- 6+ duplicated lines: internal/admin/static/js/modules/overview.js:249 and internal/admin/static/js/modules/overview.js:262
- 6+ duplicated lines: internal/admin/static/js/modules/overview.js:308 and internal/admin/static/js/modules/tokens.js:196
- 6+ duplicated lines: internal/admin/static/js/modules/tokens.js:11 and internal/admin/static/js/modules/tokens.js:244
- 6+ duplicated lines: internal/admin/static/js/modules/tokens.js:97 and internal/admin/static/js/modules/users.js:199
- 6+ duplicated lines: internal/admin/static/js/modules/users.js:11 and internal/admin/static/js/modules/users.js:104
- 6+ duplicated lines: internal/auth/jwt.go:99 and internal/auth/jwt.go:154
- 6+ duplicated lines: internal/proxy/anthropic.go:127 and internal/proxy/openai.go:157
- compared_lines
- 10,379
- duplicated_lines
- 534
- duplicated_share
- 5.1%
- files
- 57
Lintok
- category:correctness
- 7
- findings
- 7
- scanned_lines
- 14,781
- weighted_findings
- 4
Tests and CIok4 items
- CI config: .github/workflows/ci.yml
.github/workflows/ci.yml - CI config: .github/workflows/release.yml
.github/workflows/release.yml - CI runs tests (go test)
- CI runs linters (golangci-lint)
- check:ci_present
- yes
- check:ci_runs_lint
- yes
- check:ci_runs_tests
- yes
- check:has_tests
- yes
- check:test_ratio
- yes
- check:tests_cochange
- yes
- ci_files
- 2
- cochange_commits
- 74
- cochange_share
- 51.3%
- source_lines
- 14,781
- test_lines
- 12,949
- test_ratio
- 0.88
Documentationok3 items
- README.md
README.md - LICENSE
LICENSE - CONTRIBUTING.md
CONTRIBUTING.md
- check:changelog
- no
- check:contributing
- yes
- check:license
- yes
- check:readme
- yes
- readme_lines
- 850
Type safetyok
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 0
- escapes_per_kloc
- 0
Security
63 weak
Security posture is weak: 14 known vulnerabilities in 2 dependencies; 2 high-severity SAST findings; 24 high-severity workflow issues. Weakest area: posture.
How the score is built
- Secrets90
- Static analysis (SAST)95
- Vulnerable dependencies74
- CI workflows1
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesskipped
no registry dependencies declared
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 3
Static analysis (opengrep)ok
- findings
- 5
- findings_high
- 2
- findings_low
- 0
- findings_medium
- 3
- parse_errors
- 0
- scanned_lines
- 14,781
- weighted_findings
- 2.25
Dependencies (osv-scanner)ok
- penalty
- 18
- vulnerabilities
- 14
- vulnerable_packages
- 2
- vulns_critical
- 1
- vulns_high
- 2
- vulns_low
- 0
- vulns_medium
- 8
- vulns_unknown
- 3
CI workflows (zizmor)ok
- findings
- 35
- findings_high
- 24
- findings_low
- 6
- findings_medium
- 5
- penalty
- 293.40
- workflows
- 2
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 49.0%
- unpinned_manifests
- 0
Release downloadsok5 items
- release v1.0.0 ships ollama-proxy_1.0.0_darwin_amd64.tar.gz (0 downloads)
- release v1.0.0 ships ollama-proxy_1.0.0_darwin_amd64.zip (0 downloads)
- release v1.0.0 ships ollama-proxy_1.0.0_darwin_arm64.tar.gz (0 downloads)
- release v1.0.0 ships ollama-proxy_1.0.0_darwin_arm64.zip (0 downloads)
- release v1.0.0 ships ollama-proxy_1.0.0_linux_amd64.tar.gz (2 downloads)
- binary_assets
- 12
- signals
- 1
- suspicious
- 0
Findings
1 critical28 high22 medium13 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| critical | osv/GHSA-cxf3-9h37-7rr8 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6839, GHSA-cxf3-9h37-7rr8 | Dependencies (osv-scanner) |
| high | zizmor/unpinned-images |
.github/workflows/ci.yml:16 | unpinned image references [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:25 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:28 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:45 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:56 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:59 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:65 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:76 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:79 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:93 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:96 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:99 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/excessive-permissions |
.github/workflows/release.yml:10 | overly broad permissions [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:19 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/cache-poisoning |
.github/workflows/release.yml:24 | runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:24 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:30 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:44 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:48 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:59 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:62 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:65 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/release.yml:75 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/excessive-permissions |
.github/workflows/release.yml:9 | overly broad permissions [confidence high] | CI workflows (zizmor) |
| high | osv/GHSA-375p-5qhx-8wq4 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6873, GHSA-375p-5qhx-8wq4 | Dependencies (osv-scanner) |
| high | osv/GHSA-9969-6676-49h5 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6838, GHSA-9969-6676-49h5 | Dependencies (osv-scanner) |
| high | opengrep/javascript.browser.security.insecure-document-method |
internal/admin/static/js/htmx-alpine-morph.js:31 | User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] | Static analysis (opengrep) |
| high | opengrep/javascript.browser.security.insecure-innerhtml |
internal/admin/static/js/htmx-alpine-morph.js:31 | User controlled data in a `incoming.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] | Static analysis (opengrep) |
| medium | opengrep/go.lang.correctness.permissions.incorrect-default-permission |
internal/config/runtime.go:110 | Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set... | Lint |
| medium | opengrep/go.lang.correctness.permissions.incorrect-default-permission |
internal/logging/logger.go:76 | Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set... | Lint |
| medium | opengrep/go.lang.correctness.permissions.incorrect-default-permission |
internal/storage/factory.go:32 | Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set... | Lint |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:1 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:10 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:50 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:70 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:87 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | osv/GHSA-2ffq-g2xg-c22p |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6879, GHSA-2ffq-g2xg-c22p | Dependencies (osv-scanner) |
| medium | osv/GHSA-3pmx-cf9f-34xr |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6881, GHSA-3pmx-cf9f-34xr | Dependencies (osv-scanner) |
| medium | osv/GHSA-99jh-6h7p-pp36 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6875, GHSA-99jh-6h7p-pp36 | Dependencies (osv-scanner) |
| medium | osv/GHSA-h53f-rm2w-w7rg |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6841, GHSA-h53f-rm2w-w7rg | Dependencies (osv-scanner) |
| medium | osv/GHSA-h9g5-28mm-hx3g |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6876, GHSA-h9g5-28mm-hx3g | Dependencies (osv-scanner) |
| medium | osv/GHSA-r7w9-592q-9vg4 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6877, GHSA-r7w9-592q-9vg4 | Dependencies (osv-scanner) |
| medium | osv/GHSA-v753-g4cw-jm48 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6883, GHSA-v753-g4cw-jm48 | Dependencies (osv-scanner) |
| medium | osv/GHSA-x9ff-22gv-65f4 |
go.mod | github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6844, GHSA-x9ff-22gv-65f4 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5932 |
go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5932 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6354 |
go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6354 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6355 |
go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6355 | Dependencies (osv-scanner) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
internal/admin/static/js/htmx-safe-nonce.js:22 | RegExp() called with a `xhr` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.html-in-template-string |
internal/admin/static/js/htmx-safe-nonce.js:22 | This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.xss.unsafe-template-type |
internal/admin/templates.go:60 | Semgrep could not determine that the argument to 'template.HTML()' is a constant. 'template.HTML()' and similar does not escape contents. Be absolutely sure there is no user-controlled data in this template. If user data can reach this... | Static analysis (opengrep) |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
e2e/lib/dashboard.ts:421 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
internal/admin/static/js/htmx-safe-nonce.js:22 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
internal/admin/static/js/htmx-safe-nonce.js:22 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
internal/admin/static/js/htmx-safe-nonce.js:22 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | zizmor/artipacked |
.github/workflows/ci.yml:24 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| low | zizmor/artipacked |
.github/workflows/ci.yml:55 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| low | zizmor/artipacked |
.github/workflows/ci.yml:75 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| low | zizmor/artipacked |
.github/workflows/ci.yml:92 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| low | zizmor/artipacked |
.github/workflows/release.yml:18 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| low | zizmor/artipacked |
.github/workflows/release.yml:43 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| low | gitleaks/curl-auth-header |
README.md:238 | Possible curl-auth-header secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
| low | gitleaks/generic-api-key |
internal/auth/middleware_test.go:884 | Possible generic-api-key secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
| low | gitleaks/generic-api-key |
internal/storage/sqlite_test.go:531 | Possible generic-api-key secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
Tools and coverage
Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.
| Analyzer | Pillar | Status | Version | Findings | Note |
|---|---|---|---|---|---|
| AI tool configuration | AI provenance | ok | signatures-v1 | 0 | |
| Explicit AI attribution | AI provenance | ok | signatures-v1 | 0 | |
| Release velocity | AI provenance | skipped | — | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-4 | 0 | |
| Findings in AI-written lines | AI provenance | ok | git-blame | 0 | |
| Complexity (lizard) | Code quality | ok | lizard 1.25.1 | 0 | |
| Documentation | Code quality | ok | — | 0 | |
| Duplication (jscpd) | Code quality | ok | repotrust-dup-w6 | 0 | |
| Lint | Code quality | ok | opengrep 1.33.1; rules f1d2b562b414 | 7 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 35 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 14 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | skipped | — | 0 | no registry dependencies declared |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 5 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 3 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 80bdc7bf9090 | prov-5+qual-2+sec-2 | 35% | 82 | 63 |
| 2026-11-14 | 80bdc7bf9090 | prov-4+qual-2+sec-2 | 35% | 82 | 63 |
Full text report
- Repository: https://github.com/AnoRebel/ollama-proxy
- Commit:
80bdc7bf909022bdbc47ad2fbe74c66022f42739 - Generated: 2026-11-14T14:51:59+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 35 | explicit | 95% | 100% |
| Code quality | 82 | strong | 90% | 100% |
| Security | 63 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 35% of first-party code added; an estimated 35% including velocity signals.
- Explicitly attributed share (lower bound): 35.1%
- Unattributed share in AI-consistent velocity bursts: 34.2%
- Estimated AI-generated share: 35.1%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 50 | 11,564 |
Current source lines last changed by AI-attributed commits: 4,256 of 14,781.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 0.94 | 0.285 | 3.3x |
| Security | 0.705 | 0.19 | 3.71x |
- Stylometry index: 0.03 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 1). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-01 | 14,522 | 80% |
| 2026-08 | 18,459 | 0% |
Evidence
- Claude Code: author email [email protected] (42a17ce960e8)
- Claude Code: author email [email protected] (e9e48301e3a8)
- Claude Code: author email [email protected] (d3a55326fdf0)
- Claude Code: author email [email protected] (c918ed76b730)
- Claude Code: author email [email protected] (1449314567da)
- Claude Code: author email [email protected] (08cd1170ec42)
- Claude Code: author email [email protected] (540b4662e561)
- Claude Code: author email [email protected] (5fa02473b935)
- Claude Code: author email [email protected] (45abca6ccce6)
- Claude Code: author email [email protected] (daff93bbdc72)
- Claude Code: author email [email protected] (7a049738be3d)
- Claude Code: author email [email protected] (b99c4e4fdd10)
- Claude Code: author email [email protected] (dda04367a482)
- Claude Code: author email [email protected] (5bb3d0cd9faf)
- Claude Code: author email [email protected] (6c7907590c83)
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is strong: test-to-source ratio 0.88, CI runs tests; 13% of function code in complex or long functions; 5% duplicated lines. Weakest area: type safety.
| Area | Score |
|---|---|
| Complexity (lizard) | 69 |
| Duplication | 73 |
| Code smells (Opengrep) | 94 |
| Tests and CI | 100 |
| Documentation | 80 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 696; mean complexity 3.4, 90th percentile 8; 7 complex and 7 long functions
- Duplicated lines: 5.1% of 10,379 compared
- Tests: 12,949 test lines for 14,781 source lines (ratio 0.88); CI test commands: go test; 51% of recent source commits also change tests
- Docs missing or thin: changelog
Most complex functions:
- loadFromEnv in internal/config/config.go: complexity 85, 203 lines
- CreateChatCompletion in internal/proxy/openai.go: complexity 26, 155 lines
- UpdateUser in internal/admin/handlers.go: complexity 24, 83 lines
- CreateMessage in internal/proxy/anthropic.go: complexity 19, 131 lines
- main in cmd/proxy/main.go: complexity 18, 175 lines
Security
Security posture is weak: 14 known vulnerabilities in 2 dependencies; 2 high-severity SAST findings; 24 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 90 |
| Static analysis (Opengrep) | 95 |
| Vulnerable dependencies (OSV) | 74 |
| CI workflows (zizmor) | 1 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 14 in 2 packages (critical 1, high 2, medium 8, low 0)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| critical | osv/GHSA-cxf3-9h37-7rr8: github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6839, GHSA-cxf3-9h37-7rr8 |
go.mod |
| high | opengrep/javascript.browser.security.insecure-document-method: User controlled data in methods like innerHTML, outerHTML or document.write is an anti-pattern that can lead to XSS vulnerabilities [confidence low] |
internal/admin/static/js/htmx-alpine-morph.js:31 |
| high | opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a incoming.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] |
internal/admin/static/js/htmx-alpine-morph.js:31 |
| high | osv/GHSA-9969-6676-49h5: github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6838, GHSA-9969-6676-49h5 |
go.mod |
| high | osv/GHSA-375p-5qhx-8wq4: github.com/labstack/echo/[email protected] (Go) is affected by GO-2026-6873, GHSA-375p-5qhx-8wq4 |
go.mod |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:25 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:28 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:45 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:56 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:59 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:65 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:76 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:79 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:93 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:96 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:99 |
| high | zizmor/unpinned-images: unpinned image references [confidence high] |
.github/workflows/ci.yml:16 |
| high | zizmor/excessive-permissions: overly broad permissions [confidence high] |
.github/workflows/release.yml:9 |
| high | zizmor/excessive-permissions: overly broad permissions [confidence high] |
.github/workflows/release.yml:10 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release.yml:19 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release.yml:24 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release.yml:30 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release.yml:44 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release.yml:48 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release.yml:59 |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Distribution signals
- binary-release-asset: release v1.0.0 ships ollama-proxy_1.0.0_darwin_amd64.tar.gz (0 downloads)
- binary-release-asset: release v1.0.0 ships ollama-proxy_1.0.0_darwin_amd64.zip (0 downloads)
- binary-release-asset: release v1.0.0 ships ollama-proxy_1.0.0_darwin_arm64.tar.gz (0 downloads)
- binary-release-asset: release v1.0.0 ships ollama-proxy_1.0.0_darwin_arm64.zip (0 downloads)
- binary-release-asset: release v1.0.0 ships ollama-proxy_1.0.0_linux_amd64.tar.gz (2 downloads)
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 14,781; test lines: 12,949
| Language | Lines |
|---|---|
| Go | 22,586 |
| TypeScript | 2,592 |
| JavaScript | 2,552 |