RepoTrust

Leaderboard github.com

thade/speakerctrl

speakerctrl`is the central control daemon for SpeakerOS. It turns a Raspberry Pi into a single-purpose, appliance-style network speaker.

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

AI provenance

0%

explicit

Confidence
86%
Coverage
100%

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

Code quality

73/100

adequate

Confidence
90%
Coverage
100%

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

Security

76/100

adequate

Confidence
85%
Coverage
100%

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

AI provenance

0% explicit

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

How the score is built

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

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code622026-02-172026-02-17

Lines added per month all AI-attributed share

  1. 2026-018,385 · 0% AI
  2. 2026-022 · 100% AI

Findings in AI-attributed lines vs the rest

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

Findings per 1,000 linesAI-attributedOtherRatio
Code quality0.000.15—
Security0.000.29—

Evidence by analyzer

Explicit AI attributionok7 items
attributed_commit_share
9.2%
attributed_commits
6
attributed_loc
2
attributed_loc_share
0.0%
commits
65
effective_loc
8,387
tools_detected
1
AI tool configurationok1 item
artifacts
1
earliest_adoption
2026-01-09
tools_configured
1
workflow_agents
0
Commit velocityok
excluded_import_loc
0
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
707.23
measured_loc
8,387
median_loc_per_hour
164
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
16
Release velocityok
flagged_releases
0
max_loc_per_day
2,512.30
releases
4
Coding styleok7 items
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
1
count:placeholder
6
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
1
files:placeholder
2
index
1.90
lines_scanned
6,853
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0.15
per_kloc:placeholder
0.88
Findings in AI-written linesok
ai_lines
2
blame_failures
0
files_blamed
17
other_lines
6,851
quality:ai_findings
0
quality:ai_per_kloc
0
quality:other_findings
1
quality:other_per_kloc
0.15
security:ai_findings
0
security:ai_per_kloc
0
security:other_findings
2
security:other_per_kloc
0.29

Code quality

73 adequate

Code quality is adequate: test-to-source ratio 0.01, CI runs tests; 7% of function code in complex or long functions; 6% duplicated lines. Weakest area: testing.

How the score is built

  • Complexity82
  • Duplication69
  • Lint and smells99
  • Tests and CI56
  • Documentation65
  • Type safetynot measured
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok2 items
complex_functions
2
function_nloc
4,757
functions
368
long_functions
2
many_param_functions
0
mean_ccn
2.75
p90_ccn
6
risky_nloc_share
6.8%
Duplication (jscpd)ok8 items
compared_lines
4,794
duplicated_lines
295
duplicated_share
6.2%
files
17
Lintok
category:correctness
1
findings
1
scanned_lines
6,853
weighted_findings
0.25
Tests and CIok2 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI runs tests (go test, cargo test)
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
yes
check:has_tests
yes
check:test_ratio
no
check:tests_cochange
no
ci_files
1
cochange_commits
45
cochange_share
2.2%
source_lines
6,853
test_lines
59
test_ratio
0.01
Documentationok2 items
  • README.md README.md
  • LICENSE LICENSE
check:changelog
no
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
95
Type safetyskipped

Security

76 adequate

Security posture is adequate: 9 known vulnerabilities in 9 dependencies; 1 high-severity workflow issues. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)98
  • Vulnerable dependencies64
  • CI workflows77
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
12
declared
12
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
2
findings_high
0
findings_low
2
findings_medium
0
parse_errors
0
scanned_lines
6,853
weighted_findings
0.50
Dependencies (osv-scanner)ok
penalty
27
vulnerabilities
9
vulnerable_packages
9
vulns_critical
0
vulns_high
0
vulns_low
0
vulns_medium
1
vulns_unknown
8
CI workflows (zizmor)ok
findings
3
findings_high
1
findings_low
0
findings_medium
2
penalty
15.60
workflows
1
Security postureok2 items
  • crates/speakerctrl-core/Cargo.toml has no lockfile alongside it (unpinned dependencies) crates/speakerctrl-core/Cargo.toml
  • crates/speakerctrl-daemon/Cargo.toml has no lockfile alongside it (unpinned dependencies) crates/speakerctrl-daemon/Cargo.toml
check:dependency_updates
no
check:lockfiles
no
check:security_policy
no
check:signed_commits
no
signed_commit_share
3.1%
unpinned_manifests
2
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

1 high11 medium3 low

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:18 unpinned action reference [confidence high] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:13 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/ci.yml:18 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium osv/GHSA-434x-w66g-qw3r Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0007, GHSA-434x-w66g-qw3r Dependencies (osv-scanner)
medium osv/GHSA-cq8v-f236-94qc Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0097, GHSA-cq8v-f236-94qc Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0221 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0221 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0370 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0370 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0371 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0371 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0372 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0372 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0386 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0386 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0441 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0441 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0486 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0486 Dependencies (osv-scanner)
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command build_package.sh:51 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/rust.lang.security.temp-dir crates/speakerctrl-core/src/persist.rs:296 temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... Static analysis (opengrep)
low opengrep/rust.lang.security.temp-dir crates/speakerctrl-daemon/src/network.rs:1441 temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... Static analysis (opengrep)

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 f1d2b562b4141
Tests and CICode qualityok—0
Type safetyCode qualityskipped—0
CI workflows (zizmor)Securityokzizmor 1.32.03
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.19
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4142
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-14626df5578456prov-5+qual-2+sec-20%7376
2026-11-14626df5578456prov-4+qual-2+sec-20%7376

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/thade/speakerctrl/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/thade/speakerctrl/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/thade/speakerctrl/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/thade/speakerctrl/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/thade/speakerctrl/security.svg)](https://repotrust.synapticcyber.com/r/github.com/thade/speakerctrl/)
Full text report
  • Repository: https://github.com/thade/speakerctrl
  • Commit: 626df55784566ee47e49d4d9228a8582f0a14bc9
  • Generated: 2026-11-14T14:52:07+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 explicit 86% 100%
Code quality 73 adequate 90% 100%
Security 76 adequate 85% 100%

AI provenance

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

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
AI tool Attributed commits Lines added
Claude Code 6 2
  • AI tooling configured in repo: generic-agent

Current source lines last changed by AI-attributed commits: 2 of 6,853.

Too few lines in one group to compare finding densities.

  • Stylometry index: 1.90 per 1,000 lines (narrated steps 1, placeholders 6, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
Month Lines added Attributed to AI
2026-01 8,385 0%
2026-02 2 100%

Evidence

  • Claude Code: trailer 'Co-Authored-By: Claude' (626df5578456)
  • Claude Code: trailer 'Co-Authored-By: Claude' (7e8cc8b991ed)
  • Claude Code: trailer 'Co-Authored-By: Claude' (d1e1c4faca5a)
  • Claude Code: trailer 'Co-Authored-By: Claude' (27c0b5062f5d)
  • Claude Code: trailer 'Co-Authored-By: Claude' (a08d97929eb2)
  • Claude Code: trailer 'Co-Authored-By: Claude' (f2a26d81cac5)
  • AGENTS.md (generic-agent configuration) (AGENTS.md)
  • step-by-step narration comment: // First, try to find a preferred output that's available (crates/speak)
  • placeholder or demo-only phrasing: // In a real implementation, we would: (crates/speak)
  • placeholder or demo-only phrasing: // In a real implementation, this would: (crates/speak)
  • placeholder or demo-only phrasing: // In a real scenario, we'd try to restart the service and check if it comes back up (crates/speak)
  • placeholder or demo-only phrasing: // In a real implementation, this would use systemd to restart the service (crates/speak)
  • placeholder or demo-only phrasing: // This is a placeholder implementation (crates/speak)
  • placeholder or demo-only phrasing: // In a real system, we would use systemd commands to restart the service (crates/speak)

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.01, CI runs tests; 7% of function code in complex or long functions; 6% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 82
Duplication 69
Code smells (Opengrep) 99
Tests and CI 56
Documentation 65
Type safety n/a
Process (Scorecard review/maintenance) n/a
  • Functions: 368; mean complexity 2.8, 90th percentile 6; 2 complex and 2 long functions
  • Duplicated lines: 6.2% of 4,794 compared
  • Tests: 59 test lines for 6,853 source lines (ratio 0.01); CI test commands: go test, cargo test; 2% of recent source commits also change tests
  • Docs missing or thin: contributing, changelog

Most complex functions:

Security

Security posture is adequate: 9 known vulnerabilities in 9 dependencies; 1 high-severity workflow issues. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 98
Vulnerable dependencies (OSV) 64
CI workflows (zizmor) 77
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Known vulnerabilities: 9 in 9 packages (critical 0, high 0, medium 1, low 0)

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

Top findings

Severity Finding Location
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:18
medium osv/GHSA-434x-w66g-qw3r: [email protected] (crates.io) is affected by RUSTSEC-2026-0007, GHSA-434x-w66g-qw3r Cargo.lock
medium osv/RUSTSEC-2026-0221: [email protected] (crates.io) is affected by RUSTSEC-2026-0221 Cargo.lock
medium osv/RUSTSEC-2026-0441: [email protected] (crates.io) is affected by RUSTSEC-2026-0441 Cargo.lock
medium osv/GHSA-cq8v-f236-94qc: [email protected] (crates.io) is affected by RUSTSEC-2026-0097, GHSA-cq8v-f236-94qc Cargo.lock
medium osv/RUSTSEC-2026-0486: [email protected] (crates.io) is affected by RUSTSEC-2026-0486 Cargo.lock
medium osv/RUSTSEC-2026-0386: [email protected] (crates.io) is affected by RUSTSEC-2026-0386 Cargo.lock
medium osv/RUSTSEC-2026-0371: [email protected] (crates.io) is affected by RUSTSEC-2026-0371 Cargo.lock
medium osv/RUSTSEC-2026-0370: [email protected] (crates.io) is affected by RUSTSEC-2026-0370 Cargo.lock
medium osv/RUSTSEC-2026-0372: [email protected] (crates.io) is affected by RUSTSEC-2026-0372 Cargo.lock
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/ci.yml:18
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:13
low opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] crates/speakerctrl-core/src/persist.rs:296
low opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] crates/speakerctrl-daemon/src/network.rs:1441

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: 6,853; test lines: 59
Language Lines
Rust 6,802
Shell 110