RepoTrust

Leaderboard github.com

brpaz/reefgraph

Draw Mermaid diagrams visually: a GTK4 and libadwaita editor for common used Mermaid diagrams

  • View repository ↗
  • Rust
  • ★ 0
  • commit 22865cbdbcd6
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

unreviewed-ai-risk

AI provenance

100%

explicit

Confidence
82%
Coverage
100%

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

Code quality

59/100

weak

Confidence
90%
Coverage
100%

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

Security

77/100

adequate

Confidence
85%
Coverage
100%

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

AI provenance

100% explicit

Explicit AI attribution on 100% of first-party code added; an estimated 100% including velocity signals.

How the score is built

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

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code3727,6502026-10-112026-11-01

Lines added per month all AI-attributed share

  1. 2026-1027,650 · 100% AI
  2. 2026-110 · 0% AI

Findings in AI-attributed lines vs the rest

From git blame: 25,374 lines trace to AI-attributed commits, 0 to others. Too few lines in one group for a fair comparison. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality0.00——
Security0.04——

Evidence by analyzer

Explicit AI attributionok26 items
attributed_commit_share
75.5%
attributed_commits
37
attributed_loc
27,650
attributed_loc_share
100.0%
commits
49
effective_loc
27,650
tools_detected
1
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok1 item
excluded_import_loc
9,619
flagged_loc
17,415
flagged_loc_share
96.6%
flagged_units
1
max_loc_per_hour
2,710.27
measured_loc
18,031
median_loc_per_hour
86.78
pr_timed_units
2
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
4
Release velocityok
flagged_releases
0
max_loc_per_day
826.50
releases
5
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
25,374
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0
Findings in AI-written linesok
ai_lines
25,374
blame_failures
0
files_blamed
99
other_lines
0
quality:ai_findings
0
quality:ai_per_kloc
0
quality:other_findings
0
security:ai_findings
1
security:ai_per_kloc
0.04
security:other_findings
0

Code quality

59 weak

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

How the score is built

  • Complexity66
  • Duplication45
  • Lint and smells100
  • Tests and CI25
  • Documentation100
  • Type safety40
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok10 items
complex_functions
22
function_nloc
18,724
functions
1,319
long_functions
9
many_param_functions
1
mean_ccn
3
p90_ccn
7
risky_nloc_share
13.7%
Duplication (jscpd)ok10 items
compared_lines
18,025
duplicated_lines
2,410
duplicated_share
13.4%
files
99
Lintok
findings
0
scanned_lines
25,374
weighted_findings
0
Tests and CIok6 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI config: .github/workflows/draft-release.yml .github/workflows/draft-release.yml
  • CI config: .github/workflows/gitleaks.yml .github/workflows/gitleaks.yml
  • CI config: .github/workflows/pr-title-checker.yml .github/workflows/pr-title-checker.yml
  • CI config: .github/workflows/update-changelog.yml .github/workflows/update-changelog.yml
  • CI runs linters (clippy, cargo fmt)
check:ci_present
yes
check:ci_runs_lint
yes
check:ci_runs_tests
no
check:has_tests
no
check:test_ratio
no
check:tests_cochange
no
ci_files
5
cochange_commits
20
cochange_share
0.0%
source_lines
25,374
test_lines
0
test_ratio
0
Documentationok4 items
  • README.md README.md
  • LICENSE.md LICENSE.md
  • CONTRIBUTING.md CONTRIBUTING.md
  • CHANGELOG.md CHANGELOG.md
check:changelog
yes
check:contributing
yes
check:license
yes
check:readme
yes
readme_lines
56
Type safetyok
check:low_escape_density
yes
check:strict_config
no
escapes
0
escapes_per_kloc
0

Security

77 adequate

Security posture is adequate: 37 high-severity workflow issues. Weakest area: ci actions.

How the score is built

  • Secrets100
  • Static analysis (SAST)100
  • Vulnerable dependencies100
  • CI workflows0
  • Security posture40
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
7
declared
7
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
1
findings_medium
0
parse_errors
0
scanned_lines
25,374
weighted_findings
0.25
Dependencies (osv-scanner)ok
penalty
0
vulnerabilities
0
vulnerable_packages
0
vulns_critical
0
vulns_high
0
vulns_low
0
vulns_medium
0
vulns_unknown
0
CI workflows (zizmor)ok
findings
57
findings_high
37
findings_low
15
findings_medium
5
penalty
428.70
workflows
5
Security postureok1 item
  • Dependency updates: renovate.json renovate.json
check:dependency_updates
yes
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
30.6%
unpinned_manifests
0
Release downloadsok5 items
binary_assets
12
signals
1
suspicious
0

Findings

37 high5 medium12 low4 info

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:100 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:133 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/template-injection .github/workflows/ci.yml:139 code injection via template expansion [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:145 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-images .github/workflows/ci.yml:15 unpinned image references [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:155 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:160 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:184 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/cache-poisoning .github/workflows/ci.yml:185 runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:185 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:20 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:208 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/cache-poisoning .github/workflows/ci.yml:21 runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:21 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:212 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-images .github/workflows/ci.yml:228 unpinned image references [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:234 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/cache-poisoning .github/workflows/ci.yml:235 runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:235 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:258 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:262 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:277 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:281 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:286 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-images .github/workflows/ci.yml:39 unpinned image references [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:47 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/cache-poisoning .github/workflows/ci.yml:48 runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:48 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:82 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:92 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/draft-release.yml:14 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/gitleaks.yml:18 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/gitleaks.yml:22 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/pr-title-checker.yml:24 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/update-changelog.yml:14 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/template-injection .github/workflows/update-changelog.yml:21 code injection via template expansion [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/update-changelog.yml:26 unpinned action reference [confidence high] CI workflows (zizmor)
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:11 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:36 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:59 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/archived-uses .github/workflows/pr-title-checker.yml:24 action or reusable workflow from archived repository [confidence high] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:133 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:184 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/self-repository .github/workflows/ci.yml:192 use GitHub's dedicated self-repository syntax [confidence high] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:20 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:234 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/self-repository .github/workflows/ci.yml:242 use GitHub's dedicated self-repository syntax [confidence high] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:47 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:82 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/draft-release.yml:14 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/gitleaks.yml:18 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/update-changelog.yml:13 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low opengrep/rust.lang.security.unsafe-usage src/main.rs:20 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
info zizmor/template-injection .github/workflows/ci.yml:153 code injection via template expansion [confidence low] CI workflows (zizmor)
info zizmor/template-injection .github/workflows/ci.yml:153 code injection via template expansion [confidence low] CI workflows (zizmor)
info zizmor/superfluous-actions .github/workflows/ci.yml:160 action functionality is already included by the runner [confidence high] CI workflows (zizmor)
info zizmor/superfluous-actions .github/workflows/ci.yml:286 action functionality is already included by the runner [confidence high] CI workflows (zizmor)

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 provenanceokprov-40
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Findings in AI-written linesAI provenanceokgit-blame0
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4140
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.057
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.10
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-1422865cbdbcd6prov-5+qual-2+sec-2100%5977
2026-11-1422865cbdbcd6prov-4+qual-2+sec-2100%5977

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/brpaz/reefgraph/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/brpaz/reefgraph/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/brpaz/reefgraph/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/brpaz/reefgraph/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/brpaz/reefgraph/security.svg)](https://repotrust.synapticcyber.com/r/github.com/brpaz/reefgraph/)
Full text report
  • Repository: https://github.com/brpaz/reefgraph
  • Commit: 22865cbdbcd618704dd54423a5e90f353fdca26a
  • Generated: 2026-11-14T14:52:03+00:00
  • Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2

Scores

Unreviewed AI code risk: a large share of this code is explicitly AI-attributed, and its tests or review process are weak while quality or security scores are low.

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 100 explicit 82% 100%
Code quality 59 weak 90% 100%
Security 77 adequate 85% 100%

AI provenance

Explicit AI attribution on 100% of first-party code added; an estimated 100% including velocity signals.

  • Explicitly attributed share (lower bound): 100.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 100.0%
AI tool Attributed commits Lines added
Claude Code 37 27,650

Current source lines last changed by AI-attributed commits: 25,374 of 25,374.

Too few lines in one group to compare finding densities.

Month Lines added Attributed to AI
2026-10 27,650 100%

Evidence

  • Claude Code: trailer 'Co-authored-by: Claude' (22865cbdbcd6)
  • Claude Code: trailer 'Co-authored-by: Claude' (29f21c8d4977)
  • Claude Code: trailer 'Co-authored-by: Claude' (75d1fb08677a)
  • Claude Code: trailer 'Co-Authored-By: Claude' (502091cba0cb)
  • Claude Code: trailer 'Co-Authored-By: Claude' (491a132a1210)
  • Claude Code: trailer 'Co-authored-by: Claude' (d21cd20c6871)
  • Claude Code: trailer 'Co-Authored-By: Claude' (86e3ca38d21b)
  • Claude Code: trailer 'Co-authored-by: Claude' (ac467acc0fb3)
  • Claude Code: trailer 'Co-Authored-By: Claude' (df1782c8d6b7)
  • Claude Code: trailer 'Co-Authored-By: Claude' (a033e680c638)
  • Claude Code: trailer 'Co-Authored-By: Claude' (4e7c84c66ef8)
  • Claude Code: trailer 'Co-Authored-By: Claude' (3d4affd7fdfc)
  • Claude Code: trailer 'Co-Authored-By: Claude' (af6448d4cc74)
  • Claude Code: trailer 'Co-Authored-By: Claude' (589daea36a6e)
  • Claude Code: trailer 'Co-Authored-By: Claude' (a9cfb7bcb3c2)

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

Area Score
Complexity (lizard) 66
Duplication 45
Code smells (Opengrep) 100
Tests and CI 25
Documentation 100
Type safety 40
Process (Scorecard review/maintenance) n/a
  • Functions: 1,319; mean complexity 3.0, 90th percentile 7; 22 complex and 9 long functions
  • Duplicated lines: 13.4% of 18,025 compared
  • Tests: 0 test lines for 25,374 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
  • Docs missing or thin: none

Most complex functions:

Security

Security posture is adequate: 37 high-severity workflow issues. Weakest area: ci actions.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 100
Vulnerable dependencies (OSV) 100
CI workflows (zizmor) 0
Posture (policy, updates, signing, lockfiles) 40
OpenSSF Scorecard n/a
  • Posture checks passed: dependency updates, lockfiles; missing: security policy, signed commits

Top findings

Severity Finding Location
high zizmor/template-injection: code injection via template expansion [confidence high] .github/workflows/ci.yml:139
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:20
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:21
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:47
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:48
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:82
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:92
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:100
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:133
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:145
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:155
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:160
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:184
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:185
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:208
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:212
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:234
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:235
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:258
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:262
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:277
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:281
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:286
high zizmor/cache-poisoning: runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] .github/workflows/ci.yml:21
high zizmor/cache-poisoning: runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] .github/workflows/ci.yml:48

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

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: 25,374; test lines: 0
Language Lines
Rust 25,298
Python 50
Shell 26