RepoTrust

Leaderboard github.com

qax-os/goreporter

A Golang tool that does static analysis, unit testing, code review and generate code quality report.

  • View repository ↗
  • Go
  • ★ 3,124
  • commit df1b20f7c5d0
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
65%
Coverage
100%

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

Code quality

54/100

weak

Confidence
90%
Coverage
100%

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

Security

72/100

adequate

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 pace0
  • Coding-style index (1.0+ means possible)0.12

Lines added per month all AI-attributed share

  1. 2017-0370,964 · 0% AI
  2. 2017-0497,943 · 0% AI
  3. 2017-056,615 · 0% AI
  4. 2017-06564 · 0% AI
  5. 2017-0713,093 · 0% AI
  6. 2017-08211 · 0% AI
  7. 2017-091,255 · 0% AI
  8. 2017-103,037 · 0% AI
  9. 2017-115 · 0% AI
  10. 2017-123 · 0% AI
  11. 2018-0416 · 0% AI
  12. 2018-0548 · 0% AI
  13. 2018-095 · 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
209
effective_loc
193,759
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
64,922
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
18,618.35
measured_loc
128,837
median_loc_per_hour
98.34
pr_timed_units
2
pre_ai_era_burst_loc
110,001
pre_ai_era_bursts
5
pre_ai_era_measured_loc
128,837
work_units
94
Release velocityok
flagged_releases
0
max_loc_per_day
110,001.60
releases
17
Coding styleok5 items
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
5
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
2
files:placeholder
0
index
0.12
lines_scanned
41,135
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0.12
per_kloc:placeholder
0

Code quality

54 weak

Code quality is weak: test-to-source ratio 0.11, no CI test run detected; 22% of function code in complex or long functions; 18% duplicated lines. Weakest area: process.

How the score is built

  • Complexity52
  • Duplication35
  • Lint and smells95
  • Tests and CI51
  • Documentation80
  • Type safetynot measured
  • Review process5

Evidence by analyzer

Complexity (lizard)ok10 items
complex_functions
74
function_nloc
27,137
functions
2,294
long_functions
13
many_param_functions
0
mean_ccn
3.57
p90_ccn
8
risky_nloc_share
21.7%
Duplication (jscpd)ok10 items
compared_lines
29,658
duplicated_lines
5,209
duplicated_share
17.6%
files
349
Lintok
category:correctness
12
findings
12
scanned_lines
43,363
weighted_findings
9
Tests and CIok1 item
  • CI config: .travis.yml .travis.yml
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
no
check:has_tests
yes
check:test_ratio
no
check:tests_cochange
yes
ci_files
1
cochange_commits
126
cochange_share
26.2%
source_lines
43,363
test_lines
4,941
test_ratio
0.11
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
71
Type safetyskipped

Security

72 adequate

Security posture is adequate: 1 high-severity SAST findings. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)98
  • Vulnerable dependenciesnot measured
  • CI workflowsnot measured
  • Security posture0
  • OpenSSF Scorecard20

Evidence by analyzer

OpenSSF Scorecardok10 items
aggregate
2
check:Binary-Artifacts
yes
check:Branch-Protection
no
check:CII-Best-Practices
no
check:Code-Review
yes
check:Fuzzing
no
check:License
yes
check:Maintained
no
check:Pinned-Dependencies
no
check:SAST
no
check:Security-Policy
no
Package registriesskipped

no registry dependencies declared

Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
7
findings_high
1
findings_low
0
findings_medium
6
parse_errors
0
scanned_lines
43,363
weighted_findings
2.60
Dependencies (osv-scanner)skipped
CI workflows (zizmor)skipped
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
14.5%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

1 high14 medium4 low

SeverityRuleLocationMessageTool
high opengrep/go.lang.security.audit.dangerous-exec-command engine/report2html.go:817 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... Static analysis (opengrep)
medium opengrep/go.lang.correctness.permissions.incorrect-default-permission engine/report2html.go:764 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 engine/report2html.go:779 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 engine/reporter.go:170 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.use-filepath-join linters/countcode/countcode.go:186 `path.Join(...)` always joins using a forward slash. This may cause issues on Windows or other systems using a different delimiter. Use `filepath.Join(...)` instead which uses OS-specific path separators. Lint
medium opengrep/go.lang.correctness.use-filepath-join linters/countcode/countcode.go:190 `path.Join(...)` always joins using a forward slash. This may cause issues on Windows or other systems using a different delimiter. Use `filepath.Join(...)` instead which uses OS-specific path separators. Lint
medium opengrep/go.lang.correctness.permissions.incorrect-default-permission linters/depend/depend.go:127 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.use-filepath-join linters/simplecode/lint/testutil/util.go:50 `path.Join(...)` always joins using a forward slash. This may cause issues on Windows or other systems using a different delimiter. Use `filepath.Join(...)` instead which uses OS-specific path separators. Lint
medium opengrep/go.lang.correctness.use-filepath-join linters/simpler/lint/testutil/util.go:71 `path.Join(...)` always joins using a forward slash. This may cause issues on Windows or other systems using a different delimiter. Use `filepath.Join(...)` instead which uses OS-specific path separators. Lint
medium opengrep/go.lang.security.audit.xss.unsafe-template-type engine/report2html.go:741 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)
medium opengrep/go.lang.security.audit.use-of-unsafe-block linters/aligncheck/aligncheck.go:117 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... Static analysis (opengrep)
medium opengrep/go.lang.security.audit.crypto.use-of-sha1 linters/copycheck/syntax/syntax.go:168 Detected SHA1 hash algorithm which is considered insecure. SHA1 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] Static analysis (opengrep)
medium opengrep/go.lang.security.audit.xss.import-text-template linters/simpler/ssa/testmain.go:25 When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the `text/template` package does not... Static analysis (opengrep)
medium opengrep/go.lang.security.audit.xss.import-text-template linters/spellcheck/spellcheck.go:12 When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the `text/template` package does not... Static analysis (opengrep)
medium opengrep/go.lang.security.audit.xss.import-text-template linters/staticcheck/lint.go:17 When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the `text/template` package does not... Static analysis (opengrep)
low opengrep/go.lang.correctness.hardcoded-eq-true-or-false linters/simpler/ssa/func.go:618 Detected useless if statement. 'if (True)' and 'if (False)' always result in the same behavior, and therefore is not necessary in the code. Remove the 'if (False)' expression completely or just the 'if (True)' comparison depending on... Lint
low opengrep/go.lang.correctness.hardcoded-eq-true-or-false linters/simpler/ssa/testmain.go:157 Detected useless if statement. 'if (True)' and 'if (False)' always result in the same behavior, and therefore is not necessary in the code. Remove the 'if (False)' expression completely or just the 'if (True)' comparison depending on... Lint
low opengrep/go.lang.correctness.eqeq-is-bad linters/spellcheck/spellcheck.go:185 Detected useless comparison operation `outFlag == outFlag` or `outFlag != outFlag`. This will always return 'True' or 'False' and therefore is not necessary. Instead, remove this comparison operation or use another comparison expression... Lint
low opengrep/go.lang.correctness.eqeq-is-bad linters/spellcheck/spellcheck.go:204 Detected useless comparison operation `workers == workers` or `workers != workers`. This will always return 'True' or 'False' and therefore is not necessary. Instead, remove this comparison operation or use another comparison expression... Lint

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
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b41412
Tests and CICode qualityok—0
Type safetyCode qualityskipped—0
CI workflows (zizmor)Securityskipped—0
Dependencies (osv-scanner)Securityskipped—0
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityskipped—0no registry dependencies declared
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4147
OpenSSF ScorecardSecurityokscorecard v5.6.00
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-14df1b20f7c5d0prov-5+qual-2+sec-20%5472
2026-11-14df1b20f7c5d0prov-4+qual-2+sec-20%5472

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/qax-os/goreporter/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/qax-os/goreporter/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/qax-os/goreporter/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/qax-os/goreporter/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/qax-os/goreporter/security.svg)](https://repotrust.synapticcyber.com/r/github.com/qax-os/goreporter/)
Full text report
  • Repository: https://github.com/qax-os/goreporter
  • Commit: df1b20f7c5d0f3538a3dc2cc04f68c59ba177fc5
  • Generated: 2026-11-14T14:52:06+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) 0 none-detected 65% 100%
Code quality 54 weak 90% 100%
Security 72 adequate 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%

  • Stylometry index: 0.12 per 1,000 lines (narrated steps 5, placeholders 0, assistant phrasing 0, emoji 0). Reported as a signal, not scored.

Month Lines added Attributed to AI
2017-04 97,943 0%
2017-05 6,615 0%
2017-06 564 0%
2017-07 13,093 0%
2017-08 211 0%
2017-09 1,255 0%
2017-10 3,037 0%
2017-11 5 0%
2017-12 3 0%
2018-04 16 0%
2018-05 48 0%
2018-09 5 0%

Evidence

  • step-by-step narration comment: // First, scan for the last comment that occurs before the "package" keyword. (linters/goli)
  • step-by-step narration comment: // Step 1. Number vertices by depth-first preorder. (linters/simp)
  • step-by-step narration comment: // Step 3. Implicitly define the immediate dominator of each node. (linters/simp)
  • step-by-step narration comment: // Step 2. Compute the semidominators of all nodes. (linters/simp)
  • step-by-step narration comment: // Step 4. Explicitly define the immediate dominator of each (linters/simp)

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.11, no CI test run detected; 22% of function code in complex or long functions; 18% duplicated lines. Weakest area: process.

Area Score
Complexity (lizard) 52
Duplication 35
Code smells (Opengrep) 95
Tests and CI 51
Documentation 80
Type safety n/a
Process (Scorecard review/maintenance) 5
  • Functions: 2,294; mean complexity 3.6, 90th percentile 8; 74 complex and 13 long functions
  • Duplicated lines: 17.6% of 29,658 compared
  • Tests: 4,941 test lines for 43,363 source lines (ratio 0.11); CI test commands: none detected; 26% of recent source commits also change tests
  • Docs missing or thin: changelog

Most complex functions:

Security

Security posture is adequate: 1 high-severity SAST findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 98
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: 2.0/10 (published 2026-10-19)

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] engine/report2html.go:817
medium opengrep/go.lang.security.audit.xss.unsafe-template-type: 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 template, you may have a XSS vulnerability. Instead, do not use [confidence low] engine/report2html.go:741
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] linters/aligncheck/aligncheck.go:117
medium opengrep/go.lang.security.audit.crypto.use-of-sha1: Detected SHA1 hash algorithm which is considered insecure. SHA1 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] linters/copycheck/syntax/syntax.go:168
medium opengrep/go.lang.security.audit.xss.import-text-template: When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the text/template package does not automatically escape HTML content, which can leave your application vuln [confidence low] linters/simpler/ssa/testmain.go:25
medium opengrep/go.lang.security.audit.xss.import-text-template: When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the text/template package does not automatically escape HTML content, which can leave your application vuln [confidence low] linters/spellcheck/spellcheck.go:12
medium opengrep/go.lang.security.audit.xss.import-text-template: When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the text/template package does not automatically escape HTML content, which can leave your application vuln [confidence low] linters/staticcheck/lint.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: 43,363; test lines: 4,941
Language Lines
Go 48,290
Shell 14