zenazn/goji
Goji is a minimalistic web framework for Golang that's high in antioxidants.
- Repository: https://github.com/zenazn/goji
- Commit:
a16712d37ba72246f71f9c8012974d46f8e61d16 - Generated: 2026-11-13T23:22:02+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 | 76 | adequate | 90% | 100% |
| Security | 69 | 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 |
|---|---|---|
| 2015-07 | 1 | 0% |
| 2015-08 | 31 | 0% |
| 2015-11 | 22 | 0% |
| 2016-01 | 88 | 0% |
| 2016-03 | 46 | 0% |
| 2016-08 | 22 | 0% |
| 2017-08 | 20 | 0% |
| 2018-03 | 1 | 0% |
| 2018-08 | 1 | 0% |
| 2018-09 | 10 | 0% |
| 2018-12 | 41 | 0% |
| 2019-05 | 39 | 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.49, CI runs tests; 5% of function code in complex or long functions; 6% duplicated lines. Weakest area: process.
| Area | Score |
|---|---|
| Complexity (lizard) | 86 |
| Duplication | 69 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 87 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | 15 |
- Functions: 280; mean complexity 2.1, 90th percentile 4; 2 complex and 0 long functions
- Duplicated lines: 6.2% of 2,923 compared
- Tests: 2,110 test lines for 4,348 source lines (ratio 0.49); CI test commands: go test; 19% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- match in web/string_pattern.go: complexity 19, 54 lines
- route in web/bytecode_runner.go: complexity 17, 57 lines
Security
Security posture is weak: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 87 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | 25 |
- Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
- OpenSSF Scorecard aggregate: 2.5/10 (published 2026-11-09)
Top findings
| Severity | Finding | Location |
|---|---|---|
| medium | opengrep/go.lang.security.audit.crypto.missing-ssl-minversion: MinVersion is missing from this TLS configuration. By default, TLS 1.2 is currently used as the minimum when acting as a client, and TLS 1.0 when acting as a server. General purpose web applications should default to TLS 1.3 with all other protocols disabled. Only where it is known that a web se [confidence high] |
graceful/clone16.go:11 |
| 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] |
web/atomic.go:11 |
| 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] |
web/atomic.go:16 |
| 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] |
web/atomic.go:17 |
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: 4,348; test lines: 2,110
| Language | Lines |
|---|---|
| Go | 6,458 |