rgburke/grv
GRV is a terminal interface for viewing git repositories
- Repository: https://github.com/rgburke/grv
- Commit:
cffa246f92566fa385373cee82349f84d7c28212 - Generated: 2026-11-13T23:21:50+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | none-detected | 65% | 100% |
| Code quality | 69 | adequate | 90% | 100% |
| Security | 70 | 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 |
|---|---|---|
| 2018-05 | 3,910 | 0% |
| 2018-06 | 4,138 | 0% |
| 2018-07 | 2,026 | 0% |
| 2018-08 | 1,139 | 0% |
| 2018-09 | 2,495 | 0% |
| 2018-10 | 1 | 0% |
| 2018-12 | 774 | 0% |
| 2019-01 | 908 | 0% |
| 2019-02 | 782 | 0% |
| 2019-03 | 388 | 0% |
| 2019-04 | 7 | 0% |
| 2019-05 | 112 | 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 adequate: test-to-source ratio 0.28, CI runs tests; 14% of function code in complex or long functions; 2% duplicated lines. Weakest area: process.
| Area | Score |
|---|---|
| Complexity (lizard) | 66 |
| Duplication | 87 |
| Code smells (Opengrep) | 92 |
| Tests and CI | 77 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | 0 |
- Functions: 1,527; mean complexity 2.8, 90th percentile 6; 23 complex and 4 long functions
- Duplicated lines: 2.3% of 18,045 compared
- Tests: 7,919 test lines for 28,310 source lines (ratio 0.28); CI test commands: make test; 20% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- Scan in cmd/grv/query_scan.go: complexity 35, 127 lines
- generateDiffLinesForDiff in cmd/grv/diff_view.go: complexity 26, 107 lines
- processDiffHeader in cmd/grv/fancy_diff_view.go: complexity 23, 98 lines
- HandleAction in cmd/grv/view.go: complexity 23, 82 lines
- Scan in cmd/grv/config_scan.go: complexity 22, 69 lines
Security
Security posture is weak: 5 high-severity SAST findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 92 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | 20 |
- Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
- OpenSSF Scorecard aggregate: 1.7/10 (published 2026-11-02)
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | opengrep/go.lang.security.audit.dangerous-exec-command: Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] |
cmd/grv/git_command_repo_controller.go:292 |
| high | opengrep/go.lang.security.audit.dangerous-exec-command: Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] |
cmd/grv/grv.go:525 |
| high | opengrep/go.lang.security.audit.dangerous-exec-command: Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] |
cmd/grv/grv.go:527 |
| high | opengrep/go.lang.security.audit.dangerous-exec-command: Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] |
cmd/grv/repo_data_loader.go:1430 |
| high | opengrep/go.lang.security.audit.dangerous-exec-command: Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] |
cmd/grv/repo_data_loader.go:1439 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/readline.go:145 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/readline.go:160 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/readline.go:182 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/readline.go:185 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/readline.go:310 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:215 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:318 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:517 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:519 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:798 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:802 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
cmd/grv/ui.go:806 |
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 v0.3.2 ships grv-0.3.2-src.tar.gz (543 downloads)
- binary-release-asset: release v0.3.1 ships grv-0.3.1-src.tar.gz (161 downloads)
- binary-release-asset: release v0.3.0 ships grv-0.3.0-src.tar.gz (179 downloads)
- binary-release-asset: release v0.2.0 ships grv-0.2.0-src.tar.gz (340 downloads)
- binary-release-asset: release v0.1.3 ships grv-0.1.3-src.tar.gz (163 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: 28,310; test lines: 7,919
| Language | Lines |
|---|---|
| Go | 36,229 |