RepoTrust

Leaderboard github.com

mrcmilano/ollama-local-chat

A modern interface for on-device interaction with Ollama APIs.

  • View repository ↗
  • TypeScript
  • ★ 0
  • commit a63f178005c4
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
42%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

49/100

poor

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

62/100

weak

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

0% none-detected

No AI attribution or AI-consistent velocity signals detected.

How the score is built

  • Explicitly attributed share0%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share0%
  • AI tool configuration files0
  • Work sessions at AI pace0
  • Releases at AI pacenot measured
  • Coding-style index (1.0+ means possible)0.00

Lines added per month all AI-attributed share

  1. 2025-12924 · 0% AI
  2. 2026-010 · 0% AI

Evidence by analyzer

Explicit AI attributionok
attributed_commit_share
0.0%
attributed_commits
0
attributed_loc
0
attributed_loc_share
0.0%
commits
6
effective_loc
924
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
0
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
176.50
measured_loc
924
median_loc_per_hour
110.06
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
3
Release velocityskipped
Coding styleok
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
0
files:placeholder
0
index
0
lines_scanned
841
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0

Code quality

49 poor

Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 25% of function code in complex or long functions; 0% duplicated lines. Weakest area: testing.

How the score is built

  • Complexity46
  • Duplication100
  • Lint and smells94
  • Tests and CI0
  • Documentation40
  • Type safety40
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok1 item
complex_functions
1
function_nloc
565
functions
34
long_functions
1
many_param_functions
0
mean_ccn
2.88
p90_ccn
10
risky_nloc_share
25.5%
Duplication (jscpd)ok
compared_lines
618
duplicated_lines
0
duplicated_share
0.0%
files
8
Lintok
category:correctness
1
findings
1
scanned_lines
841
weighted_findings
0.25
Tests and CIok
check:ci_present
no
check:ci_runs_lint
no
check:ci_runs_tests
no
check:has_tests
no
check:test_ratio
no
check:tests_cochange
no
ci_files
0
cochange_commits
4
cochange_share
0.0%
source_lines
841
test_lines
0
test_ratio
0
Documentationok1 item
  • README.md README.md
check:changelog
no
check:contributing
no
check:license
no
check:readme
yes
readme_lines
63
Type safetyok
check:low_escape_density
yes
check:strict_config
no
escapes
1
escapes_per_kloc
1

Security

62 weak

Security posture is weak: 49 known vulnerabilities in 13 dependencies. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)81
  • Vulnerable dependencies26
  • CI workflowsnot measured
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
18
declared
18
lookup_errors
0
missing
0
recent
0
Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
1
findings_high
0
findings_low
0
findings_medium
1
parse_errors
0
scanned_lines
841
weighted_findings
0.60
Dependencies (osv-scanner)ok
penalty
82
vulnerabilities
49
vulnerable_packages
13
vulns_critical
0
vulns_high
13
vulns_low
5
vulns_medium
28
vulns_unknown
3
CI workflows (zizmor)skipped
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
0.0%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

13 high32 medium6 low

SeverityRuleLocationMessageTool
high osv/GHSA-28wg-ghj8-5hjv package-lock.json [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv Dependencies (osv-scanner)
high osv/GHSA-2v37-7h3g-55p8 package-lock.json [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 Dependencies (osv-scanner)
high osv/GHSA-587h-7wmj-h5pm package-lock.json [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm Dependencies (osv-scanner)
high osv/GHSA-68fv-2mgg-jv7q package-lock.json [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q Dependencies (osv-scanner)
high osv/GHSA-6g55-p6wh-862q package-lock.json [email protected] (npm) is affected by GHSA-6g55-p6wh-862q Dependencies (osv-scanner)
high osv/GHSA-73wf-gq98-2v4g package-lock.json [email protected] (npm) is affected by GHSA-73wf-gq98-2v4g Dependencies (osv-scanner)
high osv/GHSA-c2c7-rcm5-vvqj package-lock.json [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj Dependencies (osv-scanner)
high osv/GHSA-c2c7-rcm5-vvqj package-lock.json [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj Dependencies (osv-scanner)
high osv/GHSA-c83g-rgw3-j3cx package-lock.json [email protected] (npm) is affected by GHSA-c83g-rgw3-j3cx Dependencies (osv-scanner)
high osv/GHSA-mrv2-3pqr-j5jr package-lock.json [email protected] (npm) is affected by GHSA-mrv2-3pqr-j5jr Dependencies (osv-scanner)
high osv/GHSA-mw96-cpmx-2vgc package-lock.json [email protected] (npm) is affected by GHSA-mw96-cpmx-2vgc Dependencies (osv-scanner)
high osv/GHSA-r28c-9q8g-f849 package-lock.json [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 Dependencies (osv-scanner)
high osv/GHSA-xwg4-73v4-xw9w package-lock.json [email protected] (npm) is affected by GHSA-xwg4-73v4-xw9w Dependencies (osv-scanner)
medium opengrep/typescript.react.security.audit.react-dangerouslysetinnerhtml components/MarkdownRenderer.tsx:20 Detection of dangerouslySetInnerHTML from non-constant definition. This can inadvertently expose users to cross-site scripting (XSS) attacks if this comes from user-provided input. If you have to use dangerouslySetInnerHTML, consider... Static analysis (opengrep)
medium osv/GHSA-39q2-94rc-95cp package-lock.json [email protected] (npm) is affected by GHSA-39q2-94rc-95cp Dependencies (osv-scanner)
medium osv/GHSA-3v7f-55p6-f55p package-lock.json [email protected] (npm) is affected by GHSA-3v7f-55p6-f55p Dependencies (osv-scanner)
medium osv/GHSA-3v7f-55p6-f55p package-lock.json [email protected] (npm) is affected by GHSA-3v7f-55p6-f55p Dependencies (osv-scanner)
medium osv/GHSA-4w7w-66w2-5vf9 package-lock.json [email protected] (npm) is affected by GHSA-4w7w-66w2-5vf9 Dependencies (osv-scanner)
medium osv/GHSA-55q2-fjhq-7xh7 package-lock.json [email protected] (npm) is affected by GHSA-55q2-fjhq-7xh7 Dependencies (osv-scanner)
medium osv/GHSA-6688-9rhm-gjv2 package-lock.json [email protected] (npm) is affected by GHSA-6688-9rhm-gjv2 Dependencies (osv-scanner)
medium osv/GHSA-67mh-4wv8-2f99 package-lock.json [email protected] (npm) is affected by GHSA-67mh-4wv8-2f99 Dependencies (osv-scanner)
medium osv/GHSA-698v-4r3x-3vcv package-lock.json [email protected] (npm) is affected by GHSA-698v-4r3x-3vcv Dependencies (osv-scanner)
medium osv/GHSA-76mc-f452-cxcm package-lock.json [email protected] (npm) is affected by GHSA-76mc-f452-cxcm Dependencies (osv-scanner)
medium osv/GHSA-c6gr-qvv4-5v3f package-lock.json [email protected] (npm) is affected by GHSA-c6gr-qvv4-5v3f Dependencies (osv-scanner)
medium osv/GHSA-cj63-jhhr-wcxv package-lock.json [email protected] (npm) is affected by GHSA-cj63-jhhr-wcxv Dependencies (osv-scanner)
medium osv/GHSA-cjmm-f4jc-qw8r package-lock.json [email protected] (npm) is affected by GHSA-cjmm-f4jc-qw8r Dependencies (osv-scanner)
medium osv/GHSA-cmwh-pvxp-8882 package-lock.json [email protected] (npm) is affected by GHSA-cmwh-pvxp-8882 Dependencies (osv-scanner)
medium osv/GHSA-crv5-9vww-q3g8 package-lock.json [email protected] (npm) is affected by GHSA-crv5-9vww-q3g8 Dependencies (osv-scanner)
medium osv/GHSA-fx2h-pf6j-xcff package-lock.json [email protected] (npm) is affected by GHSA-fx2h-pf6j-xcff Dependencies (osv-scanner)
medium osv/GHSA-fxqj-rqcc-2cmp package-lock.json [email protected] (npm) is affected by GHSA-fxqj-rqcc-2cmp Dependencies (osv-scanner)
medium osv/GHSA-h7mw-gpvr-xq4m package-lock.json [email protected] (npm) is affected by GHSA-h7mw-gpvr-xq4m Dependencies (osv-scanner)
medium osv/GHSA-h8r8-wccr-v5f2 package-lock.json [email protected] (npm) is affected by GHSA-h8r8-wccr-v5f2 Dependencies (osv-scanner)
medium osv/GHSA-hpcv-96wg-7vj8 package-lock.json [email protected] (npm) is affected by GHSA-hpcv-96wg-7vj8 Dependencies (osv-scanner)
medium osv/GHSA-qx2v-qp2m-jg93 package-lock.json [email protected] (npm) is affected by GHSA-qx2v-qp2m-jg93 Dependencies (osv-scanner)
medium osv/GHSA-r47g-fvhr-h676 package-lock.json [email protected] (npm) is affected by GHSA-r47g-fvhr-h676 Dependencies (osv-scanner)
medium osv/GHSA-r825-w8mm-5pxw package-lock.json [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw Dependencies (osv-scanner)
medium osv/GHSA-rj75-hqrm-r3gf package-lock.json [email protected] (npm) is affected by GHSA-rj75-hqrm-r3gf Dependencies (osv-scanner)
medium osv/GHSA-rp9w-3fw7-7cwq package-lock.json [email protected] (npm) is affected by GHSA-rp9w-3fw7-7cwq Dependencies (osv-scanner)
medium osv/GHSA-rq7h-c2jc-7f22 package-lock.json [email protected] (npm) is affected by GHSA-rq7h-c2jc-7f22 Dependencies (osv-scanner)
medium osv/GHSA-v2wj-7wpq-c8vv package-lock.json [email protected] (npm) is affected by GHSA-v2wj-7wpq-c8vv Dependencies (osv-scanner)
medium osv/GHSA-v6wh-96g9-6wx3 package-lock.json [email protected] (npm) is affected by GHSA-v6wh-96g9-6wx3 Dependencies (osv-scanner)
medium osv/GHSA-v9jr-rg53-9pgp package-lock.json [email protected] (npm) is affected by GHSA-v9jr-rg53-9pgp Dependencies (osv-scanner)
medium osv/GHSA-w5vr-8v7q-w6rv package-lock.json [email protected] (npm) is affected by GHSA-w5vr-8v7q-w6rv Dependencies (osv-scanner)
medium osv/GHSA-w9m9-85wc-3x92 package-lock.json [email protected] (npm) is affected by GHSA-w9m9-85wc-3x92 Dependencies (osv-scanner)
medium osv/GHSA-x4vx-rjvf-j5p4 package-lock.json [email protected] (npm) is affected by GHSA-x4vx-rjvf-j5p4 Dependencies (osv-scanner)
low opengrep/javascript.lang.correctness.useless-assignment App.tsx:171 `e.target.style.height` is assigned twice; the first assignment is useless Lint
low osv/GHSA-4x5r-pxfx-6jf8 package-lock.json @babel/[email protected] (npm) is affected by GHSA-4x5r-pxfx-6jf8 Dependencies (osv-scanner)
low osv/GHSA-9jrq-w75r-8gcw package-lock.json [email protected] (npm) is affected by GHSA-9jrq-w75r-8gcw Dependencies (osv-scanner)
low osv/GHSA-c2j3-45gr-mqc4 package-lock.json [email protected] (npm) is affected by GHSA-c2j3-45gr-mqc4 Dependencies (osv-scanner)
low osv/GHSA-gvmj-g25r-r7wr package-lock.json [email protected] (npm) is affected by GHSA-gvmj-g25r-r7wr Dependencies (osv-scanner)
low osv/GHSA-vxr8-fq34-vvx9 package-lock.json [email protected] (npm) is affected by GHSA-vxr8-fq34-vvx9 Dependencies (osv-scanner)

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.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceskipped—0
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4141
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityskipped—0
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.149
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4141
OpenSSF ScorecardSecurityskipped—0no published OpenSSF Scorecard result for this repo
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-14a63f178005c4prov-5+qual-2+sec-20%4962
2026-11-14a63f178005c4prov-4+qual-2+sec-20%4962

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/mrcmilano/ollama-local-chat/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/mrcmilano/ollama-local-chat/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/mrcmilano/ollama-local-chat/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/mrcmilano/ollama-local-chat/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/mrcmilano/ollama-local-chat/security.svg)](https://repotrust.synapticcyber.com/r/github.com/mrcmilano/ollama-local-chat/)
Full text report

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 42% 100%
Code quality 49 poor 90% 100%
Security 62 weak 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
Month Lines added Attributed to AI
2025-12 924 0%

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 poor: test-to-source ratio 0.00, no CI test run detected; 25% of function code in complex or long functions; 0% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 46
Duplication 100
Code smells (Opengrep) 94
Tests and CI 0
Documentation 40
Type safety 40
Process (Scorecard review/maintenance) n/a
  • Functions: 34; mean complexity 2.9, 90th percentile 10; 1 complex and 1 long functions
  • Duplicated lines: 0.0% of 618 compared
  • Tests: 0 test lines for 841 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
  • Docs missing or thin: license, contributing, changelog

Most complex functions:

Security

Security posture is weak: 49 known vulnerabilities in 13 dependencies. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 81
Vulnerable dependencies (OSV) 26
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Known vulnerabilities: 49 in 13 packages (critical 0, high 13, medium 28, low 5)

  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits

Top findings

Severity Finding Location
high osv/GHSA-73wf-gq98-2v4g: [email protected] (npm) is affected by GHSA-73wf-gq98-2v4g package-lock.json
high osv/GHSA-c83g-rgw3-j3cx: [email protected] (npm) is affected by GHSA-c83g-rgw3-j3cx package-lock.json
high osv/GHSA-mrv2-3pqr-j5jr: [email protected] (npm) is affected by GHSA-mrv2-3pqr-j5jr package-lock.json
high osv/GHSA-28wg-ghj8-5hjv: [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv package-lock.json
high osv/GHSA-2v37-7h3g-55p8: [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 package-lock.json
high osv/GHSA-xwg4-73v4-xw9w: [email protected] (npm) is affected by GHSA-xwg4-73v4-xw9w package-lock.json
high osv/GHSA-c2c7-rcm5-vvqj: [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj package-lock.json
high osv/GHSA-c2c7-rcm5-vvqj: [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj package-lock.json
high osv/GHSA-6g55-p6wh-862q: [email protected] (npm) is affected by GHSA-6g55-p6wh-862q package-lock.json
high osv/GHSA-r28c-9q8g-f849: [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 package-lock.json
high osv/GHSA-mw96-cpmx-2vgc: [email protected] (npm) is affected by GHSA-mw96-cpmx-2vgc package-lock.json
high osv/GHSA-68fv-2mgg-jv7q: [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q package-lock.json
high osv/GHSA-587h-7wmj-h5pm: [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm package-lock.json
medium opengrep/typescript.react.security.audit.react-dangerouslysetinnerhtml: Detection of dangerouslySetInnerHTML from non-constant definition. This can inadvertently expose users to cross-site scripting (XSS) attacks if this comes from user-provided input. If you have to use dangerouslySetInnerHTML, consider using a sanitization library such as DOMPurify to sanitize your HT [confidence medium] components/MarkdownRenderer.tsx:20
medium osv/GHSA-w5vr-8v7q-w6rv: [email protected] (npm) is affected by GHSA-w5vr-8v7q-w6rv package-lock.json
medium osv/GHSA-39q2-94rc-95cp: [email protected] (npm) is affected by GHSA-39q2-94rc-95cp package-lock.json
medium osv/GHSA-55q2-fjhq-7xh7: [email protected] (npm) is affected by GHSA-55q2-fjhq-7xh7 package-lock.json
medium osv/GHSA-6688-9rhm-gjv2: [email protected] (npm) is affected by GHSA-6688-9rhm-gjv2 package-lock.json
medium osv/GHSA-76mc-f452-cxcm: [email protected] (npm) is affected by GHSA-76mc-f452-cxcm package-lock.json
medium osv/GHSA-c6gr-qvv4-5v3f: [email protected] (npm) is affected by GHSA-c6gr-qvv4-5v3f package-lock.json
medium osv/GHSA-cj63-jhhr-wcxv: [email protected] (npm) is affected by GHSA-cj63-jhhr-wcxv package-lock.json
medium osv/GHSA-cjmm-f4jc-qw8r: [email protected] (npm) is affected by GHSA-cjmm-f4jc-qw8r package-lock.json
medium osv/GHSA-cmwh-pvxp-8882: [email protected] (npm) is affected by GHSA-cmwh-pvxp-8882 package-lock.json
medium osv/GHSA-crv5-9vww-q3g8: [email protected] (npm) is affected by GHSA-crv5-9vww-q3g8 package-lock.json
medium osv/GHSA-h7mw-gpvr-xq4m: [email protected] (npm) is affected by GHSA-h7mw-gpvr-xq4m package-lock.json

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.

Repository profile

  • Source lines: 841; test lines: 0
Language Lines
TypeScript 841